Module org.elasticsearch.xcore
Class SingleGroupSource
java.lang.Object
org.elasticsearch.xpack.core.transform.transforms.pivot.SingleGroupSource
- All Implemented Interfaces:
Writeable,org.elasticsearch.xcontent.ToXContent,org.elasticsearch.xcontent.ToXContentObject
- Direct Known Subclasses:
DateHistogramGroupSource,GeoTileGroupSource,HistogramGroupSource,TermsGroupSource
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
org.elasticsearch.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.xcontent.ToXContent.MapParams, org.elasticsearch.xcontent.ToXContent.ParamsNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Stringprotected static final org.elasticsearch.xcontent.ParseFieldprotected static final org.elasticsearch.xcontent.ParseFieldprotected final booleanprotected static final org.elasticsearch.xcontent.ParseFieldprotected final ScriptConfigFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Constructor Summary
ConstructorsConstructorDescriptionSingleGroupSource(String field, ScriptConfig scriptConfig, boolean missingBucket) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetField()booleanabstract SingleGroupSource.TypegetType()inthashCode()protected voidinnerXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) toString()org.elasticsearch.xcontent.XContentBuildertoXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) voidwriteTo(StreamOutput out) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Field Details
-
FIELD
protected static final org.elasticsearch.xcontent.ParseField FIELD -
SCRIPT
protected static final org.elasticsearch.xcontent.ParseField SCRIPT -
MISSING_BUCKET
protected static final org.elasticsearch.xcontent.ParseField MISSING_BUCKET -
field
-
scriptConfig
-
missingBucket
protected final boolean missingBucket
-
-
Constructor Details
-
SingleGroupSource
-
SingleGroupSource
- Throws:
IOException
-
-
Method Details
-
toXContent
public org.elasticsearch.xcontent.XContentBuilder toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceorg.elasticsearch.xcontent.ToXContent- Throws:
IOException
-
innerXContent
protected void innerXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException - Throws:
IOException
-
writeTo
- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
getType
-
getField
-
getScriptConfig
-
getMissingBucket
public boolean getMissingBucket() -
equals
-
hashCode
public int hashCode() -
toString
-
getMappingType
- Returns:
- The preferred mapping type if it exists. Is nullable.
-