Class 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.search.aggregations.BaseAggregationBuilder

    public class MatrixStatsAggregationBuilder
    extends ArrayValuesSourceAggregationBuilder.LeafOnly<org.elasticsearch.search.aggregations.support.ValuesSource.Numeric,MatrixStatsAggregationBuilder>
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.elasticsearch.search.aggregations.AggregationBuilder

        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.AbstractAggregationBuilder

        metaData
      • Fields inherited from class org.elasticsearch.search.aggregations.AggregationBuilder

        factoriesBuilder, name
      • Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent

        EMPTY_PARAMS
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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.internal.SearchContext context, java.util.Map<java.lang.String,org.elasticsearch.search.aggregations.support.ValuesSourceConfig<org.elasticsearch.search.aggregations.support.ValuesSource.Numeric>> configs, org.elasticsearch.search.aggregations.AggregatorFactory<?> parent, org.elasticsearch.search.aggregations.AggregatorFactories.Builder subFactoriesBuilder)  
      protected boolean innerEquals​(java.lang.Object obj)  
      protected int innerHashCode()  
      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.AbstractAggregationBuilder

        build, equals, getMetaData, getWriteableName, hashCode, setMetaData, subAggregation, subAggregation, toXContent, writeTo
      • Methods inherited from class org.elasticsearch.search.aggregations.AggregationBuilder

        doRewrite, getName, 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
    • Constructor Detail

      • 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 Detail

      • 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
      • multiValueMode

        public org.elasticsearch.search.MultiValueMode multiValueMode()
      • innerBuild

        protected org.elasticsearch.search.aggregations.matrix.stats.MatrixStatsAggregatorFactory innerBuild​(org.elasticsearch.search.internal.SearchContext context,
                                                                                                             java.util.Map<java.lang.String,org.elasticsearch.search.aggregations.support.ValuesSourceConfig<org.elasticsearch.search.aggregations.support.ValuesSource.Numeric>> configs,
                                                                                                             org.elasticsearch.search.aggregations.AggregatorFactory<?> parent,
                                                                                                             org.elasticsearch.search.aggregations.AggregatorFactories.Builder subFactoriesBuilder)
                                                                                                      throws java.io.IOException
        Specified by:
        innerBuild in class ArrayValuesSourceAggregationBuilder<org.elasticsearch.search.aggregations.support.ValuesSource.Numeric,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<org.elasticsearch.search.aggregations.support.ValuesSource.Numeric,MatrixStatsAggregationBuilder>
        Throws:
        java.io.IOException
      • getType

        public java.lang.String getType()