Class GroupConfig
java.lang.Object
org.elasticsearch.client.transform.transforms.pivot.GroupConfig
- All Implemented Interfaces:
org.elasticsearch.xcontent.ToXContent
,org.elasticsearch.xcontent.ToXContentObject
Class describing how to group data
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
org.elasticsearch.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.xcontent.ToXContent.MapParams, org.elasticsearch.xcontent.ToXContent.Params
-
Field Summary
Fields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY_PARAMS
-
Method Summary
Modifier and TypeMethodDescriptionstatic GroupConfig.Builder
builder()
boolean
static GroupConfig
fromXContent
(org.elasticsearch.xcontent.XContentParser parser) Leniently parse aGroupConfig
.int
hashCode()
toString()
org.elasticsearch.xcontent.XContentBuilder
toXContent
(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Method Details
-
fromXContent
public static GroupConfig fromXContent(org.elasticsearch.xcontent.XContentParser parser) throws IOException Leniently parse aGroupConfig
. Parsing is lenient in that unknown fields in the root of the object are ignored. Unknown group typesSingleGroupSource.Type
will cause a parsing error.- Parameters:
parser
- The XContent parser- Returns:
- The parsed object
- Throws:
IOException
- On parsing error
-
getGroups
-
toXContent
public org.elasticsearch.xcontent.XContentBuilder toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException - Specified by:
toXContent
in interfaceorg.elasticsearch.xcontent.ToXContent
- Throws:
IOException
-
equals
-
hashCode
public int hashCode() -
toString
-
builder
-