public class DateHistogramAggregatorFactory extends AbstractHistogramAggregatorFactory<DateHistogramAggregatorFactory>
AggregatorFactory.MultiBucketAggregatorWrapper
Modifier and Type | Field and Description |
---|---|
static java.util.Map<java.lang.String,DateTimeUnit> |
DATE_FIELD_UNITS |
extendedBounds, interval, keyed, minDocCount, offset, order
config
Constructor and Description |
---|
DateHistogramAggregatorFactory(java.lang.String name,
InternalAggregation.Type type,
ValuesSourceConfig<ValuesSource.Numeric> config,
long interval,
DateHistogramInterval dateHistogramInterval,
long offset,
org.elasticsearch.search.aggregations.bucket.histogram.InternalOrder order,
boolean keyed,
long minDocCount,
ExtendedBounds extendedBounds,
AggregationContext context,
AggregatorFactory<?> parent,
AggregatorFactories.Builder subFactoriesBuilder,
java.util.Map<java.lang.String,java.lang.Object> metaData) |
Modifier and Type | Method and Description |
---|---|
protected Rounding |
createRounding() |
createUnmapped, doCreateInternal, minDocCount
createInternal, timeZone
asMultiBucketAggregator, create, doValidate, getType, name, validate
public static final java.util.Map<java.lang.String,DateTimeUnit> DATE_FIELD_UNITS
public DateHistogramAggregatorFactory(java.lang.String name, InternalAggregation.Type type, ValuesSourceConfig<ValuesSource.Numeric> config, long interval, DateHistogramInterval dateHistogramInterval, long offset, org.elasticsearch.search.aggregations.bucket.histogram.InternalOrder order, boolean keyed, long minDocCount, ExtendedBounds extendedBounds, AggregationContext context, AggregatorFactory<?> parent, AggregatorFactories.Builder subFactoriesBuilder, java.util.Map<java.lang.String,java.lang.Object> metaData) throws java.io.IOException
java.io.IOException
protected Rounding createRounding()
createRounding
in class AbstractHistogramAggregatorFactory<DateHistogramAggregatorFactory>