public abstract class IndexConstantAction extends DDLSingleTableConstantAction
Modifier and Type | Field and Description |
---|---|
protected UUID |
constraintID
Set by CreateConstraintConstantAction
|
(package private) java.lang.String |
indexName |
(package private) java.lang.String |
schemaName |
(package private) java.lang.String |
tableName |
tableId
WHEN_MATCHED_THEN_DELETE, WHEN_MATCHED_THEN_UPDATE, WHEN_NOT_MATCHED_THEN_INSERT
Modifier | Constructor and Description |
---|---|
protected |
IndexConstantAction(UUID tableId,
java.lang.String indexName,
java.lang.String tableName,
java.lang.String schemaName)
Make the ConstantAction for a CREATE/DROP INDEX statement.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getIndexName()
Get the index name.
|
void |
setConstraintID(UUID constraintID)
Set the id for the constraint which may be driving this index action.
|
void |
setIndexName(java.lang.String indexName)
Set the index name at execution time.
|
dropConglomerate, dropConglomerate, dropConstraint, dropConstraint, dropConstraint, executeConglomReplacement, getConglomReplacementAction, recreateUniqueConstraintBackingIndexAsUniqueWhenNotNull
addColumnDependencies, adjustUDTDependencies, adjustUDTDependencies, constructToString, getAndCheckSchemaDescriptor, getSchemaDescriptorForCreate, lockTableForDDL, storeConstraintDependenciesOnPrivileges, storeViewTriggerDependenciesOnPrivileges
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
executeConstantAction
java.lang.String indexName
java.lang.String tableName
java.lang.String schemaName
protected transient UUID constraintID
protected IndexConstantAction(UUID tableId, java.lang.String indexName, java.lang.String tableName, java.lang.String schemaName)
tableId
- The table uuidindexName
- Index name.tableName
- The table nameschemaName
- Schema that index lives in.public java.lang.String getIndexName()
public void setIndexName(java.lang.String indexName)
indexName
- The (generated) index name.public void setConstraintID(UUID constraintID)
constraintID
- The id of the constraintApache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.