net.sf.jsqlparser.statement.select
Class Join

java.lang.Object
  extended by net.sf.jsqlparser.statement.select.Join

public class Join
extends java.lang.Object

A join clause


Field Summary
private  boolean full
           
private  boolean inner
           
private  boolean left
           
private  boolean natural
           
private  Expression onExpression
           
private  boolean outer
           
private  boolean right
           
private  FromItem rightItem
           
private  boolean simple
           
private  java.util.List usingColumns
           
 
Constructor Summary
Join()
           
 
Method Summary
 Expression getOnExpression()
          Returns the "ON" expression (if any)
 FromItem getRightItem()
          Returns the right item of the join
 java.util.List getUsingColumns()
          Returns the "USING" list of Columns (if any)
 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
 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(java.util.List list)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

outer

private boolean outer

right

private boolean right

left

private boolean left

natural

private boolean natural

full

private boolean full

inner

private boolean inner

simple

private boolean simple

rightItem

private FromItem rightItem

onExpression

private Expression onExpression

usingColumns

private java.util.List usingColumns
Constructor Detail

Join

public Join()
Method Detail

isSimple

public boolean isSimple()
Whether is a tab1,tab2 join

Returns:
true if is a "tab1,tab2" join

setSimple

public void setSimple(boolean b)

isInner

public boolean isInner()
Whether is a "INNER" join

Returns:
true if is a "INNER" join

setInner

public void setInner(boolean b)

isOuter

public boolean isOuter()
Whether is a "OUTER" join

Returns:
true if is a "OUTER" join

setOuter

public void setOuter(boolean b)

isLeft

public boolean isLeft()
Whether is a "LEFT" join

Returns:
true if is a "LEFT" join

setLeft

public void setLeft(boolean b)

isRight

public boolean isRight()
Whether is a "RIGHT" join

Returns:
true if is a "RIGHT" join

setRight

public void setRight(boolean b)

isNatural

public boolean isNatural()
Whether is a "NATURAL" join

Returns:
true if is a "NATURAL" join

setNatural

public void setNatural(boolean b)

isFull

public boolean isFull()
Whether is a "FULL" join

Returns:
true if is a "FULL" join

setFull

public void setFull(boolean b)

getRightItem

public FromItem getRightItem()
Returns the right item of the join


setRightItem

public void setRightItem(FromItem item)

getOnExpression

public Expression getOnExpression()
Returns the "ON" expression (if any)


setOnExpression

public void setOnExpression(Expression expression)

getUsingColumns

public java.util.List getUsingColumns()
Returns the "USING" list of Columns (if any)


setUsingColumns

public void setUsingColumns(java.util.List list)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object