Enum Analyzer.Kind
- java.lang.Object
-
- java.lang.Enum<Analyzer.Kind>
-
- org.opensearch.client.opensearch._types.analysis.Analyzer.Kind
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Analyzer.Kind>
,JsonEnum
,JsonpSerializable
- Enclosing class:
- Analyzer
public static enum Analyzer.Kind extends java.lang.Enum<Analyzer.Kind> implements JsonEnum
Analyzer
variant kinds.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.opensearch.client.json.JsonEnum
JsonEnum.Deserializer<T extends JsonEnum>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
jsonValue()
static Analyzer.Kind
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Analyzer.Kind[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Custom
public static final Analyzer.Kind Custom
-
Dutch
public static final Analyzer.Kind Dutch
-
Fingerprint
public static final Analyzer.Kind Fingerprint
-
IcuAnalyzer
public static final Analyzer.Kind IcuAnalyzer
-
Keyword
public static final Analyzer.Kind Keyword
-
Kuromoji
public static final Analyzer.Kind Kuromoji
-
Language
public static final Analyzer.Kind Language
-
Nori
public static final Analyzer.Kind Nori
-
Pattern
public static final Analyzer.Kind Pattern
-
Simple
public static final Analyzer.Kind Simple
-
Snowball
public static final Analyzer.Kind Snowball
-
Standard
public static final Analyzer.Kind Standard
-
Stop
public static final Analyzer.Kind Stop
-
Whitespace
public static final Analyzer.Kind Whitespace
-
Smartcn
public static final Analyzer.Kind Smartcn
-
Cjk
public static final Analyzer.Kind Cjk
-
-
Method Detail
-
values
public static Analyzer.Kind[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Analyzer.Kind c : Analyzer.Kind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Analyzer.Kind valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-