Class GroupConfig
- java.lang.Object
-
- org.elasticsearch.client.dataframe.transforms.pivot.GroupConfig
-
- All Implemented Interfaces:
ToXContent,ToXContentObject
public class GroupConfig extends java.lang.Object implements ToXContentObject
Class describing how to group data
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGroupConfig.Builder-
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
-
-
Field Summary
-
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
-
-
Method Summary
Modifier and Type Method Description static GroupConfig.Builderbuilder()booleanequals(java.lang.Object other)static GroupConfigfromXContent(XContentParser parser)Leniently parse aGroupConfig.java.util.Map<java.lang.String,SingleGroupSource>getGroups()inthashCode()java.lang.StringtoString()XContentBuildertoXContent(XContentBuilder builder, ToXContent.Params params)-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContentObject
isFragment
-
-
-
-
Method Detail
-
fromXContent
public static GroupConfig fromXContent(XContentParser parser) throws java.io.IOException
Leniently parse aGroupConfig. Parsing is lenient in that unknown fields in the root of the object are ignored. Unknown group typesSingleGroupSource.Typewill cause a parsing error.- Parameters:
parser- The XContent parser- Returns:
- The parsed object
- Throws:
java.io.IOException- On parsing error
-
getGroups
public java.util.Map<java.lang.String,SingleGroupSource> getGroups()
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
- Specified by:
toXContentin interfaceToXContent- Throws:
java.io.IOException
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
builder
public static GroupConfig.Builder builder()
-
-