| java.lang.Object org.apache.derby.impl.sql.execute.GenericConstantAction org.apache.derby.impl.sql.execute.DDLConstantAction org.apache.derby.impl.sql.execute.CreateTableConstantAction
CreateTableConstantAction | class CreateTableConstantAction extends DDLConstantAction (Code) | | This class describes actions that are ALWAYS performed for a
CREATE TABLE Statement at Execution time.
author: Rick Hillegas Extracted code from CreateTableResultSet. |
Constructor Summary | |
| CreateTableConstantAction(String schemaName, String tableName, int tableType, ColumnInfo[] columnInfo, CreateConstraintConstantAction[] constraintActions, Properties properties, char lockGranularity, boolean onCommitDeleteRows, boolean onRollbackDeleteRows) Make the ConstantAction for a CREATE TABLE statement.
Parameters: schemaName - name for the schema that table lives in. Parameters: tableName - Name of table. Parameters: tableType - Type of table (e.g., BASE, global temporary table). Parameters: columnInfo - Information on all the columns in the table.(REMIND tableDescriptor ignored) Parameters: constraintActions - CreateConstraintConstantAction[] for constraints Parameters: properties - Optional table properties Parameters: lockGranularity - The lock granularity. Parameters: onCommitDeleteRows - If true, on commit delete rows else on commit preserve rows of temporary table. Parameters: onRollbackDeleteRows - If true, on rollback, delete rows from temp tables which were logically modified. |
CreateTableConstantAction | CreateTableConstantAction(String schemaName, String tableName, int tableType, ColumnInfo[] columnInfo, CreateConstraintConstantAction[] constraintActions, Properties properties, char lockGranularity, boolean onCommitDeleteRows, boolean onRollbackDeleteRows)(Code) | | Make the ConstantAction for a CREATE TABLE statement.
Parameters: schemaName - name for the schema that table lives in. Parameters: tableName - Name of table. Parameters: tableType - Type of table (e.g., BASE, global temporary table). Parameters: columnInfo - Information on all the columns in the table.(REMIND tableDescriptor ignored) Parameters: constraintActions - CreateConstraintConstantAction[] for constraints Parameters: properties - Optional table properties Parameters: lockGranularity - The lock granularity. Parameters: onCommitDeleteRows - If true, on commit delete rows else on commit preserve rows of temporary table. Parameters: onRollbackDeleteRows - If true, on rollback, delete rows from temp tables which were logically modified. true is the only supported value |
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)
|
|
|