Class HistogramGroupSource
java.lang.Object
org.elasticsearch.client.transform.transforms.pivot.SingleGroupSource
org.elasticsearch.client.transform.transforms.pivot.HistogramGroupSource
- All Implemented Interfaces:
org.elasticsearch.common.xcontent.ToXContent,org.elasticsearch.common.xcontent.ToXContentObject
public class HistogramGroupSource
extends SingleGroupSource
implements org.elasticsearch.common.xcontent.ToXContentObject
A grouping via a histogram aggregation referencing a numeric field
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.elasticsearch.client.transform.transforms.pivot.SingleGroupSource
SingleGroupSource.TypeNested 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
FieldsModifier and TypeFieldDescriptionprotected static org.elasticsearch.common.xcontent.ParseFieldFields inherited from class org.elasticsearch.client.transform.transforms.pivot.SingleGroupSource
field, FIELD, MISSING_BUCKET, missingBucket, script, SCRIPTFields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS -
Method Summary
Modifier and TypeMethodDescriptionstatic HistogramGroupSource.Builderbuilder()booleanstatic HistogramGroupSourcefromXContent(org.elasticsearch.common.xcontent.XContentParser parser)doublegetType()inthashCode()org.elasticsearch.common.xcontent.XContentBuildertoXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params)Methods inherited from class org.elasticsearch.client.transform.transforms.pivot.SingleGroupSource
getField, getMissingBucket, getScript, innerXContentMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.common.xcontent.ToXContentObject
isFragment
-
Field Details
-
INTERVAL
protected static final org.elasticsearch.common.xcontent.ParseField INTERVAL
-
-
Method Details
-
fromXContent
public static HistogramGroupSource fromXContent(org.elasticsearch.common.xcontent.XContentParser parser) -
getType
- Specified by:
getTypein classSingleGroupSource
-
getInterval
public double getInterval() -
toXContent
public org.elasticsearch.common.xcontent.XContentBuilder toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws IOException- Specified by:
toXContentin interfaceorg.elasticsearch.common.xcontent.ToXContent- Throws:
IOException
-
equals
- Overrides:
equalsin classSingleGroupSource
-
hashCode
public int hashCode()- Overrides:
hashCodein classSingleGroupSource
-
builder
-