Enum SetQueryOperation.SetQueryOperationType
- java.lang.Object
-
- java.lang.Enum<SetQueryOperation.SetQueryOperationType>
-
- org.apache.flink.table.operations.SetQueryOperation.SetQueryOperationType
-
- All Implemented Interfaces:
Serializable,Comparable<SetQueryOperation.SetQueryOperationType>
- Enclosing class:
- SetQueryOperation
@Internal public static enum SetQueryOperation.SetQueryOperationType extends Enum<SetQueryOperation.SetQueryOperationType>
Represent kind of this set operation.- MINUS returns records from the left relation that do not exist in the right relation
- INTERSECT returns records that exist in both relation
- UNION returns records from both relations as a single relation
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SetQueryOperation.SetQueryOperationTypevalueOf(String name)Returns the enum constant of this type with the specified name.static SetQueryOperation.SetQueryOperationType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INTERSECT
public static final SetQueryOperation.SetQueryOperationType INTERSECT
-
MINUS
public static final SetQueryOperation.SetQueryOperationType MINUS
-
UNION
public static final SetQueryOperation.SetQueryOperationType UNION
-
-
Method Detail
-
values
public static SetQueryOperation.SetQueryOperationType[] 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 (SetQueryOperation.SetQueryOperationType c : SetQueryOperation.SetQueryOperationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SetQueryOperation.SetQueryOperationType 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
-
-