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, org.elasticsearch.xcontent.ToXContent, org.elasticsearch.xcontent.ToXContentObject
Enclosing class:
DateHistogramGroupConfig

public static class DateHistogramGroupConfig.CalendarInterval extends DateHistogramGroupConfig
CalendarInterval is a DateHistogramGroupConfig 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, use DateHistogramGroupConfig.FixedInterval
  • Constructor Details

    • CalendarInterval

      public CalendarInterval(String field, org.elasticsearch.search.aggregations.bucket.histogram.DateHistogramInterval interval)
    • CalendarInterval

      public CalendarInterval(String field, org.elasticsearch.search.aggregations.bucket.histogram.DateHistogramInterval interval, org.elasticsearch.search.aggregations.bucket.histogram.DateHistogramInterval delay, String timeZone)