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 Object
implements org.elasticsearch.common.xcontent.ToXContentObject
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
org.elasticsearch.common.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.common.xcontent.ToXContent.MapParams, org.elasticsearch.common.xcontent.ToXContent.Params
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected static org.elasticsearch.common.xcontent.ParseField
protected static org.elasticsearch.common.xcontent.ParseField
protected boolean
protected org.elasticsearch.script.Script
protected static org.elasticsearch.common.xcontent.ParseField
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
-
Constructor Summary
ConstructorDescriptionSingleGroupSource(String field, org.elasticsearch.script.Script script, boolean missingBucket)
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getField()
boolean
org.elasticsearch.script.Script
abstract SingleGroupSource.Type
getType()
int
hashCode()
protected void
innerXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params)
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContent
toXContent
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContentObject
isFragment
-
Field Details
-
FIELD
protected static final org.elasticsearch.common.xcontent.ParseField FIELD -
SCRIPT
protected static final org.elasticsearch.common.xcontent.ParseField SCRIPT -
MISSING_BUCKET
protected static final org.elasticsearch.common.xcontent.ParseField MISSING_BUCKET -
field
-
script
protected final org.elasticsearch.script.Script script -
missingBucket
protected final boolean missingBucket
-
-
Constructor Details
-
SingleGroupSource
public SingleGroupSource(String field, org.elasticsearch.script.Script script, boolean missingBucket)
-
-
Method Details
-
getType
-
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 IOException- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-