| Modifier and Type | Field and Description |
|---|---|
| private char | |
| private boolean | |
| private boolean | |
| private Properties | |
| private ResultSetNode | |
| private ResultColumnList | |
| private TableElementList | |
| protected int |
| Access | Constructor and Description |
|---|---|
| pack-priv | CreateTableNode(TableName
The name of the new object being created (ie base table) tableName, TableElementList The elements of the table: columns,
constraints, etc. tableElementList, Properties The optional list of properties associated with
the table. properties, char The lock granularity. lockGranularity, ContextManager The context manager cm)Constructor for a CreateTableNode for a base table |
| pack-priv | CreateTableNode(TableName
The name of the new object being declared (ie
temporary table) tableName, TableElementList The elements of the table: columns,
constraints, etc. tableElementList, Properties The optional list of properties associated with
the table. properties, boolean If true, on commit delete rows else on commit preserve rows of temporary table. onCommitDeleteRows, boolean If true, on rollback, delete rows from temp tables which were logically modified. true is the only supported value onRollbackDeleteRows, ContextManager cm)Constructor for a CreateTableNode for a global temporary table |
| pack-priv | CreateTableNode(TableName
The name of the new object being created
(ie base table). tableName, ResultColumnList The optional column list. resultColumns, ResultSetNode The query expression for the table. queryExpression, ContextManager The context manager cm)Constructor for a CreateTableNode for a base table create from a query |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | acceptChildren(Visitor
the visitor v)Overrides org. Accept the visitor for all visitable children of this node. |
| public void | bindStatement()
Overrides org. Bind this CreateTableNode. |
| public ConstantAction | makeConstantAction()
Overrides org. Create the Constant information that will drive the guts of Execution. |
| pack-priv void | printSubNodes(int
The depth to indent the sub-nodes depth)Overrides org. Prints the sub-nodes of this object. |
| public boolean | Returns: true if references SESSION schema tables, else falseOverrides org. Return true if the node references SESSION schema tables (temporary or permanent) |
| pack-priv String | statementToString()
Implements abstract org.
|
| private static TableName | tempTableSchemaNameCheck(TableName
The name of the new object being declared (ie
temporary table) tableName)If no schema name specified for global temporary table, SESSION is the implicit schema. |
| public String | Returns: This object as a StringOverrides org. Convert this object to a String. |
| lockGranularity | back to summary |
|---|---|
| private char lockGranularity | |
| onCommitDeleteRows | back to summary |
|---|---|
| private boolean onCommitDeleteRows | |
| onRollbackDeleteRows | back to summary |
|---|---|
| private boolean onRollbackDeleteRows | |
| properties | back to summary |
|---|---|
| private Properties properties | |
| queryExpression | back to summary |
|---|---|
| private ResultSetNode queryExpression | |
| resultColumns | back to summary |
|---|---|
| private ResultColumnList resultColumns | |
| tableElementList | back to summary |
|---|---|
| private TableElementList tableElementList | |
| tableType | back to summary |
|---|---|
| protected int tableType | |
| CreateTableNode | back to summary |
|---|---|
| pack-priv CreateTableNode(TableName tableName, TableElementList tableElementList, Properties properties, char lockGranularity, ContextManager cm) throws StandardException Constructor for a CreateTableNode for a base table
| |
| CreateTableNode | back to summary |
|---|---|
| pack-priv CreateTableNode(TableName tableName, TableElementList tableElementList, Properties properties, boolean onCommitDeleteRows, boolean onRollbackDeleteRows, ContextManager cm) throws StandardException Constructor for a CreateTableNode for a global temporary table
| |
| CreateTableNode | back to summary |
|---|---|
| pack-priv CreateTableNode(TableName tableName, ResultColumnList resultColumns, ResultSetNode queryExpression, ContextManager cm) throws StandardException Constructor for a CreateTableNode for a base table create from a query
| |
| acceptChildren | back to summary |
|---|---|
| pack-priv void acceptChildren(Visitor v) throws StandardException Overrides org. Accept the visitor for all visitable children of this node.
| |
| bindStatement | back to summary |
|---|---|
| public void bindStatement() throws StandardException Overrides org. Bind this CreateTableNode. This means doing any static error checking that can be done before actually creating the base table or declaring the global temporary table. For eg, verifying that the TableElementList does not contain any duplicate column names.
| |
| makeConstantAction | back to summary |
|---|---|
| public ConstantAction makeConstantAction() throws StandardException Overrides org. Create the Constant information that will drive the guts of Execution.
| |
| printSubNodes | back to summary |
|---|---|
| pack-priv void printSubNodes(int depth) Overrides org. Prints the sub-nodes of this object. See QueryTreeNode.java for how tree printing is supposed to work.
| |
| referencesSessionSchema | back to summary |
|---|---|
| public boolean referencesSessionSchema() throws StandardException Overrides org. Return true if the node references SESSION schema tables (temporary or permanent)
| |
| statementToString | back to summary |
|---|---|
| pack-priv String statementToString() Implements abstract org. | |
| tempTableSchemaNameCheck | back to summary |
|---|---|
| private static TableName tempTableSchemaNameCheck(TableName tableName) throws StandardException If no schema name specified for global temporary table, SESSION is the implicit schema. Otherwise, make sure the specified schema name for global temporary table is SESSION.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides org. Convert this object to a String. See comments in QueryTreeNode.java for how this should be done for tree printing. | |