public class StatsAggregatorBuilder extends ValuesSourceAggregatorBuilder.LeafOnly<ValuesSource.Numeric,StatsAggregatorBuilder>
ValuesSourceAggregatorBuilder.LeafOnly<VS extends ValuesSource,AB extends ValuesSourceAggregatorBuilder<VS,AB>>
Writeable.Reader<R>
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
config
factoriesBuilder, metaData, name, type
EMPTY_PARAMS
Constructor and Description |
---|
StatsAggregatorBuilder(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
XContentBuilder |
doXContentBody(XContentBuilder builder,
ToXContent.Params params) |
protected StatsAggregatorFactory |
innerBuild(AggregationContext context,
ValuesSourceConfig<ValuesSource.Numeric> config,
AggregatorFactory<?> parent,
AggregatorFactories.Builder subFactoriesBuilder) |
protected boolean |
innerEquals(java.lang.Object obj) |
protected int |
innerHashCode() |
protected StatsAggregatorBuilder |
innerReadFrom(java.lang.String name,
ValuesSourceType valuesSourceType,
ValueType targetValueType,
StreamInput in) |
protected void |
innerWriteTo(StreamOutput out) |
subAggregations
config, doBuild, doEquals, doHashCode, doReadFrom, doWriteTo, field, field, format, format, internalXContent, missing, missing, resolveConfig, script, script, timeZone, timeZone, valueType, valueType
build, equals, getType, getWriteableName, hashCode, readFrom, setMetaData, subAggregation, subAggregation, toXContent, writeTo
buildAsBytes, buildAsBytes, toString
protected StatsAggregatorFactory innerBuild(AggregationContext context, ValuesSourceConfig<ValuesSource.Numeric> config, AggregatorFactory<?> parent, AggregatorFactories.Builder subFactoriesBuilder) throws java.io.IOException
innerBuild
in class ValuesSourceAggregatorBuilder<ValuesSource.Numeric,StatsAggregatorBuilder>
java.io.IOException
protected StatsAggregatorBuilder innerReadFrom(java.lang.String name, ValuesSourceType valuesSourceType, ValueType targetValueType, StreamInput in)
innerReadFrom
in class ValuesSourceAggregatorBuilder<ValuesSource.Numeric,StatsAggregatorBuilder>
protected void innerWriteTo(StreamOutput out)
innerWriteTo
in class ValuesSourceAggregatorBuilder<ValuesSource.Numeric,StatsAggregatorBuilder>
public XContentBuilder doXContentBody(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
doXContentBody
in class ValuesSourceAggregatorBuilder<ValuesSource.Numeric,StatsAggregatorBuilder>
java.io.IOException
protected int innerHashCode()
innerHashCode
in class ValuesSourceAggregatorBuilder<ValuesSource.Numeric,StatsAggregatorBuilder>
protected boolean innerEquals(java.lang.Object obj)
innerEquals
in class ValuesSourceAggregatorBuilder<ValuesSource.Numeric,StatsAggregatorBuilder>