Class MultiValuesSourceParseHelper
java.lang.Object
org.opensearch.search.aggregations.support.MultiValuesSourceParseHelper
Helper class to parse multi values sources
- Opensearch.internal:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> void
declareCommon
(org.opensearch.core.xcontent.AbstractObjectParser<? extends MultiValuesSourceAggregationBuilder<?>, T> objectParser, boolean formattable, ValueType expectedValueType) static <VS extends ValuesSource,
T>
voiddeclareField
(String fieldName, org.opensearch.core.xcontent.AbstractObjectParser<? extends MultiValuesSourceAggregationBuilder<?>, T> objectParser, boolean scriptable, boolean timezoneAware, boolean filterable)
-
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)
-