Class IndexConstantAction
java.lang.Object
org.apache.derby.impl.sql.execute.DDLConstantAction
org.apache.derby.impl.sql.execute.DDLSingleTableConstantAction
org.apache.derby.impl.sql.execute.IndexConstantAction
- All Implemented Interfaces:
ConstantAction
- Direct Known Subclasses:
CreateIndexConstantAction, DropIndexConstantAction
This 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
FieldsModifier and TypeFieldDescriptionprotected UUIDSet by CreateConstraintConstantAction(package private) String(package private) String(package private) StringFields inherited from class DDLSingleTableConstantAction
tableIdFields inherited from interface ConstantAction
WHEN_MATCHED_THEN_DELETE, WHEN_MATCHED_THEN_UPDATE, WHEN_NOT_MATCHED_THEN_INSERT -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedIndexConstantAction(UUID tableId, String indexName, String tableName, String schemaName) Make the ConstantAction for a CREATE/DROP INDEX statement. -
Method Summary
Modifier and TypeMethodDescriptionGet the index name.voidsetConstraintID(UUID constraintID) Set the id for the constraint which may be driving this index action.voidsetIndexName(String indexName) Set the index name at execution time.Methods inherited from class DDLSingleTableConstantAction
dropConglomerate, dropConglomerate, dropConstraint, dropConstraint, dropConstraint, executeConglomReplacement, getConglomReplacementAction, recreateUniqueConstraintBackingIndexAsUniqueWhenNotNullMethods inherited from class DDLConstantAction
addColumnDependencies, adjustUDTDependencies, adjustUDTDependencies, constructToString, getAndCheckSchemaDescriptor, getSchemaDescriptorForCreate, lockTableForDDL, storeConstraintDependenciesOnPrivileges, storeViewTriggerDependenciesOnPrivilegesMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ConstantAction
executeConstantAction
-
Field Details
-
Constructor Details
-
IndexConstantAction
-
-
Method Details
-
getIndexName
-
setIndexName
Set the index name at execution time. Useful for unnamed constraints which have a backing index.- Parameters:
indexName- The (generated) index name.
-
setConstraintID
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
-