Class SingleGroupSource
java.lang.Object
org.elasticsearch.client.transform.transforms.pivot.SingleGroupSource
- All Implemented Interfaces:
org.elasticsearch.common.xcontent.ToXContent
,org.elasticsearch.common.xcontent.ToXContentObject
- Direct Known Subclasses:
DateHistogramGroupSource
,GeoTileGroupSource
,HistogramGroupSource
,TermsGroupSource
public abstract class SingleGroupSource
extends java.lang.Object
implements org.elasticsearch.common.xcontent.ToXContentObject
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SingleGroupSource.Type
-
Field Summary
-
Constructor Summary
Constructors Constructor Description SingleGroupSource(java.lang.String field, org.elasticsearch.script.Script script)
-
Method Summary
Modifier and Type Method Description boolean
equals(java.lang.Object other)
java.lang.String
getField()
org.elasticsearch.script.Script
getScript()
abstract SingleGroupSource.Type
getType()
int
hashCode()
protected void
innerXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params)
-
Field Details
-
Constructor Details
-
SingleGroupSource
public SingleGroupSource(java.lang.String field, org.elasticsearch.script.Script script)
-
-
Method Details
-
getType
-
getField
public java.lang.String getField() -
getScript
public org.elasticsearch.script.Script getScript() -
innerXContent
protected void innerXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.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
-