org.apache.derby.impl.sql.compile
Class NOPStatementNode

java.lang.Object
  extended byorg.apache.derby.impl.sql.compile.QueryTreeNode
      extended byorg.apache.derby.impl.sql.compile.StatementNode
          extended byorg.apache.derby.impl.sql.compile.NOPStatementNode
All Implemented Interfaces:
Visitable

public class NOPStatementNode
extends StatementNode

A NOPStatement node is for statements that don't do anything. At the time of this writing, the only statements that use it are SET DB2J_DEBUG ON and SET DB2J_DEBUG OFF. Both of these are executed in the parser, so the statements don't do anything at execution


Field Summary
 
Fields inherited from class org.apache.derby.impl.sql.compile.StatementNode
NEED_CURSOR_ACTIVATION, NEED_DDL_ACTIVATION, NEED_NOTHING_ACTIVATION, NEED_PARAM_ACTIVATION, NEED_ROW_ACTIVATION
 
Fields inherited from class org.apache.derby.impl.sql.compile.QueryTreeNode
AUTOINCREMENT_INC_INDEX, AUTOINCREMENT_IS_AUTOINCREMENT_INDEX, AUTOINCREMENT_START_INDEX, beginOffset, endOffset
 
Constructor Summary
NOPStatementNode()
           
 
Method Summary
(package private)  int activationKind()
           
 QueryTreeNode bind()
          Bind this NOP statement.
 java.lang.String statementToString()
           
 
Methods inherited from class org.apache.derby.impl.sql.compile.StatementNode
generate, isAtomic, lockTableForCompilation, toString
 
Methods inherited from class org.apache.derby.impl.sql.compile.QueryTreeNode
accept, convertDefaultNode, debugFlush, debugPrint, executeSchemaName, executeStatementName, formatNodeString, foundString, generate, 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, init, isInstanceOf, isSessionSchema, isSessionSchema, makeConstantAction, makeResultDescription, makeTableName, needsSavepoint, nodeHeader, optimize, parseQueryText, printLabel, printSubNodes, referencesSessionSchema, resolveTableToSynonym, setBeginOffset, setContextManager, setEndOffset, setNodeType, setRefActionInfo, treePrint, treePrint, verifyClassExist
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NOPStatementNode

public NOPStatementNode()
Method Detail

statementToString

public java.lang.String statementToString()
Specified by:
statementToString in class StatementNode

bind

public QueryTreeNode bind()
                   throws StandardException
Bind this NOP statement. This throws an exception, because NOP statements by definition stop after parsing.

Overrides:
bind in class QueryTreeNode
Returns:
The bound query tree
Throws:
StandardException - Always thrown to stop after parsing

activationKind

int activationKind()
Specified by:
activationKind in class StatementNode

Built on Mon 2007-06-04 09:58:47+0400, from revision ???

Apache Derby V10.1 Engine Documentation - Copyright © 1997,2005 The Apache Software Foundation or its licensors, as applicable.