public class JoinObject extends AbstractSQLFragment
AbstractDBObject.ChildSupport, AbstractDBObject.ListenerSupport| Modifier and Type | Field and Description | 
|---|---|
| static java.lang.String | CROSSInner join type
 Usage: table_reference CROSS [INNER] JOIN table_reference | 
| static java.lang.String | FULLOuter join type: FULL
 Usage: table_reference [NATURAL] FULL [OUTER] JOIN table_reference [ON|USING...] | 
| static java.lang.String | INNERInner join type
 Usage: table_reference [CROSS|NATURAL] [INNER] JOIN table_reference [ON|USING...] | 
| static java.lang.String | LEFTOuter join type: LEFT
 Usage: table_reference [NATURAL] LEFT [OUTER] JOIN table_reference [ON|USING...] | 
| static java.lang.String | RIGHTOuter join type: RIGHT
 Usage: table_reference [NATURAL] RIGHT [OUTER] JOIN table_reference [ON|USING...] | 
AS, COMMA, DEFAULT_SEPARATOR, EMPTY, EMPTY_ARRAY, INDENT, LEFT_PAREN, NEWLINE, RIGHT_PAREN, SPACE| Constructor and Description | 
|---|
| JoinObject() | 
| JoinObject(FromObject left,
          FromObject right,
          JoinCondition condition)Creates a default join for the given FromObjects and condition. | 
| JoinObject(FromObject left,
          FromObject right,
          java.lang.String type,
          boolean natural,
          JoinCondition condition)Note: If using existing FromObjects for the left or right parameters, it
 is the responsibility of the API user to remove these FromObjects from
 the query. | 
| Modifier and Type | Method and Description | 
|---|---|
| JoinCondition | getCondition() | 
| boolean | getIncludeJoinKeyword() | 
| java.lang.String | getJoinType() | 
| FromObject | getLeftExpression() | 
| ExpressionList | getLeftPartitionBy() | 
| FromObject | getRightExpression() | 
| ExpressionList | getRightPartitionBy() | 
| java.lang.String | getSQLText()Return the SQL for this fragment. | 
| boolean | isNatural() | 
| boolean | isOuterJoin()Returns true if this is a FULL, LEFT or RIGHT OUTER JOIN, and false if this
 is an INNER JOIN. | 
| void | setCondition(JoinCondition condition) | 
| void | setIncludeJoinKeyword(boolean inc) | 
| void | setJoinType(java.lang.String type) | 
| void | setLeftExpression(FromObject left) | 
| void | setLeftPartitionBy(ExpressionList leftPartitionBy) | 
| void | setNatural(boolean natural) | 
| void | setRightExpression(FromObject right) | 
| void | setRightPartitionBy(ExpressionList rightPartitionBy) | 
appendToBuffer, appendToBuffer, argsToString, getName, getStartOffset, getTextOrNull, getTextOrNull, getType, setStartOffset, surroundWithBrackets, surroundWithBrackets, toStringsetParentcheckInit, checkInit, copyToImpl, getOwnedObjectsImpl, getProperties, getReferenceIDsImpl, needsInitialization, processPropertyChange, setIDaddObjectListener, addObjectListener, addObjectListener, changeParent, compareToImpl, copyObject, copyTo, copyTo, copyTo, copyTo, equals, equalsImpl, findOwnedObject, findOwnedObject, findOwnedObject, findOwnedObject, findParent, fireObjectUpdated, firePropertyChanged, getChildSupport, getChildSupport, getID, getOwnedObjects, getOwnedObjects, getParent, getProperty, getProperty, getReferenceIDs, hashCode, includeOwnedObject, includesType, includesType, removeObjectListener, removeObjectListener, removeObjectListener, removeOwnedObject, removeThisAsParent, replaceReferenceIDs, setName, setProperties, setPropertyclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetParent, setParentaddObjectListener, copyTo, copyTo, copyTo, equals, findOwnedObject, findOwnedObject, findOwnedObject, getID, getOwnedObjects, getOwnedObjects, getProperties, getProperty, getProperty, getReferenceIDs, hashCode, removeObjectListener, removeOwnedObject, replaceReferenceIDs, setID, setName, setProperties, setPropertypublic static final java.lang.String LEFT
public static final java.lang.String RIGHT
public static final java.lang.String FULL
public static final java.lang.String INNER
public static final java.lang.String CROSS
public JoinObject()
public JoinObject(FromObject left, FromObject right, JoinCondition condition)
left - right - condition - public JoinObject(FromObject left, FromObject right, java.lang.String type, boolean natural, JoinCondition condition)
left - right - type - natural - condition - public FromObject getLeftExpression()
public void setLeftExpression(FromObject left)
public FromObject getRightExpression()
public void setRightExpression(FromObject right)
public boolean getIncludeJoinKeyword()
public void setIncludeJoinKeyword(boolean inc)
public java.lang.String getJoinType()
public void setJoinType(java.lang.String type)
public boolean isNatural()
public void setNatural(boolean natural)
public JoinCondition getCondition()
public void setCondition(JoinCondition condition)
public ExpressionList getLeftPartitionBy()
public void setLeftPartitionBy(ExpressionList leftPartitionBy)
public ExpressionList getRightPartitionBy()
public void setRightPartitionBy(ExpressionList rightPartitionBy)
public boolean isOuterJoin()
public java.lang.String getSQLText()
SQLFragment