Module org.elasticsearch.xcore
Class AggregationConfig
java.lang.Object
org.elasticsearch.xpack.core.transform.transforms.pivot.AggregationConfig
- All Implemented Interfaces:
Writeable,ToXContent,ToXContentObject
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
Fields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Constructor Summary
ConstructorsConstructorDescriptionAggregationConfig(Map<String, Object> source, AggregatorFactories.Builder aggregations) -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckForDeprecations(String id, NamedXContentRegistry namedXContentRegistry, Consumer<DeprecationIssue> onDeprecation) booleanstatic AggregationConfigfromXContent(XContentParser parser, boolean lenient) inthashCode()toXContent(XContentBuilder builder, ToXContent.Params params) validate(ActionRequestValidationException validationException) voidwriteTo(StreamOutput out) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Constructor Details
-
AggregationConfig
-
AggregationConfig
- Throws:
IOException
-
-
Method Details
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceToXContent- Throws:
IOException
-
writeTo
- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
getAggregatorFactories
-
getPipelineAggregatorFactories
-
getUsedNames
-
fromXContent
public static AggregationConfig fromXContent(XContentParser parser, boolean lenient) throws IOException - Throws:
IOException
-
hashCode
public int hashCode() -
equals
-
validate
public ActionRequestValidationException validate(ActionRequestValidationException validationException) -
checkForDeprecations
public void checkForDeprecations(String id, NamedXContentRegistry namedXContentRegistry, Consumer<DeprecationIssue> onDeprecation)
-