Class EdgeNGramTokenizer
- java.lang.Object
-
- org.opensearch.client.opensearch._types.analysis.TokenizerBase
-
- org.opensearch.client.opensearch._types.analysis.EdgeNGramTokenizer
-
- All Implemented Interfaces:
JsonpSerializable
,PlainJsonSerializable
,TokenizerDefinitionVariant
@JsonpDeserializable public class EdgeNGramTokenizer extends TokenizerBase implements TokenizerDefinitionVariant
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EdgeNGramTokenizer.Builder
Builder forEdgeNGramTokenizer
.-
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<EdgeNGramTokenizer>
_DESERIALIZER
Json deserializer forEdgeNGramTokenizer
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TokenizerDefinition.Kind
_tokenizerDefinitionKind()
TokenizerDefinition variant kind.java.lang.String
customTokenChars()
API name:custom_token_chars
int
maxGram()
Required - API name:max_gram
int
minGram()
Required - API name:min_gram
static EdgeNGramTokenizer
of(java.util.function.Function<EdgeNGramTokenizer.Builder,ObjectBuilder<EdgeNGramTokenizer>> fn)
protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupEdgeNGramTokenizerDeserializer(ObjectDeserializer<EdgeNGramTokenizer.Builder> op)
java.util.List<TokenChar>
tokenChars()
Required - API name:token_chars
-
Methods inherited from class org.opensearch.client.opensearch._types.analysis.TokenizerBase
serialize, setupTokenizerBaseDeserializer, version
-
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.json.PlainJsonSerializable
toJsonString
-
Methods inherited from interface org.opensearch.client.opensearch._types.analysis.TokenizerDefinitionVariant
_toTokenizerDefinition
-
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<EdgeNGramTokenizer> _DESERIALIZER
Json deserializer forEdgeNGramTokenizer
-
-
Method Detail
-
of
public static EdgeNGramTokenizer of(java.util.function.Function<EdgeNGramTokenizer.Builder,ObjectBuilder<EdgeNGramTokenizer>> fn)
-
_tokenizerDefinitionKind
public TokenizerDefinition.Kind _tokenizerDefinitionKind()
TokenizerDefinition variant kind.- Specified by:
_tokenizerDefinitionKind
in interfaceTokenizerDefinitionVariant
-
customTokenChars
@Nullable public final java.lang.String customTokenChars()
API name:custom_token_chars
-
maxGram
public final int maxGram()
Required - API name:max_gram
-
minGram
public final int minGram()
Required - API name:min_gram
-
tokenChars
public final java.util.List<TokenChar> tokenChars()
Required - API name:token_chars
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
- Overrides:
serializeInternal
in classTokenizerBase
-
setupEdgeNGramTokenizerDeserializer
protected static void setupEdgeNGramTokenizerDeserializer(ObjectDeserializer<EdgeNGramTokenizer.Builder> op)
-
-