Interface DateHistogramGroupSource.Interval
-
- All Superinterfaces:
ToXContent
,ToXContentFragment
- All Known Implementing Classes:
DateHistogramGroupSource.CalendarInterval
,DateHistogramGroupSource.FixedInterval
- Enclosing class:
- DateHistogramGroupSource
public static interface DateHistogramGroupSource.Interval extends 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.common.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
-
-
Field Summary
-
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
-
-
Method Summary
Modifier and Type Method Description DateHistogramInterval
getInterval()
java.lang.String
getName()
-
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContent
toXContent
-
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContentFragment
isFragment
-
-
-
-
Method Detail
-
getName
java.lang.String getName()
-
getInterval
DateHistogramInterval getInterval()
-
-