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:
java.io.Serializable
,java.lang.Comparable<LikeExpression.KeyWord>
- Enclosing class:
- LikeExpression
public static enum LikeExpression.KeyWord extends java.lang.Enum<LikeExpression.KeyWord>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ILIKE
LIKE
REGEXP
RLIKE
SIMILAR_TO
-
Constructor Summary
Constructors Modifier Constructor Description private
KeyWord()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LikeExpression.KeyWord
from(java.lang.String keyword)
static LikeExpression.KeyWord
valueOf(java.lang.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
public static final LikeExpression.KeyWord REGEXP
-
SIMILAR_TO
public static final LikeExpression.KeyWord SIMILAR_TO
-
-
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(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
-
from
public static LikeExpression.KeyWord from(java.lang.String keyword)
-
-