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