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 class
HistogramGroupSource.Builder
Nested classes/interfaces inherited from class org.elasticsearch.client.transform.transforms.pivot.SingleGroupSource
SingleGroupSource.Type
-
Field Summary
Fields Modifier and Type Field Description protected static org.elasticsearch.common.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(org.elasticsearch.common.xcontent.XContentParser parser)
double
getInterval()
SingleGroupSource.Type
getType()
int
hashCode()
org.elasticsearch.common.xcontent.XContentBuilder
toXContent(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, getScript, innerXContent
-
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:
getType
in 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:
toXContent
in interfaceorg.elasticsearch.common.xcontent.ToXContent
- 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
-