public class Join extends Object
Constructor and Description |
---|
Join(FromItem rightItem,
Expression onExpression) |
Modifier and Type | Method and Description |
---|---|
static Join |
crossJoin(FromItem rightItem,
Expression onExpression) |
static Join |
fullJoin(FromItem rightItem,
Expression onExpression) |
static Join |
fullOutJoin(FromItem rightItem,
Expression onExpression) |
Expression |
getOnExpression()
Returns the "ON" expression (if any)
|
FromItem |
getRightItem()
Returns the right item of the join
|
List<Column> |
getUsingColumns()
Returns the "USING" list of
Column s (if any) |
boolean |
isCross() |
boolean |
isFull()
Whether is a "FULL" join
|
boolean |
isInner()
Whether is a "INNER" join
|
boolean |
isLeft()
Whether is a "LEFT" join
|
boolean |
isNatural()
Whether is a "NATURAL" join
|
boolean |
isOuter()
Whether is a "OUTER" join
|
boolean |
isRight()
Whether is a "RIGHT" join
|
boolean |
isSimple()
Whether is a tab1,tab2 join
|
static Join |
leftJoin(FromItem rightItem,
Expression onExpression) |
static Join |
leftOutJoin(FromItem rightItem,
Expression onExpression) |
static Join |
newJoin(FromItem rightItem,
Expression onExpression) |
static Join |
rightJoin(FromItem rightItem,
Expression onExpression) |
static Join |
rightOutJoin(FromItem rightItem,
Expression onExpression) |
void |
setCross(boolean cross) |
void |
setFull(boolean b) |
void |
setInner(boolean b) |
void |
setLeft(boolean b) |
void |
setNatural(boolean b) |
void |
setOnExpression(Expression expression) |
void |
setOuter(boolean b) |
void |
setRight(boolean b) |
void |
setRightItem(FromItem item) |
void |
setSimple(boolean b) |
void |
setUsingColumns(List<Column> list) |
static Join |
simpleJoin(FromItem rightItem) |
String |
toString() |
public Join(FromItem rightItem, Expression onExpression)
public static Join rightOutJoin(FromItem rightItem, Expression onExpression)
public static Join leftOutJoin(FromItem rightItem, Expression onExpression)
public static Join fullOutJoin(FromItem rightItem, Expression onExpression)
public static Join rightJoin(FromItem rightItem, Expression onExpression)
public static Join leftJoin(FromItem rightItem, Expression onExpression)
public static Join crossJoin(FromItem rightItem, Expression onExpression)
public static Join fullJoin(FromItem rightItem, Expression onExpression)
public static Join newJoin(FromItem rightItem, Expression onExpression)
public boolean isSimple()
public void setSimple(boolean b)
public boolean isInner()
public void setInner(boolean b)
public boolean isOuter()
public void setOuter(boolean b)
public boolean isLeft()
public void setLeft(boolean b)
public boolean isRight()
public void setRight(boolean b)
public boolean isNatural()
public void setNatural(boolean b)
public boolean isFull()
public void setFull(boolean b)
public boolean isCross()
public void setCross(boolean cross)
public FromItem getRightItem()
public void setRightItem(FromItem item)
public Expression getOnExpression()
public void setOnExpression(Expression expression)
Copyright © 2006–2018 TinyGroup. All rights reserved.