Class SingleGroupSource
java.lang.Object
org.elasticsearch.client.transform.transforms.pivot.SingleGroupSource
- All Implemented Interfaces:
ToXContent
,ToXContentObject
- Direct Known Subclasses:
DateHistogramGroupSource
,HistogramGroupSource
,TermsGroupSource
public abstract class SingleGroupSource extends java.lang.Object implements ToXContentObject
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SingleGroupSource.Type
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
field
protected static ParseField
FIELD
protected Script
script
protected static ParseField
SCRIPT
-
Constructor Summary
Constructors Constructor Description SingleGroupSource(java.lang.String field, Script script)
-
Method Summary
Modifier and Type Method Description boolean
equals(java.lang.Object other)
java.lang.String
getField()
Script
getScript()
abstract SingleGroupSource.Type
getType()
int
hashCode()
protected void
innerXContent(XContentBuilder builder, ToXContent.Params params)
-
Field Details
-
Constructor Details
-
Method Details
-
getType
-
getField
public java.lang.String getField() -
getScript
-
innerXContent
protected void innerXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException- Throws:
java.io.IOException
-
equals
public boolean equals(java.lang.Object other)- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-