java.lang.Object
org.apache.derby.impl.sql.compile.QueryTreeNode
org.apache.derby.impl.sql.compile.StatementNode
org.apache.derby.impl.sql.compile.DMLStatementNode
org.apache.derby.impl.sql.compile.ReadCursorNode
- All Implemented Interfaces:
- org.apache.derby.iapi.sql.compile.Visitable
- Direct Known Subclasses:
- CursorNode
- abstract class ReadCursorNode
- extends DMLStatementNode
A ReadCursorNode contains the logic to bind and generate a vanilla
SELECT. This node is used for SELECT cursors
| Methods inherited from class org.apache.derby.impl.sql.compile.DMLStatementNode |
accept, activationKind, bindExpressions, bindExpressionsWithTables, bindResultSetsWithTables, bindTables, generateParameterHolders, generateParameterValueSet, getResultSetNode, init, isAtomic, makeResultDescription, optimize, printSubNodes |
| Methods inherited from class org.apache.derby.impl.sql.compile.QueryTreeNode |
bind, convertDefaultNode, debugFlush, debugPrint, executeSchemaName, executeStatementName, formatNodeString, foundString, generateAuthorizeCheck, getBeginOffset, getClassFactory, getCompilerContext, getContextManager, getCursorInfo, getDataDictionary, getDependencyManager, getEndOffset, getExecutionFactory, getGenericConstantActionFactory, getIntProperty, getLanguageConnectionContext, getNodeFactory, getNodeType, getNullNode, getParameterTypes, getRowEstimate, getSchemaDescriptor, getSchemaDescriptor, getSPSName, getStatementType, getTableDescriptor, getTypeCompiler, init, init, init, init, init, init, init, init, init, init, init, init, init, isInstanceOf, isSessionSchema, isSessionSchema, makeConstantAction, makeTableName, needsSavepoint, nodeHeader, parseQueryText, printLabel, referencesSessionSchema, resolveTableToSynonym, setBeginOffset, setContextManager, setEndOffset, setNodeType, setRefActionInfo, treePrint, treePrint, verifyClassExist |
ReadCursorNode
ReadCursorNode()
bind
public QueryTreeNode bind(org.apache.derby.iapi.sql.dictionary.DataDictionary dataDictionary)
throws org.apache.derby.iapi.error.StandardException
- Bind this ReadCursorNode. This means looking up tables and columns and
getting their types, and figuring out the result types of all
expressions.
- Overrides:
bind in class DMLStatementNode
generate
public void generate(ActivationClassBuilder acb,
org.apache.derby.iapi.services.compiler.MethodBuilder mb)
throws org.apache.derby.iapi.error.StandardException
- Do code generation for this ReadCursorNode
- Overrides:
generate in class QueryTreeNode
statementToString
public java.lang.String statementToString()
- Specified by:
statementToString in class StatementNode