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.Builder
boost(java.lang.Double value)
API name:boost
KeywordProperty
build()
Builds aKeywordProperty
.KeywordProperty.Builder
eagerGlobalOrdinals(java.lang.Boolean value)
API name:eager_global_ordinals
KeywordProperty.Builder
index(java.lang.Boolean value)
API name:index
KeywordProperty.Builder
indexOptions(IndexOptions value)
API name:index_options
KeywordProperty.Builder
normalizer(java.lang.String value)
API name:normalizer
KeywordProperty.Builder
norms(java.lang.Boolean value)
API name:norms
KeywordProperty.Builder
nullValue(java.lang.String value)
API name:null_value
protected KeywordProperty.Builder
self()
KeywordProperty.Builder
splitQueriesOnWhitespace(java.lang.Boolean value)
API name:split_queries_on_whitespace
KeywordProperty.Builder
timeSeriesDimension(java.lang.Boolean value)
For internal use by Elastic only.Methods inherited from class co.elastic.clients.elasticsearch._types.mapping.DocValuesPropertyBase.AbstractBuilder
docValues
Methods inherited from class co.elastic.clients.elasticsearch._types.mapping.CorePropertyBase.AbstractBuilder
copyTo, copyTo, similarity, store
Methods inherited from class co.elastic.clients.elasticsearch._types.mapping.PropertyBase.AbstractBuilder
dynamic, fields, fields, fields, ignoreAbove, localMetadata, localMetadata, meta, meta, properties, properties, properties
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
Methods 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
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:
self
in classPropertyBase.AbstractBuilder<KeywordProperty.Builder>
-
build
Builds aKeywordProperty
.- Specified by:
build
in interfaceObjectBuilder<KeywordProperty>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-