Class TokenCountProperty.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<TokenCountProperty.Builder>
co.elastic.clients.elasticsearch._types.mapping.TokenCountProperty.Builder
- All Implemented Interfaces:
WithJson<TokenCountProperty.Builder>,ObjectBuilder<TokenCountProperty>
- Enclosing class:
- TokenCountProperty
public static class TokenCountProperty.Builder extends DocValuesPropertyBase.AbstractBuilder<TokenCountProperty.Builder> implements ObjectBuilder<TokenCountProperty>
Builder for
TokenCountProperty.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description TokenCountProperty.Builderanalyzer(java.lang.String value)API name:analyzerTokenCountProperty.Builderboost(java.lang.Double value)API name:boostTokenCountPropertybuild()Builds aTokenCountProperty.TokenCountProperty.BuilderenablePositionIncrements(java.lang.Boolean value)API name:enable_position_incrementsTokenCountProperty.Builderindex(java.lang.Boolean value)API name:indexTokenCountProperty.BuildernullValue(java.lang.Double value)API name:null_valueprotected TokenCountProperty.Builderself()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, 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
-
analyzer
API name:analyzer -
boost
API name:boost -
index
API name:index -
nullValue
API name:null_value -
enablePositionIncrements
public final TokenCountProperty.Builder enablePositionIncrements(@Nullable java.lang.Boolean value)API name:enable_position_increments -
self
- Specified by:
selfin classPropertyBase.AbstractBuilder<TokenCountProperty.Builder>
-
build
Builds aTokenCountProperty.- Specified by:
buildin interfaceObjectBuilder<TokenCountProperty>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-