net.sf.farrago.fennel.rel
Enum LhxJoinRelType

java.lang.Object
  extended by java.lang.Enum<LhxJoinRelType>
      extended by net.sf.farrago.fennel.rel.LhxJoinRelType
All Implemented Interfaces:
Serializable, Comparable<LhxJoinRelType>

public enum LhxJoinRelType
extends Enum<LhxJoinRelType>

Enumeration of LucidDB Hash Join types.

Version:
$Id: //open/dev/farrago/src/net/sf/farrago/fennel/rel/LhxJoinRelType.java#1 $
Author:
Rushan Chen

Enum Constant Summary
FULL
           
INNER
           
LEFT
           
LEFTSEMI
           
RIGHT
           
RIGHTANTI
           
RIGHTSEMI
           
 
Field Summary
private  JoinRelType logicalJoinType
           
 
Method Summary
static LhxJoinRelType getLhxJoinType(JoinRelType logicalJoinType)
           
 JoinRelType getLogicalJoinType()
           
static LhxJoinRelType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static LhxJoinRelType[] 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
 

Enum Constant Detail

INNER

public static final LhxJoinRelType INNER

LEFT

public static final LhxJoinRelType LEFT

RIGHT

public static final LhxJoinRelType RIGHT

FULL

public static final LhxJoinRelType FULL

LEFTSEMI

public static final LhxJoinRelType LEFTSEMI

RIGHTSEMI

public static final LhxJoinRelType RIGHTSEMI

RIGHTANTI

public static final LhxJoinRelType RIGHTANTI
Field Detail

logicalJoinType

private final JoinRelType logicalJoinType
Method Detail

values

public static final LhxJoinRelType[] 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(LhxJoinRelType c : LhxJoinRelType.values())
        System.out.println(c);

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

valueOf

public static LhxJoinRelType 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

getLogicalJoinType

public JoinRelType getLogicalJoinType()

getLhxJoinType

public static LhxJoinRelType getLhxJoinType(JoinRelType logicalJoinType)