org.axiondb
public class FromNode extends Object
Version: $Revision: 1.12 $ $Date: 2005/04/01 01:35:26 $
Field Summary | |
---|---|
static int | TYPE_INNER Inner join. |
static int | TYPE_LEFT Left outer join |
static int | TYPE_RIGHT Right outer join |
static int | TYPE_SINGLE No Join |
Constructor Summary | |
---|---|
FromNode() |
Method Summary | |
---|---|
Selectable | getCondition()
get the join condition
|
Object | getLeft()
Get the Left input
|
Object | getRight()
get the right input
|
int | getTableCount()
Number of tables in this FromNode and its children.
|
int | getType()
get the type of the join
|
boolean | hasCondition() |
boolean | hasLeft() |
boolean | hasRight() |
boolean | isInnerJoin() |
boolean | isLeftJoin() |
boolean | isRightJoin() |
void | setCondition(Selectable condition)
Set the join condition
|
void | setLeft(FromNode join) |
void | setLeft(Object table) |
void | setRight(FromNode join) |
void | setRight(Object table) |
void | setType(int type)
Set the type of join.
|
String | toString() |
TableIdentifier[] | toTableArray()
Array of tables in this FromNode or its children. |
static String | typeToString(int type) |
Returns: join condition.
Returns: Object of type FromNodeor TableIdentifier
Returns: Object of type FromNodeor TableIdentifier
Returns: table count.
Returns: integer indicating type (UNDEFINED, LEFT OUTER, RIGHT OUTER, INNER)
Parameters: type condition Join condition.
Parameters: type integer value representing join type (INNER, LEFT OUTER, RIGHT OUTER)
Returns: Array of TableIdentifier