Package org.apache.calcite.rel.core
Enum TableModify.Operation
- java.lang.Object
-
- java.lang.Enum<TableModify.Operation>
-
- org.apache.calcite.rel.core.TableModify.Operation
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<TableModify.Operation>
- Enclosing class:
- TableModify
public static enum TableModify.Operation extends java.lang.Enum<TableModify.Operation>
Enumeration of supported modification operations.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
Operation()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TableModify.Operation
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TableModify.Operation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INSERT
public static final TableModify.Operation INSERT
-
UPDATE
public static final TableModify.Operation UPDATE
-
DELETE
public static final TableModify.Operation DELETE
-
MERGE
public static final TableModify.Operation MERGE
-
-
Method Detail
-
values
public static TableModify.Operation[] 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 (TableModify.Operation c : TableModify.Operation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TableModify.Operation 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
-
-