Package org.hibernate.query.sqm
Enum Class SetOperator
- All Implemented Interfaces:
Serializable
,Comparable<SetOperator>
,Constable
The SQL set operators.
- API Note:
- This is an SPI type. It should never occur in APIs visible to the application program.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionExclusion of set elements of the set on the right-hand side.Exclusion of bag elements of the bag on the right-hand side that retains duplicates.Intersection of sets that removes duplicate rows.Intersection of bags that retains duplicate matches.Union of sets that removes duplicate rows.Union of bags that retains all elements. -
Method Summary
Modifier and TypeMethodDescriptionstatic SetOperator
Returns the enum constant of this class with the specified name.static SetOperator[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNION
Union of sets that removes duplicate rows. -
UNION_ALL
Union of bags that retains all elements. -
INTERSECT
Intersection of sets that removes duplicate rows. -
INTERSECT_ALL
Intersection of bags that retains duplicate matches. -
EXCEPT
Exclusion of set elements of the set on the right-hand side. -
EXCEPT_ALL
Exclusion of bag elements of the bag on the right-hand side that retains duplicates.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
sqlString
-