net.sf.saffron.sql
Class SqlJoinOperator.JoinType

java.lang.Object
  |
  +--net.sf.saffron.util.EnumeratedValues.BasicValue
        |
        +--net.sf.saffron.sql.SqlJoinOperator.JoinType
All Implemented Interfaces:
EnumeratedValues.Value
Enclosing class:
SqlJoinOperator

public static class SqlJoinOperator.JoinType
extends EnumeratedValues.BasicValue

Enumerates the types of join.


Field Summary
static 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.
static int Comma_ORDINAL
           
static SqlJoinOperator.JoinType Cross
          Cross join (also known as Cartesian product).
static int Cross_ORDINAL
           
static EnumeratedValues enumeration
          List of all allowable SqlJoinOperator.JoinType values.
static SqlJoinOperator.JoinType Full
          Full outer join.
static int Full_ORDINAL
           
static SqlJoinOperator.JoinType Inner
          Inner join.
static int Inner_ORDINAL
           
static SqlJoinOperator.JoinType Left
          Left outer join.
static int Left_ORDINAL
           
static SqlJoinOperator.JoinType Right
          Right outer join.
static int Right_ORDINAL
           
 
Fields inherited from class net.sf.saffron.util.EnumeratedValues.BasicValue
description_, name_, ordinal_
 
Constructor Summary
private SqlJoinOperator.JoinType(String name, int ordinal)
           
 
Method Summary
static SqlJoinOperator.JoinType get(int ordinal)
          Looks up a join type from its ordinal.
static SqlJoinOperator.JoinType get(String name)
          Looks up a join type from its name.
 
Methods inherited from class net.sf.saffron.util.EnumeratedValues.BasicValue
equals, getDescription, getName, getOrdinal, toString, unexpected
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

Inner_ORDINAL

public static final int Inner_ORDINAL
See Also:
Constant Field Values

Inner

public static final SqlJoinOperator.JoinType Inner
Inner join.


Full_ORDINAL

public static final int Full_ORDINAL
See Also:
Constant Field Values

Full

public static final SqlJoinOperator.JoinType Full
Full outer join.


Cross_ORDINAL

public static final int Cross_ORDINAL
See Also:
Constant Field Values

Cross

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


Left_ORDINAL

public static final int Left_ORDINAL
See Also:
Constant Field Values

Left

public static final SqlJoinOperator.JoinType Left
Left outer join.


Right_ORDINAL

public static final int Right_ORDINAL
See Also:
Constant Field Values

Right

public static final SqlJoinOperator.JoinType Right
Right outer join.


Comma_ORDINAL

public static final int Comma_ORDINAL
See Also:
Constant Field Values

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.


enumeration

public static final EnumeratedValues enumeration
List of all allowable SqlJoinOperator.JoinType values.

Constructor Detail

SqlJoinOperator.JoinType

private SqlJoinOperator.JoinType(String name,
                                 int ordinal)
Method Detail

get

public static SqlJoinOperator.JoinType get(int ordinal)
Looks up a join type from its ordinal.


get

public static SqlJoinOperator.JoinType get(String name)
Looks up a join type from its name.


SourceForge.net_Logo