Class ArrayValuesSourceAggregationBuilder.LeafOnly<AB extends ArrayValuesSourceAggregationBuilder<AB>>
- java.lang.Object
-
- org.opensearch.search.aggregations.AggregationBuilder
-
- org.opensearch.search.aggregations.AbstractAggregationBuilder<AB>
-
- org.opensearch.search.aggregations.support.ArrayValuesSourceAggregationBuilder<AB>
-
- org.opensearch.search.aggregations.support.ArrayValuesSourceAggregationBuilder.LeafOnly<AB>
-
- All Implemented Interfaces:
NamedWriteable,Writeable,ToXContent,ToXContentFragment,Rewriteable<AggregationBuilder>,BaseAggregationBuilder
- Direct Known Subclasses:
MatrixStatsAggregationBuilder
- Enclosing class:
- ArrayValuesSourceAggregationBuilder<AB extends ArrayValuesSourceAggregationBuilder<AB>>
public abstract static class ArrayValuesSourceAggregationBuilder.LeafOnly<AB extends ArrayValuesSourceAggregationBuilder<AB>> extends ArrayValuesSourceAggregationBuilder<AB>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.opensearch.search.aggregations.support.ArrayValuesSourceAggregationBuilder
ArrayValuesSourceAggregationBuilder.LeafOnly<AB extends ArrayValuesSourceAggregationBuilder<AB>>
-
Nested classes/interfaces inherited from class org.opensearch.search.aggregations.AggregationBuilder
AggregationBuilder.BucketCardinality, AggregationBuilder.CommonFields
-
Nested classes/interfaces inherited from interface org.opensearch.common.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
-
Nested classes/interfaces inherited from interface org.opensearch.common.io.stream.Writeable
Writeable.Reader<V extends java.lang.Object>, Writeable.Writer<V extends java.lang.Object>
-
-
Field Summary
-
Fields inherited from class org.opensearch.search.aggregations.support.ArrayValuesSourceAggregationBuilder
MULTIVALUE_MODE_FIELD
-
Fields inherited from class org.opensearch.search.aggregations.AbstractAggregationBuilder
metadata
-
Fields inherited from class org.opensearch.search.aggregations.AggregationBuilder
factoriesBuilder, name
-
Fields inherited from interface org.opensearch.index.query.Rewriteable
MAX_REWRITE_ROUNDS
-
Fields inherited from interface org.opensearch.common.xcontent.ToXContent
EMPTY_PARAMS
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedLeafOnly(java.lang.String name)protectedLeafOnly(StreamInput in)Read from a streamprotectedLeafOnly(ArrayValuesSourceAggregationBuilder.LeafOnly<AB> clone, AggregatorFactories.Builder factoriesBuilder, java.util.Map<java.lang.String,java.lang.Object> metadata)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AggregationBuilder.BucketCardinalitybucketCardinality()ABsubAggregations(AggregatorFactories.Builder subFactories)-
Methods inherited from class org.opensearch.search.aggregations.support.ArrayValuesSourceAggregationBuilder
doBuild, doWriteTo, doXContentBody, equals, fields, fields, format, format, hashCode, innerBuild, innerWriteTo, internalXContent, missingMap, missingMap, resolveConfig
-
Methods inherited from class org.opensearch.search.aggregations.AbstractAggregationBuilder
build, getMetadata, getWriteableName, setMetadata, subAggregation, subAggregation, toXContent, writeTo
-
Methods inherited from class org.opensearch.search.aggregations.AggregationBuilder
buildPipelineTree, doRewrite, getName, getPipelineAggregations, getSubAggregations, rewrite, shallowCopy, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.opensearch.search.aggregations.BaseAggregationBuilder
getType
-
Methods inherited from interface org.opensearch.common.xcontent.ToXContentFragment
isFragment
-
-
-
-
Constructor Detail
-
LeafOnly
protected LeafOnly(java.lang.String name)
-
LeafOnly
protected LeafOnly(ArrayValuesSourceAggregationBuilder.LeafOnly<AB> clone, AggregatorFactories.Builder factoriesBuilder, java.util.Map<java.lang.String,java.lang.Object> metadata)
-
LeafOnly
protected LeafOnly(StreamInput in) throws java.io.IOException
Read from a stream- Throws:
java.io.IOException
-
-
Method Detail
-
subAggregations
public AB subAggregations(AggregatorFactories.Builder subFactories)
- Specified by:
subAggregationsin interfaceBaseAggregationBuilder- Overrides:
subAggregationsin classAbstractAggregationBuilder<AB extends ArrayValuesSourceAggregationBuilder<AB>>
-
bucketCardinality
public final AggregationBuilder.BucketCardinality bucketCardinality()
- Specified by:
bucketCardinalityin classAggregationBuilder
-
-