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
-
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
-
-
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
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContentObject
isFragment
-
-
-
-
Field Detail
-
INTERVAL
protected static final ParseField INTERVAL
-
-
Method Detail
-
fromXContent
public static HistogramGroupSource fromXContent(XContentParser parser)
-
getType
public SingleGroupSource.Type 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
public static HistogramGroupSource.Builder builder()
-
-