| 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.AlterTableConstantAction
Constructor Summary | |
| AlterTableConstantAction(SchemaDescriptor sd, String tableName, UUID tableId, long tableConglomerateId, int tableType, ColumnInfo[] columnInfo, ConstraintConstantAction[] constraintActions, char lockGranularity, boolean compressTable, int behavior, boolean sequential, boolean truncateTable) Make the AlterAction for an ALTER TABLE statement. |
lockGranularity | protected char lockGranularity(Code) | | |
tableConglomerateId | protected long tableConglomerateId(Code) | | |
tableType | protected int tableType(Code) | | |
AlterTableConstantAction | AlterTableConstantAction(SchemaDescriptor sd, String tableName, UUID tableId, long tableConglomerateId, int tableType, ColumnInfo[] columnInfo, ConstraintConstantAction[] constraintActions, char lockGranularity, boolean compressTable, int behavior, boolean sequential, boolean truncateTable)(Code) | | Make the AlterAction for an ALTER TABLE statement.
Parameters: sd - descriptor for the schema that table lives in. Parameters: tableName - Name of table. Parameters: tableId - UUID of table Parameters: tableConglomerateId - heap conglomerate number of table Parameters: tableType - Type of table (e.g., BASE). Parameters: columnInfo - Information on all the columns in the table. Parameters: constraintActions - ConstraintConstantAction[] for constraints Parameters: lockGranularity - The lock granularity. Parameters: compressTable - Whether or not this is a compress table Parameters: behavior - drop behavior for dropping column Parameters: sequential - If compress table/drop column, whether or not sequential Parameters: truncateTable - Whether or not this is a truncate table |
execGuts | public void execGuts(Activation activation) throws StandardException(Code) | | Wrapper for this DDL action. Factored out so that our child,
RepAlterTableConstantAction
could enjoy the benefits of the startWriting() method above.
exception: StandardException - Thrown on failure |
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)
|
|
|