| java.lang.Object org.apache.derby.impl.sql.execute.GenericConstantAction org.apache.derby.impl.sql.execute.DDLConstantAction org.apache.derby.impl.sql.execute.DDLSingleTableConstantAction org.apache.derby.impl.sql.execute.RenameConstantAction
RenameConstantAction | class RenameConstantAction extends DDLSingleTableConstantAction (Code) | | This class describes actions that are ALWAYS performed for a
RENAME TABLE/COLUMN/INDEX Statement at Execution time.
author: Mamta Satoor. |
Constructor Summary | |
public | RenameConstantAction(String fullTableName, String tableName, String oldObjectName, String newObjectName, SchemaDescriptor sd, UUID tableId, boolean usedAlterTable, int renamingWhat) Make the ConstantAction for a RENAME TABLE/COLUMN/INDEX statement.
Parameters: fullTableName - Fully qualified table name Parameters: tableName - Table name. Parameters: oldObjectName - This is either the name of column/index in caseof rename column/index. |
RenameConstantAction | public RenameConstantAction(String fullTableName, String tableName, String oldObjectName, String newObjectName, SchemaDescriptor sd, UUID tableId, boolean usedAlterTable, int renamingWhat)(Code) | | Make the ConstantAction for a RENAME TABLE/COLUMN/INDEX statement.
Parameters: fullTableName - Fully qualified table name Parameters: tableName - Table name. Parameters: oldObjectName - This is either the name of column/index in caseof rename column/index. For rename table, this is null. Parameters: newObjectName - This is new name for table/column/index Parameters: sd - Schema that table lives in. Parameters: tableId - UUID for table Parameters: usedAlterTable - True-Used Alter Table, False-Used Rename.For rename index, this will always be false becausethere is no alter table command to rename index Parameters: renamingWhat - Rename a 1 - table, 2 - column, 3 - index |
Fields inherited from org.apache.derby.impl.sql.execute.DDLSingleTableConstantAction | protected UUID tableId(Code)(Java Doc)
|
Methods inherited from org.apache.derby.impl.sql.execute.DDLConstantAction | protected String constructToString(String statementType, String objectName)(Code)(Java Doc) static SchemaDescriptor getAndCheckSchemaDescriptor(DataDictionary dd, UUID schemaId, String statementType) throws StandardException(Code)(Java Doc) static SchemaDescriptor getSchemaDescriptorForCreate(DataDictionary dd, Activation activation, String schemaName) throws StandardException(Code)(Java Doc) final void lockTableForDDL(TransactionController tc, long heapConglomerateNumber, boolean exclusiveMode) throws StandardException(Code)(Java Doc) protected void storeConstraintDependenciesOnPrivileges(Activation activation, Dependent dependent, UUID refTableUUID) throws StandardException(Code)(Java Doc) protected void storeViewTriggerDependenciesOnPrivileges(Activation activation, Dependent dependent) throws StandardException(Code)(Java Doc)
|
|
|