Package com.blazebit.persistence.spi
Enum SetOperationType
- java.lang.Object
-
- java.lang.Enum<SetOperationType>
-
- com.blazebit.persistence.spi.SetOperationType
-
- All Implemented Interfaces:
Serializable
,Comparable<SetOperationType>
public enum SetOperationType extends Enum<SetOperationType>
The possible set operation types.- Since:
- 1.2.0
- Author:
- Christian Beikov
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EXCEPT
The EXCEPT set operation.EXCEPT_ALL
The EXCEPT ALL set operation.INTERSECT
The INTERSECT set operation.INTERSECT_ALL
The INTERSECT ALL set operation.UNION
The UNION set operation.UNION_ALL
The UNION ALL set operation.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SetOperationType
valueOf(String name)
Returns the enum constant of this type with the specified name.static SetOperationType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNION
public static final SetOperationType UNION
The UNION set operation.
-
UNION_ALL
public static final SetOperationType UNION_ALL
The UNION ALL set operation.
-
INTERSECT
public static final SetOperationType INTERSECT
The INTERSECT set operation.
-
INTERSECT_ALL
public static final SetOperationType INTERSECT_ALL
The INTERSECT ALL set operation.
-
EXCEPT
public static final SetOperationType EXCEPT
The EXCEPT set operation.
-
EXCEPT_ALL
public static final SetOperationType EXCEPT_ALL
The EXCEPT ALL set operation.
-
-
Method Detail
-
values
public static SetOperationType[] 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 (SetOperationType c : SetOperationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SetOperationType 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
-
-