public class DropConstraintConstantOperation extends ConstraintConstantOperation
constraintName, constraintType, indexAction, schemaId, schemaName, tableName
tableId
Constructor and Description |
---|
DropConstraintConstantOperation(java.lang.String constraintName,
java.lang.String constraintSchemaName,
java.lang.String tableName,
UUID tableId,
java.lang.String tableSchemaName,
ConstantAction indexAction,
int behavior,
int verifyType)
Make one of these puppies.
|
Modifier and Type | Method and Description |
---|---|
void |
executeConstantAction(Activation activation)
This is the guts of the Execution-time logic for DROP CONSTRAINT.
|
long |
getIndexConglomerateId()
Only available after
executeConstantAction(Activation) , get the
conglomerate ID associated with this constraint, or -1 if no index conglomerate
is associated. |
java.lang.String |
getScopeName() |
java.lang.String |
toString() |
getConstraintName, getConstraintType, getIndexAction, getSchemaName, validateConstraint, validateFKConstraint, validateSupported
dropConglomerate, dropConglomerate, dropConstraint, dropConstraint, dropConstraint, dropIndex, executeConglomReplacement, getConglomReplacementAction, recreateUniqueConstraintBackingIndexAsUniqueWhenNotNull
addColumnDependencies, adjustUDTDependencies, adjustUDTDependencies, constructToString, getAndCheckSchemaDescriptor, getBlockedTables, getSchemaDescriptorForCreate, noGrantCheck, noRevokeCheck, storeConstraintDependenciesOnPrivileges, storeViewTriggerDependenciesOnPrivileges, waitForConcurrentTransactions, waitsForConcurrentTransactions
public DropConstraintConstantOperation(java.lang.String constraintName, java.lang.String constraintSchemaName, java.lang.String tableName, UUID tableId, java.lang.String tableSchemaName, ConstantAction indexAction, int behavior, int verifyType)
constraintName
- Constraint name.constraintSchemaName
- the schema that constraint lives in.tableName
- Table name.tableId
- UUID of table.tableSchemaName
- the schema that table lives in.indexAction
- IndexConstantAction for constraint (if necessary)behavior
- the drop behavior (e.g. StatementType.DROP_CASCADE)public long getIndexConglomerateId()
executeConstantAction(Activation)
, get the
conglomerate ID associated with this constraint, or -1 if no index conglomerate
is associated.public java.lang.String toString()
toString
in class java.lang.Object
public void executeConstantAction(Activation activation) throws StandardException
activation
- The execution environment for this constant action.StandardException
- Thrown on failureConstantAction.executeConstantAction(com.splicemachine.db.iapi.sql.Activation)
public java.lang.String getScopeName()
getScopeName
in interface ScopeNamed
getScopeName
in class DDLConstantOperation