public class IndexObject extends AbstractProviderUsageSQLFragment
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
IndexObject.OrderType  | 
AbstractDBObject.ChildSupport, AbstractDBObject.ListenerSupport| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
ASC
Deprecated. 
 
- Use OrderType.ASC 
 | 
static java.lang.String | 
DESC
Deprecated. 
 
- Use OrderType.DESC 
 | 
static java.lang.String | 
TYPE  | 
COMMA, DEFAULT_SEPARATOR, EMPTY, EMPTY_ARRAY, INDENT, NEWLINE, SPACE| Constructor and Description | 
|---|
IndexObject()
Constructs and empty Index object. 
 | 
IndexObject(SQLFragment exp)
Constructs an Index object with the given expression and no ordering. 
 | 
IndexObject(SQLFragment exp,
           IndexObject.OrderType orderType)
Constructs an Index object with the given expression and ordering
 constraint (either IndexObject.DESC or IndexObject.ASC). 
 | 
IndexObject(SQLFragment exp,
           java.lang.String ordering)
Deprecated. 
 
 | 
| Modifier and Type | Method and Description | 
|---|---|
SQLFragment | 
getExpression()
Gets the expression for this Index object which is derived from the
 expression source. 
 | 
java.lang.String | 
getExpressionSource()
Gets the expression source for this Index object. 
 | 
java.lang.String | 
getName()
Retrieves the name of this object. 
 | 
java.lang.String | 
getOrder()
Deprecated. 
 
- Use  
getOrderType() | 
IndexObject.OrderType | 
getOrderType()
Gets the ordering for this clause (can be  
null). | 
java.lang.String | 
getSQLText()
Returns the SQL for this Index object. 
 | 
java.lang.String | 
getType()
Returns the type of this object. 
 | 
void | 
setExpression(SQLFragment exp)
Sets the expression for this Index object which should be derived from
 the expression source. 
 | 
void | 
setExpressionSource(java.lang.String exp)
Sets the expression source for this Index object. 
 | 
void | 
setOrder(java.lang.String order)
Deprecated. 
 
 | 
void | 
setOrderType(IndexObject.OrderType orderType)
Sets the ordering of this Index object. 
 | 
areNamesEqual, copyToImpl, getDatabaseDescriptor, getExternalName, getInternalName, setProviderappendToBuffer, argsToString, getStartOffset, getTextOrNull, getTextOrNull, 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, 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, waitgetParent, setParentaddObjectListener, copyTo, copyTo, copyTo, equals, findOwnedObject, findOwnedObject, findOwnedObject, getID, getOwnedObjects, getOwnedObjects, getProperties, getReferenceIDs, hashCode, removeObjectListener, removeOwnedObject, replaceReferenceIDs, setID, setNamegetProperty, getProperty, setProperties, setPropertypublic static final java.lang.String TYPE
@Deprecated public static final java.lang.String ASC
@Deprecated public static final java.lang.String DESC
public IndexObject()
public IndexObject(SQLFragment exp)
@Deprecated public IndexObject(SQLFragment exp, java.lang.String ordering)
IndexObject(SQLFragment,OrderType)public IndexObject(SQLFragment exp, IndexObject.OrderType orderType)
exp - the expression as a SQLFragment (will set the expression
 source property as wellorderType - the order type for this objectpublic java.lang.String getType()
DBObjectgetType in interface DBObjectgetType in class AbstractSQLFragment@Deprecated public java.lang.String getOrder()
getOrderType()null).@Deprecated public void setOrder(java.lang.String order)
setOrderType(oracle.javatools.db.sql.IndexObject.OrderType)public IndexObject.OrderType getOrderType()
null).public void setOrderType(IndexObject.OrderType orderType)
null,
 OrderByObject.ASC or OrderByObject.DESCpublic java.lang.String getExpressionSource()
public void setExpressionSource(java.lang.String exp)
public SQLFragment getExpression()
public void setExpression(SQLFragment exp)
exp - the SQLFragment representation of the "expression source"
 property.setExpressionSource(String)public java.lang.String getSQLText()
public java.lang.String getName()
DBObjectgetName in interface DBObjectgetName in class AbstractDBObject