Package io.trino.sql.tree
Enum LikeClause.PropertiesOption
- java.lang.Object
-
- java.lang.Enum<LikeClause.PropertiesOption>
-
- io.trino.sql.tree.LikeClause.PropertiesOption
-
- All Implemented Interfaces:
Serializable
,Comparable<LikeClause.PropertiesOption>
- Enclosing class:
- LikeClause
public static enum LikeClause.PropertiesOption extends Enum<LikeClause.PropertiesOption>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LikeClause.PropertiesOption
valueOf(String name)
Returns the enum constant of this type with the specified name.static LikeClause.PropertiesOption[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INCLUDING
public static final LikeClause.PropertiesOption INCLUDING
-
EXCLUDING
public static final LikeClause.PropertiesOption EXCLUDING
-
-
Method Detail
-
values
public static LikeClause.PropertiesOption[] 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 (LikeClause.PropertiesOption c : LikeClause.PropertiesOption.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LikeClause.PropertiesOption 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
-
-