org.eigenbase.sql
Enum SqlJoinOperator.JoinType

java.lang.Object
  extended by java.lang.Enum<SqlJoinOperator.JoinType>
      extended by org.eigenbase.sql.SqlJoinOperator.JoinType
All Implemented Interfaces:
Serializable, Comparable<SqlJoinOperator.JoinType>, SqlLiteral.SqlSymbol
Enclosing class:
SqlJoinOperator

public static enum SqlJoinOperator.JoinType
extends Enum<SqlJoinOperator.JoinType>
implements SqlLiteral.SqlSymbol

Enumerates the types of join.


Enum Constant Summary
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.
 
Method Summary
static SqlJoinOperator.JoinType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SqlJoinOperator.JoinType[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eigenbase.sql.SqlLiteral.SqlSymbol
name, ordinal
 

Enum Constant Detail

Inner

public static final SqlJoinOperator.JoinType Inner
Inner join.


Full

public static final SqlJoinOperator.JoinType Full
Full outer join.


Cross

public static final SqlJoinOperator.JoinType Cross
Cross join (also known as Cartesian product).


Left

public static final SqlJoinOperator.JoinType Left
Left outer join.


Right

public static final SqlJoinOperator.JoinType Right
Right outer join.


Comma

public static final SqlJoinOperator.JoinType 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.

Method Detail

values

public static final SqlJoinOperator.JoinType[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(SqlJoinOperator.JoinType c : SqlJoinOperator.JoinType.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static SqlJoinOperator.JoinType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name