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 class
KeywordAnalyzer.Builder
Builder forKeywordAnalyzer
.
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<KeywordAnalyzer>
_DESERIALIZER
Json deserializer forKeywordAnalyzer
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Analyzer.Kind
_analyzerKind()
Analyzer variant kind.static KeywordAnalyzer
of(java.util.function.Function<KeywordAnalyzer.Builder,ObjectBuilder<KeywordAnalyzer>> fn)
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupKeywordAnalyzerDeserializer(ObjectDeserializer<KeywordAnalyzer.Builder> op)
java.lang.String
version()
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:
_analyzerKind
in 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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
-
setupKeywordAnalyzerDeserializer
protected static void setupKeywordAnalyzerDeserializer(ObjectDeserializer<KeywordAnalyzer.Builder> op)
-
-