Class MultiValuesSourceParseHelper
java.lang.Object
org.elasticsearch.search.aggregations.support.MultiValuesSourceParseHelper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> void
declareCommon(org.elasticsearch.common.xcontent.AbstractObjectParser<? extends MultiValuesSourceAggregationBuilder<?>,T> objectParser, boolean formattable, ValueType expectedValueType)
static <VS extends ValuesSource, T>
voiddeclareField(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
-
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(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 typeT
- - parser context- Parameters:
scriptable
- - allows specifying script in addition to a field as a values sourcetimezoneAware
- - allows specifying timezonefilterable
- - allows specifying filters on the valuesheterogeneous
- - allows specifying value-source specific format and user value type hint
-