Class CreateTableConstantAction

java.lang.Object
org.apache.derby.impl.sql.execute.DDLConstantAction
org.apache.derby.impl.sql.execute.CreateTableConstantAction
All Implemented Interfaces:
ConstantAction

class CreateTableConstantAction extends DDLConstantAction
This class describes actions that are ALWAYS performed for a CREATE TABLE Statement at Execution time.
  • Field Details

    • lockGranularity

      private char lockGranularity
    • onCommitDeleteRows

      private boolean onCommitDeleteRows
    • onRollbackDeleteRows

      private boolean onRollbackDeleteRows
    • tableName

      private String tableName
    • schemaName

      private String schemaName
    • tableType

      private int tableType
    • columnInfo

      private ColumnInfo[] columnInfo
    • constraintActions

      private CreateConstraintConstantAction[] constraintActions
    • properties

      private Properties properties
  • Constructor Details

    • CreateTableConstantAction

      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.
      tableName - Name of table.
      tableType - Type of table (e.g., BASE, global temporary table).
      columnInfo - Information on all the columns in the table. (REMIND tableDescriptor ignored)
      constraintActions - CreateConstraintConstantAction[] for constraints
      properties - Optional table properties
      lockGranularity - The lock granularity.
      onCommitDeleteRows - If true, on commit delete rows else on commit preserve rows of temporary table.
      onRollbackDeleteRows - If true, on rollback, delete rows from temp tables which were logically modified. true is the only supported value
  • Method Details