Class MultiValuesSourceParseHelper

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

public final class MultiValuesSourceParseHelper extends Object
Helper class to parse multi values sources
Opensearch.internal:
  • Constructor Details

    • MultiValuesSourceParseHelper

      public MultiValuesSourceParseHelper()
  • Method Details

    • declareCommon

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

      public static <VS extends ValuesSource, T> void declareField(String fieldName, org.opensearch.core.xcontent.AbstractObjectParser<? extends MultiValuesSourceAggregationBuilder<?>,T> objectParser, boolean scriptable, boolean timezoneAware, boolean filterable)