Class DateHistogramGroupConfig.FixedInterval
java.lang.Object
org.elasticsearch.client.rollup.job.config.DateHistogramGroupConfig
org.elasticsearch.client.rollup.job.config.DateHistogramGroupConfig.FixedInterval
- All Implemented Interfaces:
Validatable
,ToXContent
,ToXContentObject
- Enclosing class:
- DateHistogramGroupConfig
public static class DateHistogramGroupConfig.FixedInterval extends DateHistogramGroupConfig
FixedInterval is a
DateHistogramGroupConfig
that uses a fixed time interval for rolling up data.
The fixed time interval is one or multiples of SI units and has no calendar-awareness (e.g. doesn't account
for leap corrections, does not have variable length months, etc).
For calendar-aware rollups, use DateHistogramGroupConfig.CalendarInterval
-
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
-
Constructor Summary
Constructors Constructor Description FixedInterval(java.lang.String field, DateHistogramInterval interval)
FixedInterval(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
-
Constructor Details
-
FixedInterval
-
FixedInterval
public FixedInterval(java.lang.String field, DateHistogramInterval interval, DateHistogramInterval delay, java.lang.String timeZone)
-