public class HistogramAggregationBuilder extends AbstractHistogramBuilder<HistogramAggregationBuilder>
ValuesSourceAggregationBuilder.LeafOnly<VS extends ValuesSource,AB extends ValuesSourceAggregationBuilder<VS,AB>>
AggregationBuilder.CommonFields
Writeable.Reader<R>
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
Modifier and Type | Field and Description |
---|---|
static ParseField |
AGGREGATION_NAME_FIELD |
static java.lang.String |
NAME |
extendedBounds, interval, keyed, minDocCount, offset, order
config
metaData
factoriesBuilder, name, type
EMPTY_PARAMS
Constructor and Description |
---|
HistogramAggregationBuilder(StreamInput in)
Read from a stream.
|
HistogramAggregationBuilder(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getWriteableName()
Returns the name of the writeable object
|
protected HistogramAggregatorFactory |
innerBuild(AggregationContext context,
ValuesSourceConfig<ValuesSource.Numeric> config,
AggregatorFactory<?> parent,
AggregatorFactories.Builder subFactoriesBuilder) |
doXContentBody, doXContentInterval, extendedBounds, extendedBounds, innerEquals, innerHashCode, innerWriteTo, interval, interval, keyed, keyed, minDocCount, minDocCount, offset, offset, order, order
config, doBuild, doEquals, doHashCode, doWriteTo, field, field, format, format, internalXContent, missing, missing, resolveConfig, script, script, serializeTargetValueType, timeZone, timeZone, valueType, valueType
build, equals, getType, hashCode, setMetaData, subAggregation, subAggregation, subAggregations, toXContent, writeTo
getName
buildAsBytes, buildAsBytes, toString
public static final java.lang.String NAME
public static final ParseField AGGREGATION_NAME_FIELD
public HistogramAggregationBuilder(java.lang.String name)
public HistogramAggregationBuilder(StreamInput in) throws java.io.IOException
java.io.IOException
protected HistogramAggregatorFactory innerBuild(AggregationContext context, ValuesSourceConfig<ValuesSource.Numeric> config, AggregatorFactory<?> parent, AggregatorFactories.Builder subFactoriesBuilder) throws java.io.IOException
innerBuild
in class ValuesSourceAggregationBuilder<ValuesSource.Numeric,HistogramAggregationBuilder>
java.io.IOException
public java.lang.String getWriteableName()
NamedWriteable
getWriteableName
in interface NamedWriteable
getWriteableName
in class AbstractHistogramBuilder<HistogramAggregationBuilder>