Class LengthTokenFilter
- java.lang.Object
-
- org.opensearch.client.opensearch._types.analysis.TokenFilterBase
-
- org.opensearch.client.opensearch._types.analysis.LengthTokenFilter
-
- All Implemented Interfaces:
JsonpSerializable
,PlainJsonSerializable
,TokenFilterDefinitionVariant
@JsonpDeserializable public class LengthTokenFilter extends TokenFilterBase implements TokenFilterDefinitionVariant
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LengthTokenFilter.Builder
Builder forLengthTokenFilter
.-
Nested classes/interfaces inherited from class org.opensearch.client.opensearch._types.analysis.TokenFilterBase
TokenFilterBase.AbstractBuilder<BuilderT extends TokenFilterBase.AbstractBuilder<BuilderT>>
-
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<LengthTokenFilter>
_DESERIALIZER
Json deserializer forLengthTokenFilter
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TokenFilterDefinition.Kind
_tokenFilterDefinitionKind()
TokenFilterDefinition variant kind.int
max()
Required - API name:max
int
min()
Required - API name:min
static LengthTokenFilter
of(java.util.function.Function<LengthTokenFilter.Builder,ObjectBuilder<LengthTokenFilter>> fn)
protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupLengthTokenFilterDeserializer(ObjectDeserializer<LengthTokenFilter.Builder> op)
-
Methods inherited from class org.opensearch.client.opensearch._types.analysis.TokenFilterBase
serialize, setupTokenFilterBaseDeserializer, 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.TokenFilterDefinitionVariant
_toTokenFilterDefinition
-
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<LengthTokenFilter> _DESERIALIZER
Json deserializer forLengthTokenFilter
-
-
Method Detail
-
of
public static LengthTokenFilter of(java.util.function.Function<LengthTokenFilter.Builder,ObjectBuilder<LengthTokenFilter>> fn)
-
_tokenFilterDefinitionKind
public TokenFilterDefinition.Kind _tokenFilterDefinitionKind()
TokenFilterDefinition variant kind.- Specified by:
_tokenFilterDefinitionKind
in interfaceTokenFilterDefinitionVariant
-
max
public final int max()
Required - API name:max
-
min
public final int min()
Required - API name:min
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
- Overrides:
serializeInternal
in classTokenFilterBase
-
setupLengthTokenFilterDeserializer
protected static void setupLengthTokenFilterDeserializer(ObjectDeserializer<LengthTokenFilter.Builder> op)
-
-