public enum JoinConditionType extends Enum<JoinConditionType> implements SqlLiteral.SqlSymbol
| Enum Constant and Description |
|---|
NONE
Join clause has no condition, for example "FROM EMP, DEPT"
|
ON
Join clause has an ON condition, for example "FROM EMP JOIN DEPT ON
EMP.DEPTNO = DEPT.DEPTNO"
|
USING
Join clause has a USING condition, for example "FROM EMP JOIN DEPT
USING (DEPTNO)"
|
| Modifier and Type | Method and Description |
|---|---|
SqlLiteral |
symbol(SqlParserPos pos)
Creates a parse-tree node representing an occurrence of this join
type at a particular position in the parsed text.
|
static JoinConditionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JoinConditionType[] |
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 JoinConditionType NONE
public static final JoinConditionType ON
public static final JoinConditionType USING
public static JoinConditionType[] values()
for (JoinConditionType c : JoinConditionType.values()) System.out.println(c);
public static JoinConditionType 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.