Class DateHistogramGroupSource
- java.lang.Object
-
- org.elasticsearch.client.dataframe.transforms.pivot.SingleGroupSource
-
- org.elasticsearch.client.dataframe.transforms.pivot.DateHistogramGroupSource
-
- All Implemented Interfaces:
ToXContent,ToXContentObject
public class DateHistogramGroupSource extends SingleGroupSource implements ToXContentObject
A grouping via a date histogram aggregation referencing a timefield
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDateHistogramGroupSource.Builderstatic classDateHistogramGroupSource.CalendarIntervalstatic classDateHistogramGroupSource.FixedIntervalstatic interfaceDateHistogramGroupSource.IntervalInterval can be specified in 2 ways: fixed_interval fixed intervals like 1h, 1m, 1d calendar_interval calendar aware intervals like 1M, 1Y, ...-
Nested classes/interfaces inherited from class org.elasticsearch.client.dataframe.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 inherited from class org.elasticsearch.client.dataframe.transforms.pivot.SingleGroupSource
field, FIELD
-
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
-
-
Method Summary
Modifier and Type Method Description static DateHistogramGroupSource.Builderbuilder()booleanequals(java.lang.Object other)static DateHistogramGroupSourcefromXContent(XContentParser parser)DateHistogramGroupSource.IntervalgetInterval()java.time.ZoneIdgetTimeZone()SingleGroupSource.TypegetType()inthashCode()XContentBuildertoXContent(XContentBuilder builder, ToXContent.Params params)-
Methods inherited from class org.elasticsearch.client.dataframe.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
-
-
-
-
Method Detail
-
fromXContent
public static DateHistogramGroupSource fromXContent(XContentParser parser)
-
getType
public SingleGroupSource.Type getType()
- Specified by:
getTypein classSingleGroupSource
-
getInterval
public DateHistogramGroupSource.Interval getInterval()
-
getTimeZone
public java.time.ZoneId getTimeZone()
-
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
public static DateHistogramGroupSource.Builder builder()
-
-