| Modifier and Type | Field and Description |
|---|---|
| private final SchemaDescriptor | |
| private final boolean | |
| private GenericPreparedStatement | |
| private int | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public | GenericStatement(SchemaDescriptor
schema compilationSchema, String The text of the statement statementText, boolean if the statement is opened with level CONCUR_READ_ONLY isForReadOnly)Constructor for a Statement given the text of the statement in a String |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. other)Overrides java. Indicates whether some other object is "equal to" this one. |
| public String | |
| private static long | |
| public PreparedStatement | Returns: the prepared statement that is associated with this statementReturn the |
| public String | getSource()
Implements org. Return the SQL string that this statement is for. |
| public int | |
| public PreparedStatement | prepare(LanguageConnectionContext
The language connection context lcc)Implements org. Generates an execution plan without executing it. |
| public PreparedStatement | prepare(LanguageConnectionContext
the language connection context lcc, boolean If this statement is for a metadata call then
we will allow internal sql syntax on such statement. This internal
sql syntax is not available to a user sql statement. forMetaData)Implements org. Generates an execution plan without executing it. |
| public PreparedStatement | Returns: A PreparedStatement that allows execution of the execution plan.Compiler state variable. lcc, PreparedStatement Prepared statement ps, Object[] Parameter defaults paramDefaults, SchemaDescriptor schema of the stored prepared statement spsSchema, boolean True if this is for Derby-internal SQL internalSQL)Implements org. Generates an execution plan given a set of named parameters. |
| private PreparedStatement | prepMinion(LanguageConnectionContext lcc, boolean cacheMe, Object[] paramDefaults, SchemaDescriptor spsSchema, boolean internalSQL)
|
| private void | walkAST(LanguageConnectionContext lcc, Visitable queryTree, int phase)
Walk the AST, using a (user-supplied) Visitor |
| compilationSchema | back to summary |
|---|---|
| private final SchemaDescriptor compilationSchema | |
| isForReadOnly | back to summary |
|---|---|
| private final boolean isForReadOnly | |
| preparedStmt | back to summary |
|---|---|
| private GenericPreparedStatement preparedStmt | |
| prepareIsolationLevel | back to summary |
|---|---|
| private int prepareIsolationLevel | |
| statementText | back to summary |
|---|---|
| private final String statementText | |
| GenericStatement | back to summary |
|---|---|
| public GenericStatement(SchemaDescriptor compilationSchema, String statementText, boolean isForReadOnly) Constructor for a Statement given the text of the statement in a String
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object other) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getCompilationSchema | back to summary |
|---|---|
| public String getCompilationSchema() | |
| getCurrentTimeMillis | back to summary |
|---|---|
| private static long getCurrentTimeMillis(LanguageConnectionContext lcc) | |
| getPreparedStatement | back to summary |
|---|---|
| public PreparedStatement getPreparedStatement() Return the
| |
| getSource | back to summary |
|---|---|
| public String getSource() Implements org. Doc from org. Return the SQL string that this statement is for.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| prepare | back to summary |
|---|---|
| public PreparedStatement prepare(LanguageConnectionContext lcc) throws StandardException Implements org. Doc from org. Generates an execution plan without executing it.
| |
| prepare | back to summary |
|---|---|
| public PreparedStatement prepare(LanguageConnectionContext lcc, boolean forMetaData) throws StandardException Implements org. Doc from org. Generates an execution plan without executing it.
| |
| prepareStorable | back to summary |
|---|---|
| public PreparedStatement prepareStorable(LanguageConnectionContext lcc, PreparedStatement ps, Object[] paramDefaults, SchemaDescriptor spsSchema, boolean internalSQL) throws StandardException Implements org. Generates an execution plan given a set of named parameters. Does so for a storable prepared statement.
| |
| prepMinion | back to summary |
|---|---|
| private PreparedStatement prepMinion(LanguageConnectionContext lcc, boolean cacheMe, Object[] paramDefaults, SchemaDescriptor spsSchema, boolean internalSQL) throws StandardException | |
| walkAST | back to summary |
|---|---|
| private void walkAST(LanguageConnectionContext lcc, Visitable queryTree, int phase) throws StandardException Walk the AST, using a (user-supplied) Visitor | |