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
Fields Modifier and Type Field Description protected java.lang.String
field
protected static org.elasticsearch.common.ParseField
FIELD
protected static org.elasticsearch.common.ParseField
MISSING_BUCKET
protected boolean
missingBucket
protected org.elasticsearch.script.Script
script
protected static org.elasticsearch.common.ParseField
SCRIPT
-
Constructor Summary
Constructors Constructor Description SingleGroupSource(java.lang.String field, org.elasticsearch.script.Script script, boolean missingBucket)
-
Method Summary
Modifier and Type Method Description boolean
equals(java.lang.Object other)
java.lang.String
getField()
boolean
getMissingBucket()
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
-
FIELD
protected static final org.elasticsearch.common.ParseField FIELD -
SCRIPT
protected static final org.elasticsearch.common.ParseField SCRIPT -
MISSING_BUCKET
protected static final org.elasticsearch.common.ParseField MISSING_BUCKET -
field
protected final java.lang.String field -
script
protected final org.elasticsearch.script.Script script -
missingBucket
protected final boolean missingBucket
-
-
Constructor Details
-
SingleGroupSource
public SingleGroupSource(java.lang.String field, org.elasticsearch.script.Script script, boolean missingBucket)
-
-
Method Details
-
getType
-
getField
public java.lang.String getField() -
getScript
public org.elasticsearch.script.Script getScript() -
getMissingBucket
public boolean getMissingBucket() -
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
-