Module org.elasticsearch.xcore
Class PivotConfig
java.lang.Object
org.elasticsearch.xpack.core.transform.transforms.pivot.PivotConfig
- 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
ConstructorsConstructorDescriptionPivotConfig(GroupConfig groups, AggregationConfig aggregationConfig, Integer maxPageSearchSize) -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckForDeprecations(String id, NamedXContentRegistry namedXContentRegistry, Consumer<DeprecationIssue> onDeprecation) booleanstatic PivotConfigfromXContent(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
-
PivotConfig
public PivotConfig(GroupConfig groups, AggregationConfig aggregationConfig, Integer maxPageSearchSize) -
PivotConfig
- 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
-
getAggregationConfig
-
getGroupConfig
-
getMaxPageSearchSize
-
equals
-
hashCode
public int hashCode() -
validate
public ActionRequestValidationException validate(ActionRequestValidationException validationException) -
checkForDeprecations
public void checkForDeprecations(String id, NamedXContentRegistry namedXContentRegistry, Consumer<DeprecationIssue> onDeprecation) -
fromXContent
- Throws:
IOException
-