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 class
HistogramGroupSource.Builder
Nested classes/interfaces inherited from class org.elasticsearch.client.transform.transforms.pivot.SingleGroupSource
SingleGroupSource.Type
Nested 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 ParseField
INTERVAL
Fields inherited from class org.elasticsearch.client.transform.transforms.pivot.SingleGroupSource
field, FIELD, script, SCRIPT
-
Method Summary
Modifier and Type Method Description static HistogramGroupSource.Builder
builder()
boolean
equals(java.lang.Object other)
static HistogramGroupSource
fromXContent(XContentParser parser)
double
getInterval()
SingleGroupSource.Type
getType()
int
hashCode()
XContentBuilder
toXContent(XContentBuilder builder, ToXContent.Params params)
Methods inherited from class org.elasticsearch.client.transform.transforms.pivot.SingleGroupSource
getField, getScript, innerXContent
-
Field Details
-
Method Details
-
fromXContent
-
getType
- Specified by:
getType
in classSingleGroupSource
-
getInterval
public double getInterval() -
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException- Specified by:
toXContent
in interfaceToXContent
- Throws:
java.io.IOException
-
equals
public boolean equals(java.lang.Object other)- Overrides:
equals
in classSingleGroupSource
-
hashCode
public int hashCode()- Overrides:
hashCode
in classSingleGroupSource
-
builder
-