Class DateHistogramGroupConfig.CalendarInterval
- java.lang.Object
-
- org.elasticsearch.client.rollup.job.config.DateHistogramGroupConfig
-
- org.elasticsearch.client.rollup.job.config.DateHistogramGroupConfig.CalendarInterval
-
- All Implemented Interfaces:
Validatable
,ToXContent
,ToXContentObject
- Enclosing class:
- DateHistogramGroupConfig
public static class DateHistogramGroupConfig.CalendarInterval extends DateHistogramGroupConfig
CalendarInterval is aDateHistogramGroupConfig
that uses calendar-aware intervals for rolling up data. Calendar time intervals understand leap corrections and contextual differences in certain calendar units (e.g. months are variable length depending on the month). Calendar units are only available in singular quantities: 1s, 1m, 1h, 1d, 1w, 1q, 1M, 1y For fixed time rollups, useDateHistogramGroupConfig.FixedInterval
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.elasticsearch.client.rollup.job.config.DateHistogramGroupConfig
DateHistogramGroupConfig.CalendarInterval, DateHistogramGroupConfig.FixedInterval
-
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
-
-
Field Summary
-
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
-
Fields inherited from interface org.elasticsearch.client.Validatable
EMPTY
-
-
Constructor Summary
Constructors Constructor Description CalendarInterval(java.lang.String field, DateHistogramInterval interval)
CalendarInterval(java.lang.String field, DateHistogramInterval interval, DateHistogramInterval delay, java.lang.String timeZone)
-
Method Summary
-
Methods inherited from class org.elasticsearch.client.rollup.job.config.DateHistogramGroupConfig
equals, fromXContent, getDelay, getField, getInterval, getTimeZone, hashCode, toXContent, validate
-
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
-
-
-
-
Constructor Detail
-
CalendarInterval
public CalendarInterval(java.lang.String field, DateHistogramInterval interval)
-
CalendarInterval
public CalendarInterval(java.lang.String field, DateHistogramInterval interval, DateHistogramInterval delay, java.lang.String timeZone)
-
-