| java.lang.Object org.hsqldb.CompiledStatement
CompiledStatement | final class CompiledStatement (Code) | | A simple structure class for holding the products of
statement compilation for later execution.
author: boucherb@users version: 1.7.2 since: 1.7.2 |
Constructor Summary | |
| CompiledStatement(HsqlName schema) | | CompiledStatement(Session session, Database database, HsqlName schema, TableFilter targetFilter, Expression deleteCondition, SubQuery[] subqueries, Expression[] params) | | CompiledStatement(Session session, Database database, HsqlName schema, TableFilter targetFilter, int[] columnMap, Expression[] columnValues, Expression updateCondition, SubQuery[] subqueries, Expression[] params) Instantiate this as an UPDATE statement. | | CompiledStatement(HsqlName schema, Table targetTable, int[] columnMap, Expression[] columnValues, boolean[] checkColumns, SubQuery[] subqueries, Expression[] params) Instantiate this as an INSERT_VALUES statement. | | CompiledStatement(Session session, Database database, HsqlName schema, Table targetTable, int[] columnMap, boolean[] checkColumns, Select select, SubQuery[] subqueries, Expression[] params) Instantiate this as an INSERT_SELECT statement. | | CompiledStatement(Session session, Database database, HsqlName schema, Select select, SubQuery[] subqueries, Expression[] params) Instantiate this as a SELECT statement. | | CompiledStatement(Session session, Database database, HsqlName schema, Expression expression, SubQuery[] subqueries, Expression[] params) Instantiate this as a CALL statement. |
CALL | final static int CALL(Code) | | |
DELETE | final static int DELETE(Code) | | |
INSERT_SELECT | final static int INSERT_SELECT(Code) | | |
INSERT_VALUES | final static int INSERT_VALUES(Code) | | |
RETURN_COLUMN_NAME | final static String RETURN_COLUMN_NAME(Code) | | |
SELECT | final static int SELECT(Code) | | |
SELECT_INTO | final static int SELECT_INTO(Code) | | |
UNKNOWN | final static int UNKNOWN(Code) | | |
UPDATE | final static int UPDATE(Code) | | |
checkColumns | boolean[] checkColumns(Code) | | Flags indicating which columns' values will/will not be
explicitly set.
|
columnMap | int[] columnMap(Code) | | column map for INSERT_XXX, UPDATE
|
columnValues | Expression[] columnValues(Code) | | Column value Expressions for INSERT_VALUES and UPDATE.
|
expression | Expression expression(Code) | | Expression to be evaluated when this is a CALL statement.
|
id | int id(Code) | | id in CompiledStatementManager
|
isValid | boolean isValid(Code) | | false when cleared
|
paramTypes | int[] paramTypes(Code) | | int[] contains type of each parameter
|
parameters | Expression[] parameters(Code) | | Parse-order array of Expression objects, all of iType == PARAM ,
involved in some way in any INSERT_XXX, UPDATE, DELETE, SELECT or
CALL CompiledStatement
|
schemaHsqlName | final HsqlName schemaHsqlName(Code) | | The default schema name used to resolve names in the sql
|
select | Select select(Code) | | Select to be evaluated when this is an INSERT_SELECT or
SELECT statement
|
sql | String sql(Code) | | The SQL string that produced this compiled statement
|
subqueries | SubQuery[] subqueries(Code) | | Subqueries inverse parse depth order
|
targetTable | Table targetTable(Code) | | target table for INSERT_XXX, UPDATE and DELETE
|
type | int type(Code) | | The type of this CompiledStatement.
One of:
- UNKNOWN
- INSERT_VALUES
- INSERT_SELECT
- UPDATE
- DELETE
- SELECT
- CALL
- DDL
|
CompiledStatement | CompiledStatement(HsqlName schema)(Code) | | Creates a new instance of CompiledStatement for DDL
|
CompiledStatement | CompiledStatement(Session session, Database database, HsqlName schema, TableFilter targetFilter, int[] columnMap, Expression[] columnValues, Expression updateCondition, SubQuery[] subqueries, Expression[] params) throws HsqlException(Code) | | Instantiate this as an UPDATE statement.
Parameters: targetTable - Parameters: columnMap - Parameters: columnValues - Parameters: updateCondition - Parameters: params - |
CompiledStatement | CompiledStatement(HsqlName schema, Table targetTable, int[] columnMap, Expression[] columnValues, boolean[] checkColumns, SubQuery[] subqueries, Expression[] params) throws HsqlException(Code) | | Instantiate this as an INSERT_VALUES statement.
Parameters: targetTable - Parameters: columnMap - Parameters: columnValues - Parameters: checkColumns - Parameters: params - |
CompiledStatement | CompiledStatement(Session session, Database database, HsqlName schema, Table targetTable, int[] columnMap, boolean[] checkColumns, Select select, SubQuery[] subqueries, Expression[] params) throws HsqlException(Code) | | Instantiate this as an INSERT_SELECT statement.
Parameters: targetTable - Parameters: columnMap - Parameters: checkColumns - Parameters: select - Parameters: params - |
clearVariables | void clearVariables()(Code) | | |
dematerializeSubQueries | void dematerializeSubQueries(Session session)(Code) | | |
describe | public String describe(Session session)(Code) | | Retrieves a String representation of this object.
the String representation of this object |
|
|