public class ColumnUsage extends AbstractDBObjectUsage implements SQLFragmentWithDatatype
AbstractDBObject.ChildSupport, AbstractDBObject.ListenerSupportCOMMA, DEFAULT_SEPARATOR, EMPTY, EMPTY_ARRAY, INDENT, NEWLINE, SPACE| Constructor and Description |
|---|
ColumnUsage()
Create an empty ColumnUsage.
|
ColumnUsage(DBObjectID colID)
Create a ColumnUsage using the given Column ID to reference.
|
ColumnUsage(DBObjectID colID,
FromObject from)
Create a ColumnUsage using the given Column ID and FromObject to
reference.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
getAttributes()
Gets the list of attributes used.
|
java.lang.String |
getColumnName()
By default this returns the name of the DBObject we're using (externalized
if a provider is available).
|
DBObjectID |
getDataTypeID()
Get the ID of the DataType of the SQLFragment.
|
java.lang.String |
getSQLText()
Returns the SQLText for the ColumnUsage.
|
boolean |
isOuterJoin()
Returns true if this column usage includes the outer join syntax for a
where clause.
|
void |
setAlwaysQuote(boolean boo) |
void |
setAttributes(java.lang.String[] attrs)
Sets the list of attributes used (if any).
|
void |
setColumnID(DBObjectID colID)
Deprecated.
|
void |
setOuterJoin(boolean oj)
Sets whether this column usage contains the where clause syntax for an outer
join.
|
getObjectID, setObjectIDfindFragmentInQuery, getFromObject, getFromObjectID, getSQLTextImpl, isQualified, resolveFromObject, resolveFromObject, setFromObject, setFromObjectID, setQualifiedareNamesEqual, copyToImpl, getDatabaseDescriptor, getExternalName, getInternalName, setProviderappendToBuffer, argsToString, getStartOffset, getTextOrNull, getTextOrNull, getType, setStartOffset, surroundWithBrackets, surroundWithBrackets, toStringsetParentcheckInit, checkInit, getOwnedObjectsImpl, getProperties, getReferenceIDsImpl, needsInitializationaddObjectListener, addObjectListener, addObjectListener, changeParent, compareToImpl, copyObject, copyTo, copyTo, copyTo, copyTo, equals, equalsImpl, findOwnedObject, findOwnedObject, findOwnedObject, findOwnedObject, findParent, fireObjectUpdated, firePropertyChanged, getChildSupport, getID, getName, getOwnedObjects, getOwnedObjects, getParent, getProperty, getProperty, getReferenceIDs, hashCode, includeOwnedObject, includesType, includesType, removeObjectListener, removeObjectListener, removeObjectListener, removeOwnedObject, removeThisAsParent, replaceReferenceIDs, setID, setName, setProperties, setPropertyclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetStartOffsetgetParent, setParentaddObjectListener, copyTo, copyTo, copyTo, equals, findOwnedObject, findOwnedObject, findOwnedObject, getID, getName, getOwnedObjects, getOwnedObjects, getProperties, getReferenceIDs, getType, hashCode, removeObjectListener, removeOwnedObject, replaceReferenceIDs, setID, setNamegetProperty, getProperty, setProperties, setPropertysetProviderpublic ColumnUsage()
public ColumnUsage(DBObjectID colID)
public ColumnUsage(DBObjectID colID, FromObject from)
@Deprecated public void setColumnID(DBObjectID colID)
public java.lang.String[] getAttributes()
public void setAttributes(java.lang.String[] attrs)
getAttributes()public void setOuterJoin(boolean oj)
public boolean isOuterJoin()
public java.lang.String getSQLText()
getSQLText in interface SQLFragmentpublic void setAlwaysQuote(boolean boo)
public java.lang.String getColumnName()
AbstractDBObjectUsagegetColumnName in interface FromObjectUsagegetColumnName in class AbstractDBObjectUsagepublic DBObjectID getDataTypeID()
SQLFragmentWithDatatypegetDataTypeID in interface SQLFragmentWithDatatype