public class SQLJoin extends Object implements SQLExpressionIF
Cross joins, left outer joins and right outer joins are supported.
Modifier and Type | Field and Description |
---|---|
static int |
CROSS |
protected int |
jointype |
protected SQLColumns |
left |
static int |
LEFT_OUTER |
protected SQLColumns |
right |
static int |
RIGHT_OUTER |
AND, EQUALS, EXISTS, FALSE, IN, IS_NULL, JOIN, LIKE, NOT, NOT_EQUALS, OR, SET_OPERATION, VALUE_EXPRESSION, VERBATIM
Constructor and Description |
---|
SQLJoin() |
SQLJoin(SQLColumns left,
SQLColumns right) |
SQLJoin(SQLColumns left,
SQLColumns right,
int jointype) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
getJoinType() |
SQLColumns |
getLeft() |
SQLColumns |
getRight() |
int |
getType()
INTERNAL: Returns the expression type.
|
int |
hashCode() |
void |
setJoinType(int jointype) |
void |
setLeft(SQLColumns left) |
void |
setRight(SQLColumns right) |
String |
toString() |
public static final int CROSS
public static final int LEFT_OUTER
public static final int RIGHT_OUTER
protected int jointype
protected SQLColumns left
protected SQLColumns right
public SQLJoin()
public SQLJoin(SQLColumns left, SQLColumns right)
public SQLJoin(SQLColumns left, SQLColumns right, int jointype)
public int getType()
SQLExpressionIF
SQLExpressionIF
interface.getType
in interface SQLExpressionIF
public int getJoinType()
public void setJoinType(int jointype)
public SQLColumns getLeft()
public void setLeft(SQLColumns left)
public SQLColumns getRight()
public void setRight(SQLColumns right)