Class HistogramGroupSource
java.lang.Object
org.elasticsearch.client.transform.transforms.pivot.SingleGroupSource
org.elasticsearch.client.transform.transforms.pivot.HistogramGroupSource
- All Implemented Interfaces:
ToXContent,ToXContentObject
public class HistogramGroupSource extends SingleGroupSource implements 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
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params -
Field Summary
Fields Modifier and Type Field Description protected static ParseFieldINTERVALFields inherited from class org.elasticsearch.client.transform.transforms.pivot.SingleGroupSource
field, FIELD -
Method Summary
Modifier and Type Method Description static HistogramGroupSource.Builderbuilder()booleanequals(java.lang.Object other)static HistogramGroupSourcefromXContent(XContentParser parser)doublegetInterval()SingleGroupSource.TypegetType()inthashCode()XContentBuildertoXContent(XContentBuilder builder, ToXContent.Params params)Methods inherited from class org.elasticsearch.client.transform.transforms.pivot.SingleGroupSource
getField
-
Field Details
-
Method Details
-
fromXContent
-
getType
- Specified by:
getTypein classSingleGroupSource
-
getInterval
public double getInterval() -
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException- Specified by:
toXContentin interfaceToXContent- Throws:
java.io.IOException
-
equals
public boolean equals(java.lang.Object other)- Overrides:
equalsin classSingleGroupSource
-
hashCode
public int hashCode()- Overrides:
hashCodein classSingleGroupSource
-
builder
-