Top Description Fields Constructors Methods
org.apache.derby.impl.sql.compile

pack-priv Class NOPStatementNode

extends StatementNode
Class Inheritance
Imports
org.apache.derby.shared.common.error.StandardException, org.apache.derby.shared.common.reference.SQLState, org.apache.derby.iapi.services.context.ContextManager

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

Inherited from org.apache.derby.impl.sql.compile.StatementNode:
EMPTY_TD_LISTNEED_CURSOR_ACTIVATIONNEED_DDL_ACTIVATIONNEED_NOTHING_ACTIVATIONNEED_PARAM_ACTIVATIONNEED_ROW_ACTIVATION

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv int
public void
pack-priv String
Inherited from org.apache.derby.impl.sql.compile.StatementNode:
executeSchemaNameexecuteStatementNamegenerategetCursorInfogetSPSNameisAtomiclockTableForCompilationmakeResultDescriptionneedsSavepointoptimizeStatementtoStringupdateIndexStatisticsFor

Constructor Detail

NOPStatementNodeback to summary
pack-priv NOPStatementNode(ContextManager cm)

Method Detail

activationKindback to summary
pack-priv int activationKind()

Implements abstract org.apache.derby.impl.sql.compile.StatementNode.activationKind.

bindStatementback to summary
public void bindStatement() throws StandardException

Overrides org.apache.derby.impl.sql.compile.StatementNode.bindStatement.

Bind this NOP statement. This throws an exception, because NOP statements by definition stop after parsing.

Annotations
@Override
Exceptions
StandardException:
Always thrown to stop after parsing
statementToStringback to summary
pack-priv String statementToString()

Implements abstract org.apache.derby.impl.sql.compile.StatementNode.statementToString.