public enum JoinType extends Enum<JoinType> implements Readable
Enum Constant and Description |
---|
CROSS |
FULL_OUTER |
INNER |
LEFT_OUTER |
RIGHT_OUTER |
Modifier and Type | Method and Description |
---|---|
static JoinType |
forSymbol(String symbol)
Attempt to find the JoinType given a symbol.
|
String |
getString()
Get the string representation of this query object.
|
boolean |
isOuter()
Check if this join type is an outer join.
|
String |
symbol() |
String |
toString() |
static JoinType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JoinType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JoinType INNER
public static final JoinType LEFT_OUTER
public static final JoinType RIGHT_OUTER
public static final JoinType FULL_OUTER
public static final JoinType CROSS
public static JoinType[] values()
for (JoinType c : JoinType.values()) System.out.println(c);
public static JoinType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String symbol()
public boolean isOuter()
public static JoinType forSymbol(String symbol)
symbol
- the symbolIllegalArgumentException
- if the symbol is nullCopyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.