Class MatrixStatsAggregationBuilder
java.lang.Object
org.opensearch.search.aggregations.AggregationBuilder
org.opensearch.search.aggregations.AbstractAggregationBuilder<MatrixStatsAggregationBuilder>
org.opensearch.search.aggregations.support.ArrayValuesSourceAggregationBuilder<MatrixStatsAggregationBuilder>
org.opensearch.search.aggregations.support.ArrayValuesSourceAggregationBuilder.LeafOnly<MatrixStatsAggregationBuilder>
org.opensearch.search.aggregations.matrix.stats.MatrixStatsAggregationBuilder
- All Implemented Interfaces:
org.opensearch.core.common.io.stream.NamedWriteable,org.opensearch.core.common.io.stream.Writeable,org.opensearch.core.xcontent.ToXContent,org.opensearch.core.xcontent.ToXContentFragment,Rewriteable<AggregationBuilder>,BaseAggregationBuilder
public class MatrixStatsAggregationBuilder
extends ArrayValuesSourceAggregationBuilder.LeafOnly<MatrixStatsAggregationBuilder>
-
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.CommonFieldsNested classes/interfaces inherited from interface org.opensearch.core.xcontent.ToXContent
org.opensearch.core.xcontent.ToXContent.DelegatingMapParams, org.opensearch.core.xcontent.ToXContent.MapParams, org.opensearch.core.xcontent.ToXContent.ParamsNested classes/interfaces inherited from interface org.opensearch.core.common.io.stream.Writeable
org.opensearch.core.common.io.stream.Writeable.Reader<V>, org.opensearch.core.common.io.stream.Writeable.WriteableRegistry, org.opensearch.core.common.io.stream.Writeable.Writer<V> -
Field Summary
FieldsFields inherited from class org.opensearch.search.aggregations.support.ArrayValuesSourceAggregationBuilder
MULTIVALUE_MODE_FIELDFields inherited from class org.opensearch.search.aggregations.AbstractAggregationBuilder
metadataFields inherited from class org.opensearch.search.aggregations.AggregationBuilder
factoriesBuilder, nameFields inherited from interface org.opensearch.index.query.Rewriteable
MAX_REWRITE_ROUNDSFields inherited from interface org.opensearch.core.xcontent.ToXContent
EMPTY_PARAMS -
Constructor Summary
ConstructorsModifierConstructorDescriptionMatrixStatsAggregationBuilder(org.opensearch.core.common.io.stream.StreamInput in) Read from a stream.protectedMatrixStatsAggregationBuilder(MatrixStatsAggregationBuilder clone, AggregatorFactories.Builder factoriesBuilder, Map<String, Object> metadata) -
Method Summary
Modifier and TypeMethodDescriptionorg.opensearch.core.xcontent.XContentBuilderdoXContentBody(org.opensearch.core.xcontent.XContentBuilder builder, org.opensearch.core.xcontent.ToXContent.Params params) getType()protected org.opensearch.search.aggregations.matrix.stats.MatrixStatsAggregatorFactoryinnerBuild(QueryShardContext queryShardContext, Map<String, ValuesSourceConfig> configs, AggregatorFactory parent, AggregatorFactories.Builder subFactoriesBuilder) protected voidinnerWriteTo(org.opensearch.core.common.io.stream.StreamOutput out) Write subclass' state to the streammultiValueMode(MultiValueMode multiValueMode) protected AggregationBuildershallowCopy(AggregatorFactories.Builder factoriesBuilder, Map<String, Object> metadata) Methods inherited from class org.opensearch.search.aggregations.support.ArrayValuesSourceAggregationBuilder.LeafOnly
bucketCardinality, subAggregationsMethods inherited from class org.opensearch.search.aggregations.support.ArrayValuesSourceAggregationBuilder
doBuild, doWriteTo, equals, fields, fields, format, format, hashCode, internalXContent, missingMap, missingMap, resolveConfigMethods inherited from class org.opensearch.search.aggregations.AbstractAggregationBuilder
build, getMetadata, getWriteableName, setMetadata, subAggregation, subAggregation, toXContent, writeToMethods inherited from class org.opensearch.search.aggregations.AggregationBuilder
buildPipelineTree, doRewrite, getName, getPipelineAggregations, getSubAggregations, rewrite, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.opensearch.core.xcontent.ToXContentFragment
isFragment
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
MatrixStatsAggregationBuilder
-
MatrixStatsAggregationBuilder
protected MatrixStatsAggregationBuilder(MatrixStatsAggregationBuilder clone, AggregatorFactories.Builder factoriesBuilder, Map<String, Object> metadata) -
MatrixStatsAggregationBuilder
public MatrixStatsAggregationBuilder(org.opensearch.core.common.io.stream.StreamInput in) throws IOException Read from a stream.- Throws:
IOException
-
-
Method Details
-
shallowCopy
protected AggregationBuilder shallowCopy(AggregatorFactories.Builder factoriesBuilder, Map<String, Object> metadata) - Specified by:
shallowCopyin classAggregationBuilder
-
innerWriteTo
protected void innerWriteTo(org.opensearch.core.common.io.stream.StreamOutput out) Description copied from class:ArrayValuesSourceAggregationBuilderWrite subclass' state to the stream- Specified by:
innerWriteToin classArrayValuesSourceAggregationBuilder<MatrixStatsAggregationBuilder>
-
multiValueMode
-
multiValueMode
-
innerBuild
protected org.opensearch.search.aggregations.matrix.stats.MatrixStatsAggregatorFactory innerBuild(QueryShardContext queryShardContext, Map<String, ValuesSourceConfig> configs, AggregatorFactory parent, AggregatorFactories.Builder subFactoriesBuilder) throws IOException- Specified by:
innerBuildin classArrayValuesSourceAggregationBuilder<MatrixStatsAggregationBuilder>- Throws:
IOException
-
doXContentBody
public org.opensearch.core.xcontent.XContentBuilder doXContentBody(org.opensearch.core.xcontent.XContentBuilder builder, org.opensearch.core.xcontent.ToXContent.Params params) throws IOException - Specified by:
doXContentBodyin classArrayValuesSourceAggregationBuilder<MatrixStatsAggregationBuilder>- Throws:
IOException
-
getType
-