public abstract static class ValuesSourceAggregationBuilder.LeafOnly<VS extends ValuesSource,AB extends ValuesSourceAggregationBuilder<VS,AB>> extends ValuesSourceAggregationBuilder<VS,AB>
ValuesSourceAggregationBuilder.LeafOnly<VS extends ValuesSource,AB extends ValuesSourceAggregationBuilder<VS,AB>>AggregationBuilder.CommonFieldsWriteable.Reader<V>, Writeable.Writer<V>ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsconfigmetaDatafactoriesBuilder, nameEMPTY_PARAMS| Modifier | Constructor and Description |
|---|---|
protected |
LeafOnly(StreamInput in,
ValuesSourceType valuesSourceType)
Read an aggregation from a stream that serializes its targetValueType.
|
protected |
LeafOnly(StreamInput in,
ValuesSourceType valuesSourceType,
ValueType targetValueType)
Read an aggregation from a stream that does not serialize its targetValueType.
|
protected |
LeafOnly(java.lang.String name,
ValuesSourceType valuesSourceType,
ValueType targetValueType) |
| Modifier and Type | Method and Description |
|---|---|
AB |
subAggregations(AggregatorFactories.Builder subFactories)
Registers sub-factories with this factory.
|
doBuild, doEquals, doHashCode, doWriteTo, doXContentBody, field, field, format, format, innerBuild, innerEquals, innerHashCode, innerWriteTo, internalXContent, missing, missing, resolveConfig, script, script, serializeTargetValueType, timeZone, timeZone, valueType, valueTypebuild, equals, getWriteableName, hashCode, setMetaData, subAggregation, subAggregation, toXContent, writeTogetNamebuildAsBytes, buildAsBytes, toString, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitisFragmentgetTypeprotected LeafOnly(java.lang.String name,
ValuesSourceType valuesSourceType,
ValueType targetValueType)
protected LeafOnly(StreamInput in, ValuesSourceType valuesSourceType, ValueType targetValueType) throws java.io.IOException
java.io.IOExceptionprotected LeafOnly(StreamInput in, ValuesSourceType valuesSourceType) throws java.io.IOException
ValuesSourceAggregationBuilder.serializeTargetValueType() to return true.java.io.IOExceptionpublic AB subAggregations(AggregatorFactories.Builder subFactories)
AbstractAggregationBuildersubAggregations in interface BaseAggregationBuildersubAggregations in class AbstractAggregationBuilder<AB extends ValuesSourceAggregationBuilder<VS,AB>>subFactories - The sub-factories