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
,org.elasticsearch.xcontent.ToXContent
,org.elasticsearch.xcontent.ToXContentObject
- Enclosing class:
- 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.xcontent.ToXContent
org.elasticsearch.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.xcontent.ToXContent.MapParams, org.elasticsearch.xcontent.ToXContent.Params
-
Field Summary
Fields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY_PARAMS
Fields inherited from interface org.elasticsearch.client.Validatable
EMPTY
-
Constructor Summary
ConstructorDescriptionFixedInterval
(String field, DateHistogramInterval interval) FixedInterval
(String field, DateHistogramInterval interval, DateHistogramInterval delay, 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.xcontent.ToXContentObject
isFragment
-
Constructor Details
-
FixedInterval
-
FixedInterval
public FixedInterval(String field, DateHistogramInterval interval, DateHistogramInterval delay, String timeZone)
-