Interface DateHistogramGroupSource.Interval
- All Superinterfaces:
org.elasticsearch.xcontent.ToXContent
,org.elasticsearch.xcontent.ToXContentFragment
- All Known Implementing Classes:
DateHistogramGroupSource.CalendarInterval
,DateHistogramGroupSource.FixedInterval
- Enclosing class:
- DateHistogramGroupSource
public static interface DateHistogramGroupSource.Interval
extends org.elasticsearch.xcontent.ToXContentFragment
Interval can be specified in 2 ways:
fixed_interval fixed intervals like 1h, 1m, 1d
calendar_interval calendar aware intervals like 1M, 1Y, ...
Note: transform does not support the deprecated interval option
-
Nested Class Summary
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
-
Method Summary
Methods inherited from interface org.elasticsearch.xcontent.ToXContent
toXContent
Methods inherited from interface org.elasticsearch.xcontent.ToXContentFragment
isFragment
-
Method Details
-
getName
String getName() -
getInterval
DateHistogramInterval getInterval()
-