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> voiddeclareCommon(org.elasticsearch.common.xcontent.AbstractObjectParser<? extends MultiValuesSourceAggregationBuilder<?>,T> objectParser, boolean formattable, ValueType expectedValueType)static <VS extends ValuesSource, T>
voiddeclareField(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 sourceMethods 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 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
-