Class KeywordAnalyzer
java.lang.Object
org.opensearch.client.opensearch._types.analysis.KeywordAnalyzer
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,AnalyzerVariant,ToCopyableBuilder<KeywordAnalyzer.Builder,KeywordAnalyzer>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class KeywordAnalyzer
extends Object
implements AnalyzerVariant, PlainJsonSerializable, ToCopyableBuilder<KeywordAnalyzer.Builder,KeywordAnalyzer>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<KeywordAnalyzer> Json deserializer forKeywordAnalyzer -
Method Summary
Modifier and TypeMethodDescriptionAnalyzervariant kind.static KeywordAnalyzer.Builderbuilder()booleaninthashCode()static KeywordAnalyzervoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.final Stringversion()API name:versionMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.opensearch._types.analysis.AnalyzerVariant
toAnalyzerMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forKeywordAnalyzer
-
-
Method Details
-
of
public static KeywordAnalyzer of(Function<KeywordAnalyzer.Builder, ObjectBuilder<KeywordAnalyzer>> fn) -
_analyzerKind
Analyzervariant kind.- Specified by:
_analyzerKindin interfaceAnalyzerVariant
-
version
API name:version -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<KeywordAnalyzer.Builder,KeywordAnalyzer> - Returns:
- a new builder instance.
-
builder
-
setupKeywordAnalyzerDeserializer
protected static void setupKeywordAnalyzerDeserializer(ObjectDeserializer<KeywordAnalyzer.Builder> op) -
hashCode
public int hashCode() -
equals
-