Class PredicateTokenFilter
java.lang.Object
org.opensearch.client.opensearch._types.analysis.TokenFilterBase
org.opensearch.client.opensearch._types.analysis.PredicateTokenFilter
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,TokenFilterDefinitionVariant,ToCopyableBuilder<PredicateTokenFilter.Builder,PredicateTokenFilter>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class PredicateTokenFilter
extends TokenFilterBase
implements TokenFilterDefinitionVariant, ToCopyableBuilder<PredicateTokenFilter.Builder,PredicateTokenFilter>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.opensearch.client.opensearch._types.analysis.TokenFilterBase
TokenFilterBase.AbstractBuilder<BuilderT extends TokenFilterBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<PredicateTokenFilter> Json deserializer forPredicateTokenFilter -
Method Summary
Modifier and TypeMethodDescriptionTokenFilterDefinitionvariant kind.static PredicateTokenFilter.Builderbuilder()booleaninthashCode()static PredicateTokenFilterfinal Scriptscript()Required - API name:scriptprotected 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.TokenFilterBase
serialize, setupTokenFilterBaseDeserializer, 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.TokenFilterDefinitionVariant
toTokenFilterDefinition
-
Field Details
-
_DESERIALIZER
Json deserializer forPredicateTokenFilter
-
-
Method Details
-
of
public static PredicateTokenFilter of(Function<PredicateTokenFilter.Builder, ObjectBuilder<PredicateTokenFilter>> fn) -
_tokenFilterDefinitionKind
TokenFilterDefinitionvariant kind.- Specified by:
_tokenFilterDefinitionKindin interfaceTokenFilterDefinitionVariant
-
script
Required - API name:script -
serializeInternal
- Overrides:
serializeInternalin classTokenFilterBase
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<PredicateTokenFilter.Builder,PredicateTokenFilter> - Returns:
- a new builder instance.
-
builder
-
setupPredicateTokenFilterDeserializer
protected static void setupPredicateTokenFilterDeserializer(ObjectDeserializer<PredicateTokenFilter.Builder> op) -
hashCode
public int hashCode()- Overrides:
hashCodein classTokenFilterBase
-
equals
- Overrides:
equalsin classTokenFilterBase
-