public enum JoinType extends Enum<JoinType> implements SqlLiteral.SqlSymbol
| Enum Constant and Description |
|---|
COMMA
Comma join: the good old-fashioned SQL
FROM clause,
where table expressions are specified with commas between them, and
join conditions are specified in the WHERE clause. |
CROSS
Cross join (also known as Cartesian product).
|
FULL
Full outer join.
|
INNER
Inner join.
|
LEFT
Left outer join.
|
RIGHT
Right outer join.
|
| Modifier and Type | Method and Description |
|---|---|
SqlLiteral |
symbol(SqlParserPos pos)
Creates a parse-tree node representing an occurrence of this
condition type keyword at a particular position in the parsed
text.
|
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.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfname, ordinalpublic static final JoinType INNER
public static final JoinType FULL
public static final JoinType CROSS
public static final JoinType LEFT
public static final JoinType RIGHT
public static final JoinType COMMA
FROM clause,
where table expressions are specified with commas between them, and
join conditions are specified in the WHERE clause.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 SqlLiteral symbol(SqlParserPos pos)
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.