org.apache.derby.impl.sql.execute
Class IndexConstantAction
- java.lang.Object
-
- org.apache.derby.impl.sql.execute.IndexConstantAction
-
- All Implemented Interfaces:
- ConstantAction
public abstract class IndexConstantAction extends java.lang.ObjectThis class is the superclass for the classes that describe actions that are ALWAYS performed for a CREATE/DROP INDEX Statement at Execution time.
-
-
Field Summary
-
Fields inherited from interface org.apache.derby.iapi.sql.execute.ConstantAction
WHEN_MATCHED_THEN_DELETE, WHEN_MATCHED_THEN_UPDATE, WHEN_NOT_MATCHED_THEN_INSERT
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.StringgetIndexName()Get the index name.voidsetConstraintID(UUID constraintID)Set the id for the constraint which may be driving this index action.voidsetIndexName(java.lang.String indexName)Set the index name at execution time.-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.derby.iapi.sql.execute.ConstantAction
executeConstantAction
-
-
-
-
Method Detail
-
getIndexName
public java.lang.String getIndexName()
Get the index name.- Returns:
- the name of the index
-
setIndexName
public void setIndexName(java.lang.String indexName)
Set the index name at execution time. Useful for unnamed constraints which have a backing index.- Parameters:
indexName- The (generated) index name.
-
setConstraintID
public void setConstraintID(UUID constraintID)
Set the id for the constraint which may be driving this index action. This is called by CreateConstraintConstantAction.- Parameters:
constraintID- The id of the constraint
-
-
DataMelt 3.0 © DataMelt by jWork.ORG