Package io.trino.sql.relational
Enum SpecialForm.Form
- java.lang.Object
-
- java.lang.Enum<SpecialForm.Form>
-
- io.trino.sql.relational.SpecialForm.Form
-
- All Implemented Interfaces:
Serializable,Comparable<SpecialForm.Form>
- Enclosing class:
- SpecialForm
public static enum SpecialForm.Form extends Enum<SpecialForm.Form>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SpecialForm.FormvalueOf(String name)Returns the enum constant of this type with the specified name.static SpecialForm.Form[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IF
public static final SpecialForm.Form IF
-
NULL_IF
public static final SpecialForm.Form NULL_IF
-
SWITCH
public static final SpecialForm.Form SWITCH
-
WHEN
public static final SpecialForm.Form WHEN
-
BETWEEN
public static final SpecialForm.Form BETWEEN
-
IS_NULL
public static final SpecialForm.Form IS_NULL
-
COALESCE
public static final SpecialForm.Form COALESCE
-
IN
public static final SpecialForm.Form IN
-
AND
public static final SpecialForm.Form AND
-
OR
public static final SpecialForm.Form OR
-
DEREFERENCE
public static final SpecialForm.Form DEREFERENCE
-
ROW_CONSTRUCTOR
public static final SpecialForm.Form ROW_CONSTRUCTOR
-
BIND
public static final SpecialForm.Form BIND
-
-
Method Detail
-
values
public static SpecialForm.Form[] 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 (SpecialForm.Form c : SpecialForm.Form.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SpecialForm.Form 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
-
-