Class KeywordAnalyzer
- java.lang.Object
-
- org.opensearch.client.opensearch._types.analysis.KeywordAnalyzer
-
- All Implemented Interfaces:
JsonpSerializable,AnalyzerVariant
@JsonpDeserializable public class KeywordAnalyzer extends java.lang.Object implements AnalyzerVariant, JsonpSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classKeywordAnalyzer.BuilderBuilder forKeywordAnalyzer.
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<KeywordAnalyzer>_DESERIALIZERJson deserializer forKeywordAnalyzer
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Analyzer.Kind_analyzerKind()Analyzer variant kind.static KeywordAnalyzerof(java.util.function.Function<KeywordAnalyzer.Builder,ObjectBuilder<KeywordAnalyzer>> fn)voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupKeywordAnalyzerDeserializer(ObjectDeserializer<KeywordAnalyzer.Builder> op)java.lang.Stringversion()API name: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.opensearch._types.analysis.AnalyzerVariant
_toAnalyzer
-
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<KeywordAnalyzer> _DESERIALIZER
Json deserializer forKeywordAnalyzer
-
-
Method Detail
-
of
public static KeywordAnalyzer of(java.util.function.Function<KeywordAnalyzer.Builder,ObjectBuilder<KeywordAnalyzer>> fn)
-
_analyzerKind
public Analyzer.Kind _analyzerKind()
Analyzer variant kind.- Specified by:
_analyzerKindin interfaceAnalyzerVariant
-
version
@Nullable public final java.lang.String version()
API name:version
-
serialize
public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
-
setupKeywordAnalyzerDeserializer
protected static void setupKeywordAnalyzerDeserializer(ObjectDeserializer<KeywordAnalyzer.Builder> op)
-
-