Class MultiValuesSourceFieldConfig
java.lang.Object
org.elasticsearch.search.aggregations.support.MultiValuesSourceFieldConfig
- All Implemented Interfaces:
Writeable,org.elasticsearch.xcontent.ToXContent,org.elasticsearch.xcontent.ToXContentObject
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
org.elasticsearch.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.xcontent.ToXContent.MapParams, org.elasticsearch.xcontent.ToXContent.ParamsNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
FieldsFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY_PARAMS -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedMultiValuesSourceFieldConfig(String fieldName, Object missing, Script script, ZoneId timeZone, QueryBuilder filter, ValueType userValueTypeHint, String format) -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()static <C> org.elasticsearch.xcontent.ObjectParser<MultiValuesSourceFieldConfig.Builder,C> parserBuilder(boolean scriptable, boolean timezoneAware, boolean filtered, boolean heterogeneous) Creates a parser capable of parsing value sources in different contexttoString()org.elasticsearch.xcontent.XContentBuildertoXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) voidwriteTo(StreamOutput out) Write this into the StreamOutput.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Field Details
-
FILTER
public static final org.elasticsearch.xcontent.ParseField FILTER
-
-
Constructor Details
-
MultiValuesSourceFieldConfig
-
MultiValuesSourceFieldConfig
- Throws:
IOException
-
-
Method Details
-
parserBuilder
public static <C> org.elasticsearch.xcontent.ObjectParser<MultiValuesSourceFieldConfig.Builder,C> parserBuilder(boolean scriptable, boolean timezoneAware, boolean filtered, boolean heterogeneous) Creates a parser capable of parsing value sources in different context- Type Parameters:
C- - parser context- Parameters:
scriptable- - allows specifying script in addition to a field as a values sourcetimezoneAware- - allows specifying timezonefiltered- - allows specifying filters on the valuesheterogeneous- - allows specifying value-source specific format and user value type hint- Returns:
- configured parser
-
getMissing
-
getScript
-
getTimeZone
-
getFieldName
-
getFilter
-
getUserValueTypeHint
-
getFormat
-
writeTo
Description copied from interface:WriteableWrite this into the StreamOutput.- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
toXContent
public org.elasticsearch.xcontent.XContentBuilder toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceorg.elasticsearch.xcontent.ToXContent- Throws:
IOException
-
equals
-
hashCode
public int hashCode() -
toString
-