Class KeywordProperty.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.mapping.PropertyBase.AbstractBuilder<BuilderT>
co.elastic.clients.elasticsearch._types.mapping.CorePropertyBase.AbstractBuilder<BuilderT>
co.elastic.clients.elasticsearch._types.mapping.DocValuesPropertyBase.AbstractBuilder<KeywordProperty.Builder>
co.elastic.clients.elasticsearch._types.mapping.KeywordProperty.Builder
- All Implemented Interfaces:
WithJson<KeywordProperty.Builder>,ObjectBuilder<KeywordProperty>
- Enclosing class:
- KeywordProperty
public static class KeywordProperty.Builder extends DocValuesPropertyBase.AbstractBuilder<KeywordProperty.Builder> implements ObjectBuilder<KeywordProperty>
Builder for
KeywordProperty.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description KeywordProperty.Builderboost(java.lang.Double value)API name:boostKeywordPropertybuild()Builds aKeywordProperty.KeywordProperty.BuildereagerGlobalOrdinals(java.lang.Boolean value)API name:eager_global_ordinalsKeywordProperty.Builderindex(java.lang.Boolean value)API name:indexKeywordProperty.BuilderindexOptions(IndexOptions value)API name:index_optionsKeywordProperty.Buildernormalizer(java.lang.String value)API name:normalizerKeywordProperty.Buildernorms(java.lang.Boolean value)API name:normsKeywordProperty.BuildernullValue(java.lang.String value)API name:null_valueprotected KeywordProperty.Builderself()KeywordProperty.BuildersplitQueriesOnWhitespace(java.lang.Boolean value)API name:split_queries_on_whitespaceKeywordProperty.BuildertimeSeriesDimension(java.lang.Boolean value)[experimental] For internal use by Elastic only.Methods inherited from class co.elastic.clients.elasticsearch._types.mapping.DocValuesPropertyBase.AbstractBuilder
docValuesMethods inherited from class co.elastic.clients.elasticsearch._types.mapping.CorePropertyBase.AbstractBuilder
copyTo, copyTo, similarity, storeMethods inherited from class co.elastic.clients.elasticsearch._types.mapping.PropertyBase.AbstractBuilder
dynamic, fields, fields, fields, ignoreAbove, localMetadata, localMetadata, meta, meta, name, properties, properties, propertiesMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
boost
API name:boost -
eagerGlobalOrdinals
API name:eager_global_ordinals -
index
API name:index -
indexOptions
API name:index_options -
normalizer
API name:normalizer -
norms
API name:norms -
nullValue
API name:null_value -
splitQueriesOnWhitespace
API name:split_queries_on_whitespace -
timeSeriesDimension
[experimental] For internal use by Elastic only. Marks the field as a time series dimension. Defaults to false.API name:
time_series_dimension -
self
- Specified by:
selfin classPropertyBase.AbstractBuilder<KeywordProperty.Builder>
-
build
Builds aKeywordProperty.- Specified by:
buildin interfaceObjectBuilder<KeywordProperty>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-