Class TokenCountProperty
java.lang.Object
co.elastic.clients.elasticsearch._types.mapping.PropertyBase
co.elastic.clients.elasticsearch._types.mapping.CorePropertyBase
co.elastic.clients.elasticsearch._types.mapping.DocValuesPropertyBase
co.elastic.clients.elasticsearch._types.mapping.TokenCountProperty
- All Implemented Interfaces:
PropertyVariant
,JsonpSerializable
@JsonpDeserializable public class TokenCountProperty extends DocValuesPropertyBase implements PropertyVariant
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TokenCountProperty.Builder
Builder forTokenCountProperty
.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.mapping.DocValuesPropertyBase
DocValuesPropertyBase.AbstractBuilder<BuilderT extends DocValuesPropertyBase.AbstractBuilder<BuilderT>>
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<TokenCountProperty>
_DESERIALIZER
Json deserializer forTokenCountProperty
-
Method Summary
Modifier and Type Method Description Property.Kind
_propertyKind()
Property variant kind.java.lang.String
analyzer()
API name:analyzer
java.lang.Double
boost()
API name:boost
java.lang.Boolean
enablePositionIncrements()
API name:enable_position_increments
java.lang.Boolean
index()
API name:index
java.lang.Double
nullValue()
API name:null_value
static TokenCountProperty
of(java.util.function.Function<TokenCountProperty.Builder,ObjectBuilder<TokenCountProperty>> fn)
protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupTokenCountPropertyDeserializer(ObjectDeserializer<TokenCountProperty.Builder> op)
Methods inherited from class co.elastic.clients.elasticsearch._types.mapping.DocValuesPropertyBase
docValues, setupDocValuesPropertyBaseDeserializer
Methods inherited from class co.elastic.clients.elasticsearch._types.mapping.CorePropertyBase
copyTo, setupCorePropertyBaseDeserializer, similarity, store
Methods inherited from class co.elastic.clients.elasticsearch._types.mapping.PropertyBase
dynamic, fields, ignoreAbove, localMetadata, meta, name, properties, serialize, setupPropertyBaseDeserializer
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface co.elastic.clients.json.JsonpSerializable
serialize
Methods inherited from interface co.elastic.clients.elasticsearch._types.mapping.PropertyVariant
_toProperty
-
Field Details
-
_DESERIALIZER
Json deserializer forTokenCountProperty
-
-
Method Details
-
of
public static TokenCountProperty of(java.util.function.Function<TokenCountProperty.Builder,ObjectBuilder<TokenCountProperty>> fn) -
_propertyKind
Property variant kind.- Specified by:
_propertyKind
in interfacePropertyVariant
-
analyzer
@Nullable public final java.lang.String analyzer()API name:analyzer
-
boost
@Nullable public final java.lang.Double boost()API name:boost
-
index
@Nullable public final java.lang.Boolean index()API name:index
-
nullValue
@Nullable public final java.lang.Double nullValue()API name:null_value
-
enablePositionIncrements
@Nullable public final java.lang.Boolean enablePositionIncrements()API name:enable_position_increments
-
serializeInternal
- Overrides:
serializeInternal
in classDocValuesPropertyBase
-
setupTokenCountPropertyDeserializer
protected static void setupTokenCountPropertyDeserializer(ObjectDeserializer<TokenCountProperty.Builder> op)
-