|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<SetOperation>
org.sql.generation.api.grammar.query.SetOperation
public enum SetOperation
This enum represents the possible set operations to combine queries with. These set operations are UNION,
INTERSECT, and EXCEPT.
| Enum Constant Summary | |
|---|---|
EXCEPT
The set difference ( EXCEPT) between two queries. |
|
INTERSECT
The INTERSECT between two queries. |
|
UNION
The UNION between two queries. |
|
| Method Summary | |
|---|---|
static SetOperation |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static SetOperation[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final SetOperation UNION
UNION between two queries.
public static final SetOperation INTERSECT
INTERSECT between two queries.
public static final SetOperation EXCEPT
EXCEPT) between two queries.
| Method Detail |
|---|
public static SetOperation[] values()
for (SetOperation c : SetOperation.values()) System.out.println(c);
public static SetOperation valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||