Class TokenCountProperty
- java.lang.Object
-
- org.opensearch.client.opensearch._types.mapping.PropertyBase
-
- org.opensearch.client.opensearch._types.mapping.CorePropertyBase
-
- org.opensearch.client.opensearch._types.mapping.DocValuesPropertyBase
-
- org.opensearch.client.opensearch._types.mapping.TokenCountProperty
-
- All Implemented Interfaces:
JsonpSerializable,PropertyVariant
@JsonpDeserializable public class TokenCountProperty extends DocValuesPropertyBase implements PropertyVariant
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTokenCountProperty.BuilderBuilder forTokenCountProperty.-
Nested classes/interfaces inherited from class org.opensearch.client.opensearch._types.mapping.DocValuesPropertyBase
DocValuesPropertyBase.AbstractBuilder<BuilderT extends DocValuesPropertyBase.AbstractBuilder<BuilderT>>
-
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<TokenCountProperty>_DESERIALIZERJson deserializer forTokenCountProperty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Property.Kind_propertyKind()Property variant kind.java.lang.Stringanalyzer()API name:analyzerjava.lang.Doubleboost()API name:boostjava.lang.BooleanenablePositionIncrements()API name:enable_position_incrementsjava.lang.Booleanindex()API name:indexjava.lang.DoublenullValue()API name:null_valuestatic TokenCountPropertyof(java.util.function.Function<TokenCountProperty.Builder,ObjectBuilder<TokenCountProperty>> fn)protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupTokenCountPropertyDeserializer(ObjectDeserializer<TokenCountProperty.Builder> op)-
Methods inherited from class org.opensearch.client.opensearch._types.mapping.DocValuesPropertyBase
docValues, setupDocValuesPropertyBaseDeserializer
-
Methods inherited from class org.opensearch.client.opensearch._types.mapping.CorePropertyBase
copyTo, setupCorePropertyBaseDeserializer, similarity, store
-
Methods inherited from class org.opensearch.client.opensearch._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 org.opensearch.client.json.JsonpSerializable
serialize
-
Methods inherited from interface org.opensearch.client.opensearch._types.mapping.PropertyVariant
_toProperty
-
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<TokenCountProperty> _DESERIALIZER
Json deserializer forTokenCountProperty
-
-
Method Detail
-
of
public static TokenCountProperty of(java.util.function.Function<TokenCountProperty.Builder,ObjectBuilder<TokenCountProperty>> fn)
-
_propertyKind
public Property.Kind _propertyKind()
Property variant kind.- Specified by:
_propertyKindin 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
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)- Overrides:
serializeInternalin classDocValuesPropertyBase
-
setupTokenCountPropertyDeserializer
protected static void setupTokenCountPropertyDeserializer(ObjectDeserializer<TokenCountProperty.Builder> op)
-
-