Class Analyzer
java.lang.Object
org.opensearch.client.opensearch._types.analysis.Analyzer
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,TaggedUnion<Analyzer.Kind,AnalyzerVariant>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class Analyzer
extends Object
implements TaggedUnion<Analyzer.Kind,AnalyzerVariant>, PlainJsonSerializable
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal AnalyzerVariant_get()final Analyzer.Kind_kind()Get the of the kind of variant held by this object.static Analyzer.Builderbuilder()cjk()Get thecjkvariant value.custom()Get thecustomvariant value.dutch()Get thedutchvariant value.booleanGet thefingerprintvariant value.inthashCode()Get theicu_analyzervariant value.booleanisCjk()Is this variant instance of kindcjk?booleanisCustom()Is this variant instance of kindcustom?booleanisDutch()Is this variant instance of kinddutch?booleanIs this variant instance of kindfingerprint?booleanIs this variant instance of kindicu_analyzer?booleanIs this variant instance of kindkeyword?booleanIs this variant instance of kindkuromoji?booleanIs this variant instance of kindlanguage?booleanisNori()Is this variant instance of kindnori?booleanIs this variant instance of kindpattern?booleanisPhone()Is this variant instance of kindphone?booleanisSimple()Is this variant instance of kindsimple?booleanIs this variant instance of kindsmartcn?booleanIs this variant instance of kindsnowball?booleanIs this variant instance of kindstandard?booleanisStop()Is this variant instance of kindstop?booleanIs this variant instance of kindwhitespace?keyword()Get thekeywordvariant value.kuromoji()Get thekuromojivariant value.language()Get thelanguagevariant value.nori()Get thenorivariant value.static Analyzerpattern()Get thepatternvariant value.phone()Get thephonevariant value.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidsimple()Get thesimplevariant value.smartcn()Get thesmartcnvariant value.snowball()Get thesnowballvariant value.standard()Get thestandardvariant value.stop()Get thestopvariant value.Get thewhitespacevariant value.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonString
-
Field Details
-
_DESERIALIZER
-
-
Constructor Details
-
Analyzer
-
-
Method Details
-
_kind
Description copied from interface:TaggedUnionGet the of the kind of variant held by this object.- Specified by:
_kindin interfaceTaggedUnion<Analyzer.Kind,AnalyzerVariant> - Returns:
- the variant kind
-
_get
- Specified by:
_getin interfaceTaggedUnion<Analyzer.Kind,AnalyzerVariant>
-
of
-
isCjk
public boolean isCjk()Is this variant instance of kindcjk? -
cjk
Get thecjkvariant value.- Throws:
IllegalStateException- if the current variant is not thecjkkind.
-
isCustom
public boolean isCustom()Is this variant instance of kindcustom? -
custom
Get thecustomvariant value.- Throws:
IllegalStateException- if the current variant is not thecustomkind.
-
isDutch
public boolean isDutch()Is this variant instance of kinddutch? -
dutch
Get thedutchvariant value.- Throws:
IllegalStateException- if the current variant is not thedutchkind.
-
isFingerprint
public boolean isFingerprint()Is this variant instance of kindfingerprint? -
fingerprint
Get thefingerprintvariant value.- Throws:
IllegalStateException- if the current variant is not thefingerprintkind.
-
isIcuAnalyzer
public boolean isIcuAnalyzer()Is this variant instance of kindicu_analyzer? -
icuAnalyzer
Get theicu_analyzervariant value.- Throws:
IllegalStateException- if the current variant is not theicu_analyzerkind.
-
isKeyword
public boolean isKeyword()Is this variant instance of kindkeyword? -
keyword
Get thekeywordvariant value.- Throws:
IllegalStateException- if the current variant is not thekeywordkind.
-
isKuromoji
public boolean isKuromoji()Is this variant instance of kindkuromoji? -
kuromoji
Get thekuromojivariant value.- Throws:
IllegalStateException- if the current variant is not thekuromojikind.
-
isLanguage
public boolean isLanguage()Is this variant instance of kindlanguage? -
language
Get thelanguagevariant value.- Throws:
IllegalStateException- if the current variant is not thelanguagekind.
-
isNori
public boolean isNori()Is this variant instance of kindnori? -
nori
Get thenorivariant value.- Throws:
IllegalStateException- if the current variant is not thenorikind.
-
isPattern
public boolean isPattern()Is this variant instance of kindpattern? -
pattern
Get thepatternvariant value.- Throws:
IllegalStateException- if the current variant is not thepatternkind.
-
isPhone
public boolean isPhone()Is this variant instance of kindphone? -
phone
Get thephonevariant value.- Throws:
IllegalStateException- if the current variant is not thephonekind.
-
isSimple
public boolean isSimple()Is this variant instance of kindsimple? -
simple
Get thesimplevariant value.- Throws:
IllegalStateException- if the current variant is not thesimplekind.
-
isSmartcn
public boolean isSmartcn()Is this variant instance of kindsmartcn? -
smartcn
Get thesmartcnvariant value.- Throws:
IllegalStateException- if the current variant is not thesmartcnkind.
-
isSnowball
public boolean isSnowball()Is this variant instance of kindsnowball? -
snowball
Get thesnowballvariant value.- Throws:
IllegalStateException- if the current variant is not thesnowballkind.
-
isStandard
public boolean isStandard()Is this variant instance of kindstandard? -
standard
Get thestandardvariant value.- Throws:
IllegalStateException- if the current variant is not thestandardkind.
-
isStop
public boolean isStop()Is this variant instance of kindstop? -
stop
Get thestopvariant value.- Throws:
IllegalStateException- if the current variant is not thestopkind.
-
isWhitespace
public boolean isWhitespace()Is this variant instance of kindwhitespace? -
whitespace
Get thewhitespacevariant value.- Throws:
IllegalStateException- if the current variant is not thewhitespacekind.
-
serialize
- Specified by:
serializein interfaceJsonpSerializable
-
toBuilder
-
builder
-
setupAnalyzerDeserializer
-
hashCode
public int hashCode() -
equals
-