Module net.sf.jsqlparser
Enum LikeExpression.KeyWord
- java.lang.Object
-
- java.lang.Enum<LikeExpression.KeyWord>
-
- net.sf.jsqlparser.expression.operators.relational.LikeExpression.KeyWord
-
- All Implemented Interfaces:
Serializable
,Comparable<LikeExpression.KeyWord>
- Enclosing class:
- LikeExpression
public static enum LikeExpression.KeyWord extends Enum<LikeExpression.KeyWord>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ILIKE
LIKE
MATCH_ALL
MATCH_ANY
MATCH_PHRASE
MATCH_PHRASE_PREFIX
MATCH_REGEXP
REGEXP
REGEXP_LIKE
RLIKE
SIMILAR_TO
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LikeExpression.KeyWord
from(String keyword)
static LikeExpression.KeyWord
valueOf(String name)
Returns the enum constant of this type with the specified name.static LikeExpression.KeyWord[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LIKE
public static final LikeExpression.KeyWord LIKE
-
ILIKE
public static final LikeExpression.KeyWord ILIKE
-
RLIKE
public static final LikeExpression.KeyWord RLIKE
-
REGEXP_LIKE
public static final LikeExpression.KeyWord REGEXP_LIKE
-
REGEXP
public static final LikeExpression.KeyWord REGEXP
-
SIMILAR_TO
public static final LikeExpression.KeyWord SIMILAR_TO
-
MATCH_ANY
public static final LikeExpression.KeyWord MATCH_ANY
-
MATCH_ALL
public static final LikeExpression.KeyWord MATCH_ALL
-
MATCH_PHRASE
public static final LikeExpression.KeyWord MATCH_PHRASE
-
MATCH_PHRASE_PREFIX
public static final LikeExpression.KeyWord MATCH_PHRASE_PREFIX
-
MATCH_REGEXP
public static final LikeExpression.KeyWord MATCH_REGEXP
-
-
Method Detail
-
values
public static LikeExpression.KeyWord[] 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 (LikeExpression.KeyWord c : LikeExpression.KeyWord.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LikeExpression.KeyWord valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
from
public static LikeExpression.KeyWord from(String keyword)
-
-