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 Classes Modifier and Type Class Description static classSmartcnTokenizer.BuilderBuilder forSmartcnTokenizer.-
Nested classes/interfaces inherited from class org.opensearch.client.opensearch._types.analysis.TokenizerBase
TokenizerBase.AbstractBuilder<BuilderT extends TokenizerBase.AbstractBuilder<BuilderT>>
-
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<SmartcnTokenizer>_DESERIALIZERJson deserializer forSmartcnTokenizer
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TokenizerDefinition.Kind_tokenizerDefinitionKind()TokenizerDefinitionvariant kind.static SmartcnTokenizer.Builderbuilder()booleanequals(java.lang.Object o)inthashCode()static SmartcnTokenizerof(java.util.function.Function<SmartcnTokenizer.Builder,ObjectBuilder<SmartcnTokenizer>> fn)protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupSmartcnTokenizerDeserializer(ObjectDeserializer<SmartcnTokenizer.Builder> op)SmartcnTokenizer.BuildertoBuilder()Create 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, version
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opensearch.client.json.JsonpSerializable
serialize
-
Methods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonString
-
Methods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Methods inherited from interface org.opensearch.client.opensearch._types.analysis.TokenizerDefinitionVariant
_toTokenizerDefinition
-
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<SmartcnTokenizer> _DESERIALIZER
Json deserializer forSmartcnTokenizer
-
-
Method Detail
-
of
public static SmartcnTokenizer of(java.util.function.Function<SmartcnTokenizer.Builder,ObjectBuilder<SmartcnTokenizer>> fn)
-
_tokenizerDefinitionKind
public TokenizerDefinition.Kind _tokenizerDefinitionKind()
TokenizerDefinitionvariant kind.- Specified by:
_tokenizerDefinitionKindin interfaceTokenizerDefinitionVariant
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)- Overrides:
serializeInternalin classTokenizerBase
-
toBuilder
@Nonnull public SmartcnTokenizer.Builder 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
@Nonnull public static SmartcnTokenizer.Builder builder()
-
setupSmartcnTokenizerDeserializer
protected static void setupSmartcnTokenizerDeserializer(ObjectDeserializer<SmartcnTokenizer.Builder> op)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classTokenizerBase
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classTokenizerBase
-
-