Class MultiValuesSourceParseHelper

java.lang.Object
org.elasticsearch.search.aggregations.support.MultiValuesSourceParseHelper

public final class MultiValuesSourceParseHelper
extends java.lang.Object
  • Constructor Summary

    Constructors
    Constructor Description
    MultiValuesSourceParseHelper()  
  • Method Summary

    Modifier and Type Method Description
    static <T> void declareCommon​(org.elasticsearch.common.xcontent.AbstractObjectParser<? extends MultiValuesSourceAggregationBuilder<?>,​T> objectParser, boolean formattable, ValueType expectedValueType)  
    static <VS extends ValuesSource,​ T>
    void
    declareField​(java.lang.String fieldName, org.elasticsearch.common.xcontent.AbstractObjectParser<? extends MultiValuesSourceAggregationBuilder<?>,​T> objectParser, boolean scriptable, boolean timezoneAware, boolean filterable, boolean heterogeneous)
    Declares a field that contains information about a values source

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MultiValuesSourceParseHelper

      public MultiValuesSourceParseHelper()
  • Method Details

    • declareCommon

      public static <T> void declareCommon​(org.elasticsearch.common.xcontent.AbstractObjectParser<? extends MultiValuesSourceAggregationBuilder<?>,​T> objectParser, boolean formattable, ValueType expectedValueType)
    • declareField

      public static <VS extends ValuesSource,​ T> void declareField​(java.lang.String fieldName, org.elasticsearch.common.xcontent.AbstractObjectParser<? extends MultiValuesSourceAggregationBuilder<?>,​T> objectParser, boolean scriptable, boolean timezoneAware, boolean filterable, boolean heterogeneous)
      Declares a field that contains information about a values source
      Type Parameters:
      VS - - values source type
      T - - parser context
      Parameters:
      scriptable - - allows specifying script in addition to a field as a values source
      timezoneAware - - allows specifying timezone
      filterable - - allows specifying filters on the values
      heterogeneous - - allows specifying value-source specific format and user value type hint