Class MatrixStatsAggregationBuilder

java.lang.Object
org.elasticsearch.search.aggregations.AggregationBuilder
org.elasticsearch.search.aggregations.AbstractAggregationBuilder<AB>
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.CommonFields

    Nested 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

    Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable

    org.elasticsearch.common.io.stream.Writeable.Reader<V extends java.lang.Object>, org.elasticsearch.common.io.stream.Writeable.Writer<V extends java.lang.Object>
  • Field Summary

    Fields
    Modifier and Type Field Description
    static java.lang.String NAME  

    Fields inherited from class org.elasticsearch.search.aggregations.support.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.common.xcontent.ToXContent

    EMPTY_PARAMS
  • Constructor Summary

    Constructors
    Modifier Constructor Description
      MatrixStatsAggregationBuilder​(java.lang.String name)  
      MatrixStatsAggregationBuilder​(org.elasticsearch.common.io.stream.StreamInput in)
    Read from a stream.
    protected MatrixStatsAggregationBuilder​(MatrixStatsAggregationBuilder clone, org.elasticsearch.search.aggregations.AggregatorFactories.Builder factoriesBuilder, java.util.Map<java.lang.String,​java.lang.Object> metadata)  
  • Method Summary

    Modifier and Type Method Description
    org.elasticsearch.common.xcontent.XContentBuilder doXContentBody​(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params)  
    java.lang.String getType()  
    protected org.elasticsearch.search.aggregations.matrix.stats.MatrixStatsAggregatorFactory innerBuild​(org.elasticsearch.search.aggregations.support.AggregationContext context, java.util.Map<java.lang.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 stream
    org.elasticsearch.search.MultiValueMode multiValueMode()  
    MatrixStatsAggregationBuilder multiValueMode​(org.elasticsearch.search.MultiValueMode multiValueMode)  
    protected org.elasticsearch.search.aggregations.AggregationBuilder shallowCopy​(org.elasticsearch.search.aggregations.AggregatorFactories.Builder factoriesBuilder, java.util.Map<java.lang.String,​java.lang.Object> metadata)  

    Methods inherited from class org.elasticsearch.search.aggregations.support.ArrayValuesSourceAggregationBuilder.LeafOnly

    bucketCardinality, subAggregations

    Methods inherited from class org.elasticsearch.search.aggregations.support.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.common.xcontent.ToXContentFragment

    isFragment
  • Field Details

  • Constructor Details

    • MatrixStatsAggregationBuilder

      public MatrixStatsAggregationBuilder​(java.lang.String name)
    • MatrixStatsAggregationBuilder

      protected MatrixStatsAggregationBuilder​(MatrixStatsAggregationBuilder clone, org.elasticsearch.search.aggregations.AggregatorFactories.Builder factoriesBuilder, java.util.Map<java.lang.String,​java.lang.Object> metadata)
    • MatrixStatsAggregationBuilder

      public MatrixStatsAggregationBuilder​(org.elasticsearch.common.io.stream.StreamInput in) throws java.io.IOException
      Read from a stream.
      Throws:
      java.io.IOException
  • Method Details

    • shallowCopy

      protected org.elasticsearch.search.aggregations.AggregationBuilder shallowCopy​(org.elasticsearch.search.aggregations.AggregatorFactories.Builder factoriesBuilder, java.util.Map<java.lang.String,​java.lang.Object> metadata)
      Specified by:
      shallowCopy in class org.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 class ArrayValuesSourceAggregationBuilder<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, java.util.Map<java.lang.String,​org.elasticsearch.search.aggregations.support.ValuesSourceConfig> configs, org.elasticsearch.search.aggregations.AggregatorFactory parent, org.elasticsearch.search.aggregations.AggregatorFactories.Builder subFactoriesBuilder) throws java.io.IOException
      Specified by:
      innerBuild in class ArrayValuesSourceAggregationBuilder<MatrixStatsAggregationBuilder>
      Throws:
      java.io.IOException
    • doXContentBody

      public org.elasticsearch.common.xcontent.XContentBuilder doXContentBody​(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws java.io.IOException
      Specified by:
      doXContentBody in class ArrayValuesSourceAggregationBuilder<MatrixStatsAggregationBuilder>
      Throws:
      java.io.IOException
    • getType

      public java.lang.String getType()