Module org.elasticsearch.xcore
Class GroupConfig
java.lang.Object
org.elasticsearch.xpack.core.transform.transforms.pivot.GroupConfig
- 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
ConstructorsConstructorDescriptionGroupConfig(Map<String, Object> source, Map<String, SingleGroupSource> groups) -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckForDeprecations(String id, NamedXContentRegistry namedXContentRegistry, Consumer<DeprecationIssue> onDeprecation) booleanstatic GroupConfigfromXContent(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
-
GroupConfig
-
GroupConfig
- Throws:
IOException
-
-
Method Details
-
getGroups
-
getUsedNames
-
validate
public ActionRequestValidationException validate(ActionRequestValidationException validationException) -
checkForDeprecations
public void checkForDeprecations(String id, NamedXContentRegistry namedXContentRegistry, Consumer<DeprecationIssue> onDeprecation) -
writeTo
- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceToXContent- Throws:
IOException
-
equals
-
hashCode
public int hashCode() -
fromXContent
- Throws:
IOException
-