Class Join
java.lang.Object
net.sf.jsqlparser.parser.ASTNodeAccessImpl
net.sf.jsqlparser.statement.select.Join
- All Implemented Interfaces:
Serializable
,ASTNodeAccess
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate boolean
private boolean
private FromItem
private boolean
private boolean
private boolean
private JoinHint
private KSQLJoinWindow
private boolean
private boolean
private final LinkedList
<Expression> private boolean
private boolean
private boolean
private boolean
private boolean
private final LinkedList
<Column> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddOnExpression
(Expression expression) addUsingColumns
(Collection<? extends Column> usingColumns) addUsingColumns
(Column... usingColumns) Return the "WITHIN" join window (if any)Deprecated.Returns the right item of the joinReturns the "USING" list ofColumn
s (if any)boolean
isApply()
boolean
isCross()
boolean
isFull()
Whether is a "FULL" joinboolean
isGlobal()
boolean
isInner()
boolean
A JOIN means INNER when the INNER keyword is set or when no other qualifier has been set.boolean
isLeft()
Whether is a "LEFT" joinboolean
Whether is a "NATURAL" joinboolean
isOuter()
Whether is a "OUTER" joinboolean
isRight()
Whether is a "RIGHT" joinboolean
isSemi()
Whether is a "SEMI" joinboolean
isSimple()
boolean
boolean
void
setApply
(boolean apply) void
setCross
(boolean cross) setFromItem
(FromItem fromItem) void
setFull
(boolean b) void
setGlobal
(boolean b) void
setInner
(boolean b) Sets the INNER keyword and switches off any contradicting qualifiers automatically.setJoinHint
(JoinHint joinHint) void
setJoinWindow
(KSQLJoinWindow joinWindow) void
setLeft
(boolean b) Sets the LEFT keyword and switches off any contradicting qualifiers automatically.void
setNatural
(boolean b) void
setOnExpression
(Expression expression) Deprecated.setOnExpressions
(Collection<Expression> expressions) void
setOuter
(boolean b) Sets the OUTER keyword and switches off any contradicting qualifiers automatically.void
setRight
(boolean b) Sets the RIGHT keyword and switches off any contradicting qualifiers automatically.void
setRightItem
(FromItem item) void
setSemi
(boolean b) void
setSimple
(boolean b) void
setStraight
(boolean b) void
setUsingColumns
(List<Column> list) toString()
withApply
(boolean apply) withCross
(boolean cross) withFull
(boolean b) withInner
(boolean b) withJoinWindow
(KSQLJoinWindow joinWindow) withLeft
(boolean b) withNatural
(boolean b) withOnExpression
(Expression expression) Deprecated.withOuter
(boolean b) withRight
(boolean b) withRightItem
(FromItem item) Deprecated.withSemi
(boolean b) withSimple
(boolean b) withStraight
(boolean b) withUsingColumns
(List<Column> list) Methods inherited from class net.sf.jsqlparser.parser.ASTNodeAccessImpl
appendTo, getASTNode, setASTNode
-
Field Details
-
outer
private boolean outer -
right
private boolean right -
left
private boolean left -
natural
private boolean natural -
global
private boolean global -
full
private boolean full -
inner
private boolean inner -
simple
private boolean simple -
cross
private boolean cross -
semi
private boolean semi -
straight
private boolean straight -
apply
private boolean apply -
fromItem
-
onExpressions
-
usingColumns
-
joinWindow
-
joinHint
-
-
Constructor Details
-
Join
public Join()
-
-
Method Details
-
isSimple
public boolean isSimple() -
withSimple
-
setSimple
public void setSimple(boolean b) -
isInnerJoin
public boolean isInnerJoin()A JOIN means INNER when the INNER keyword is set or when no other qualifier has been set.- Returns:
- Tells, if a JOIN means a qualified INNER JOIN.
-
isInner
public boolean isInner()- Returns:
- Tells, if the INNER keyword has been set.
-
withInner
-
setInner
public void setInner(boolean b) Sets the INNER keyword and switches off any contradicting qualifiers automatically. -
isStraight
public boolean isStraight() -
withStraight
-
setStraight
public void setStraight(boolean b) -
isOuter
public boolean isOuter()Whether is a "OUTER" join- Returns:
- true if is a "OUTER" join
-
withOuter
-
setOuter
public void setOuter(boolean b) Sets the OUTER keyword and switches off any contradicting qualifiers automatically. -
isApply
public boolean isApply() -
withApply
-
setApply
public void setApply(boolean apply) -
isSemi
public boolean isSemi()Whether is a "SEMI" join- Returns:
- true if is a "SEMI" join
-
withSemi
-
setSemi
public void setSemi(boolean b) -
isLeft
public boolean isLeft()Whether is a "LEFT" join- Returns:
- true if is a "LEFT" join
-
withLeft
-
setLeft
public void setLeft(boolean b) Sets the LEFT keyword and switches off any contradicting qualifiers automatically. -
isRight
public boolean isRight()Whether is a "RIGHT" join- Returns:
- true if is a "RIGHT" join
-
withRight
-
setRight
public void setRight(boolean b) Sets the RIGHT keyword and switches off any contradicting qualifiers automatically. -
isNatural
public boolean isNatural()Whether is a "NATURAL" join- Returns:
- true if is a "NATURAL" join
-
isGlobal
public boolean isGlobal() -
withNatural
-
setNatural
public void setNatural(boolean b) -
setGlobal
public void setGlobal(boolean b) -
isFull
public boolean isFull()Whether is a "FULL" join- Returns:
- true if is a "FULL" join
-
withFull
-
setFull
public void setFull(boolean b) -
isCross
public boolean isCross() -
withCross
-
setCross
public void setCross(boolean cross) -
getRightItem
Returns the right item of the join -
withRightItem
Deprecated. -
setRightItem
-
getFromItem
-
setFromItem
-
getOnExpression
Deprecated.Returns the "ON" expression (if any) -
getOnExpressions
-
withOnExpression
Deprecated. -
setOnExpression
Deprecated. -
addOnExpression
-
setOnExpressions
-
getUsingColumns
Returns the "USING" list ofColumn
s (if any) -
withUsingColumns
-
setUsingColumns
-
isWindowJoin
public boolean isWindowJoin() -
getJoinWindow
Return the "WITHIN" join window (if any)- Returns:
-
withJoinWindow
-
setJoinWindow
-
getJoinHint
-
setJoinHint
-
toString
-
addUsingColumns
-
addUsingColumns
-