Class ArrayValuesSourceAggregationBuilder.LeafOnly<VS extends org.elasticsearch.search.aggregations.support.ValuesSource,AB extends ArrayValuesSourceAggregationBuilder<VS,AB>>

    • 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 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
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected LeafOnly​(java.lang.String name, org.elasticsearch.search.aggregations.support.ValuesSourceType valuesSourceType, org.elasticsearch.search.aggregations.support.ValueType targetValueType)  
      protected LeafOnly​(org.elasticsearch.common.io.stream.StreamInput in, org.elasticsearch.search.aggregations.support.ValuesSourceType valuesSourceType)
      Read an aggregation from a stream that serializes its targetValueType.
      protected LeafOnly​(org.elasticsearch.common.io.stream.StreamInput in, org.elasticsearch.search.aggregations.support.ValuesSourceType valuesSourceType, org.elasticsearch.search.aggregations.support.ValueType targetValueType)
      Read from a stream that does not serialize its targetValueType.
      protected LeafOnly​(ArrayValuesSourceAggregationBuilder.LeafOnly<VS,AB> clone, org.elasticsearch.search.aggregations.AggregatorFactories.Builder factoriesBuilder, java.util.Map<java.lang.String,java.lang.Object> metaData)  
    • Constructor Detail

      • LeafOnly

        protected LeafOnly​(java.lang.String name,
                           org.elasticsearch.search.aggregations.support.ValuesSourceType valuesSourceType,
                           org.elasticsearch.search.aggregations.support.ValueType targetValueType)
      • LeafOnly

        protected LeafOnly​(org.elasticsearch.common.io.stream.StreamInput in,
                           org.elasticsearch.search.aggregations.support.ValuesSourceType valuesSourceType,
                           org.elasticsearch.search.aggregations.support.ValueType targetValueType)
                    throws java.io.IOException
        Read from a stream that does not serialize its targetValueType. This should be used by most subclasses.
        Throws:
        java.io.IOException
      • LeafOnly

        protected LeafOnly​(org.elasticsearch.common.io.stream.StreamInput in,
                           org.elasticsearch.search.aggregations.support.ValuesSourceType valuesSourceType)
                    throws java.io.IOException
        Read an aggregation from a stream that serializes its targetValueType. This should only be used by subclasses that override ArrayValuesSourceAggregationBuilder.serializeTargetValueType() to return true.
        Throws:
        java.io.IOException
    • Method Detail

      • subAggregations

        public AB subAggregations​(org.elasticsearch.search.aggregations.AggregatorFactories.Builder subFactories)
        Specified by:
        subAggregations in interface org.elasticsearch.search.aggregations.BaseAggregationBuilder
        Overrides:
        subAggregations in class org.elasticsearch.search.aggregations.AbstractAggregationBuilder<AB extends ArrayValuesSourceAggregationBuilder<VS,AB>>