public class UsingJoinCondition extends AbstractSQLFragment implements JoinCondition
AbstractDBObject.ChildSupport, AbstractDBObject.ListenerSupport| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
USING
USING keyword - identifies common Column names to JOIN across the tables.
|
AS, COMMA, DEFAULT_SEPARATOR, EMPTY, EMPTY_ARRAY, INDENT, LEFT_PAREN, NEWLINE, RIGHT_PAREN, SPACE| Constructor and Description |
|---|
UsingJoinCondition() |
UsingJoinCondition(FromObjectUsage[] cols) |
| Modifier and Type | Method and Description |
|---|---|
void |
addColumn(FromObjectUsage col) |
void |
addColumn(int index,
FromObjectUsage col) |
FromObjectUsage[] |
getColumns() |
java.lang.String |
getConditionText()
Returns the condition text - this is the sql text without the condition
keyword.
|
java.lang.String |
getSQLText()
Return the SQL for this fragment.
|
boolean |
removeColumn(FromObjectUsage col) |
void |
setColumns(FromObjectUsage[] cols) |
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, waitgetStartOffsetgetParent, setParentaddObjectListener, copyTo, copyTo, copyTo, equals, findOwnedObject, findOwnedObject, findOwnedObject, getID, getName, getOwnedObjects, getOwnedObjects, getProperties, getProperty, getProperty, getReferenceIDs, getType, hashCode, removeObjectListener, removeOwnedObject, replaceReferenceIDs, setID, setName, setProperties, setPropertypublic static final java.lang.String USING
public UsingJoinCondition()
public UsingJoinCondition(FromObjectUsage[] cols)
public FromObjectUsage[] getColumns()
public void setColumns(FromObjectUsage[] cols)
public void addColumn(FromObjectUsage col)
public void addColumn(int index,
FromObjectUsage col)
public boolean removeColumn(FromObjectUsage col)
public java.lang.String getSQLText()
SQLFragmentgetSQLText in interface SQLFragmentpublic java.lang.String getConditionText()
JoinConditiongetConditionText in interface JoinCondition