Class SmartcnTokenizer
java.lang.Object
org.opensearch.client.opensearch._types.analysis.TokenizerBase
org.opensearch.client.opensearch._types.analysis.SmartcnTokenizer
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,TokenizerDefinitionVariant,ToCopyableBuilder<SmartcnTokenizer.Builder,SmartcnTokenizer>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class SmartcnTokenizer
extends TokenizerBase
implements TokenizerDefinitionVariant, ToCopyableBuilder<SmartcnTokenizer.Builder,SmartcnTokenizer>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.opensearch.client.opensearch._types.analysis.TokenizerBase
TokenizerBase.AbstractBuilder<BuilderT extends TokenizerBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<SmartcnTokenizer> Json deserializer forSmartcnTokenizer -
Method Summary
Modifier and TypeMethodDescriptionTokenizerDefinitionvariant kind.static SmartcnTokenizer.Builderbuilder()booleaninthashCode()static SmartcnTokenizerprotected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class org.opensearch.client.opensearch._types.analysis.TokenizerBase
serialize, setupTokenizerBaseDeserializer, versionMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.JsonpSerializable
serializeMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copyMethods inherited from interface org.opensearch.client.opensearch._types.analysis.TokenizerDefinitionVariant
toTokenizerDefinition
-
Field Details
-
_DESERIALIZER
Json deserializer forSmartcnTokenizer
-
-
Method Details
-
of
public static SmartcnTokenizer of(Function<SmartcnTokenizer.Builder, ObjectBuilder<SmartcnTokenizer>> fn) -
_tokenizerDefinitionKind
TokenizerDefinitionvariant kind.- Specified by:
_tokenizerDefinitionKindin interfaceTokenizerDefinitionVariant
-
serializeInternal
- Overrides:
serializeInternalin classTokenizerBase
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<SmartcnTokenizer.Builder,SmartcnTokenizer> - Returns:
- a new builder instance.
-
builder
-
setupSmartcnTokenizerDeserializer
protected static void setupSmartcnTokenizerDeserializer(ObjectDeserializer<SmartcnTokenizer.Builder> op) -
hashCode
public int hashCode()- Overrides:
hashCodein classTokenizerBase
-
equals
- Overrides:
equalsin classTokenizerBase
-