Enum PhoneticMatcher
- java.lang.Object
-
- java.lang.Enum<PhoneticMatcher>
-
- com.redislabs.lettusearch.search.field.PhoneticMatcher
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<PhoneticMatcher>
,java.lang.constant.Constable
public enum PhoneticMatcher extends java.lang.Enum<PhoneticMatcher>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description English
French
Portuguese
Spanish
-
Method Summary
Modifier and Type Method Description java.lang.String
getCode()
static PhoneticMatcher
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PhoneticMatcher[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
English
public static final PhoneticMatcher English
-
French
public static final PhoneticMatcher French
-
Portuguese
public static final PhoneticMatcher Portuguese
-
Spanish
public static final PhoneticMatcher Spanish
-
-
Method Detail
-
values
public static PhoneticMatcher[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PhoneticMatcher 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
-
getCode
public java.lang.String getCode()
-
-