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 classSingleGroupSource.TypeNested 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.Stringfieldprotected static ParseFieldFIELDprotected Scriptscriptprotected static ParseFieldSCRIPT -
Constructor Summary
Constructors Constructor Description SingleGroupSource(java.lang.String field, Script script) -
Method Summary
Modifier and Type Method Description booleanequals(java.lang.Object other)java.lang.StringgetField()ScriptgetScript()abstract SingleGroupSource.TypegetType()inthashCode()protected voidinnerXContent(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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-