Class MatrixStatsAggregationBuilder
java.lang.Object
org.elasticsearch.search.aggregations.AggregationBuilder
org.elasticsearch.search.aggregations.AbstractAggregationBuilder<AB>
org.elasticsearch.search.aggregations.matrix.ArrayValuesSourceAggregationBuilder<AB>
org.elasticsearch.search.aggregations.matrix.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.index.query.Rewriteable<org.elasticsearch.search.aggregations.AggregationBuilder>
,org.elasticsearch.search.aggregations.BaseAggregationBuilder
,org.elasticsearch.xcontent.ToXContent
,org.elasticsearch.xcontent.ToXContentFragment
public class MatrixStatsAggregationBuilder
extends ArrayValuesSourceAggregationBuilder.LeafOnly<MatrixStatsAggregationBuilder>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.search.aggregations.matrix.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.CommonFields
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
org.elasticsearch.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.xcontent.ToXContent.MapParams, org.elasticsearch.xcontent.ToXContent.Params
-
Field Summary
Fields inherited from class org.elasticsearch.search.aggregations.matrix.ArrayValuesSourceAggregationBuilder
MULTIVALUE_MODE_FIELD
Fields inherited from class org.elasticsearch.search.aggregations.AbstractAggregationBuilder
metadata
Fields inherited from class org.elasticsearch.search.aggregations.AggregationBuilder
DEFAULT_PREALLOCATION, factoriesBuilder, name
Fields inherited from interface org.elasticsearch.index.query.Rewriteable
MAX_REWRITE_ROUNDS
Fields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY_PARAMS
-
Constructor Summary
ModifierConstructorDescriptionMatrixStatsAggregationBuilder
(org.elasticsearch.common.io.stream.StreamInput in) Read from a stream.protected
MatrixStatsAggregationBuilder
(MatrixStatsAggregationBuilder clone, org.elasticsearch.search.aggregations.AggregatorFactories.Builder factoriesBuilder, Map<String, Object> metadata) -
Method Summary
Modifier and TypeMethodDescriptionorg.elasticsearch.xcontent.XContentBuilder
doXContentBody
(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) getType()
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) protected void
innerWriteTo
(org.elasticsearch.common.io.stream.StreamOutput out) Write subclass' state to the streamorg.elasticsearch.search.MultiValueMode
multiValueMode
(org.elasticsearch.search.MultiValueMode multiValueMode) protected org.elasticsearch.search.aggregations.AggregationBuilder
shallowCopy
(org.elasticsearch.search.aggregations.AggregatorFactories.Builder factoriesBuilder, Map<String, Object> metadata) Methods inherited from class org.elasticsearch.search.aggregations.matrix.ArrayValuesSourceAggregationBuilder.LeafOnly
bucketCardinality, subAggregations
Methods inherited from class org.elasticsearch.search.aggregations.matrix.ArrayValuesSourceAggregationBuilder
doBuild, doWriteTo, equals, fields, fields, format, format, hashCode, internalXContent, missingMap, missingMap, resolveConfig
Methods inherited from class org.elasticsearch.search.aggregations.AbstractAggregationBuilder
build, getMetadata, getWriteableName, setMetadata, subAggregation, subAggregation, toXContent, writeTo
Methods inherited from class org.elasticsearch.search.aggregations.AggregationBuilder
buildPipelineTree, bytesToPreallocate, doRewrite, getName, getOutputFieldNames, getPipelineAggregations, getSubAggregations, rewrite, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.elasticsearch.xcontent.ToXContentFragment
isFragment
-
Field Details
-
NAME
- See Also:
-
-
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 IOException Read 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:
shallowCopy
in classorg.elasticsearch.search.aggregations.AggregationBuilder
-
innerWriteTo
protected void innerWriteTo(org.elasticsearch.common.io.stream.StreamOutput out) Description copied from class:ArrayValuesSourceAggregationBuilder
Write subclass' state to the stream- Specified by:
innerWriteTo
in 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:
innerBuild
in classArrayValuesSourceAggregationBuilder<MatrixStatsAggregationBuilder>
- Throws:
IOException
-
doXContentBody
public org.elasticsearch.xcontent.XContentBuilder doXContentBody(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException - Specified by:
doXContentBody
in classArrayValuesSourceAggregationBuilder<MatrixStatsAggregationBuilder>
- Throws:
IOException
-
getType
-