ConstantAction
CreateIndexConstantAction
, DropIndexConstantAction
public abstract class IndexConstantAction extends DDLSingleTableConstantAction
Modifier and Type | Field | 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 |
WHEN_MATCHED_THEN_DELETE, WHEN_MATCHED_THEN_UPDATE, WHEN_NOT_MATCHED_THEN_INSERT
tableId
Modifier | Constructor | 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 | 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.
|
executeConstantAction
addColumnDependencies, adjustUDTDependencies, adjustUDTDependencies, constructToString, getAndCheckSchemaDescriptor, getSchemaDescriptorForCreate, lockTableForDDL, storeConstraintDependenciesOnPrivileges, storeViewTriggerDependenciesOnPrivileges
dropConglomerate, dropConglomerate, dropConstraint, dropConstraint, dropConstraint, executeConglomReplacement, getConglomReplacementAction, recreateUniqueConstraintBackingIndexAsUniqueWhenNotNull
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.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.