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 Classes Modifier and Type Class Description static classHistogramGroupSource.BuilderNested 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
Fields Modifier and Type Field Description protected static org.elasticsearch.common.ParseFieldINTERVALFields 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 Type Method Description static HistogramGroupSource.Builderbuilder()booleanequals(java.lang.Object other)static HistogramGroupSourcefromXContent(org.elasticsearch.common.xcontent.XContentParser parser)doublegetInterval()SingleGroupSource.TypegetType()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.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 java.io.IOException- Specified by:
toXContentin interfaceorg.elasticsearch.common.xcontent.ToXContent- Throws:
java.io.IOException
-
equals
public boolean equals(java.lang.Object other)- Overrides:
equalsin classSingleGroupSource
-
hashCode
public int hashCode()- Overrides:
hashCodein classSingleGroupSource
-
builder
-