|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.derby.impl.sql.compile.QueryTreeNode
org.apache.derby.impl.sql.compile.StatementNode
org.apache.derby.impl.sql.compile.MiscellaneousStatementNode
A MiscellaneousStatement represents any type of statement that doesn't fit into the well defined categores: SET (non-transaction).
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 | |
MiscellaneousStatementNode()
|
Method Summary | |
(package private) int |
activationKind()
|
void |
generate(ActivationClassBuilder acb,
MethodBuilder mb)
Generic generate code for all Misc statements that need activations. |
boolean |
needsSavepoint()
Returns whether or not this Statement requires a set/clear savepoint around its execution. |
Methods inherited from class org.apache.derby.impl.sql.compile.StatementNode |
generate, isAtomic, lockTableForCompilation, statementToString, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public MiscellaneousStatementNode()
Method Detail |
int activationKind()
activationKind
in class StatementNode
public void generate(ActivationClassBuilder acb, MethodBuilder mb) throws StandardException
generate
in class QueryTreeNode
acb
- The ActivationClassBuilder for the class being builtmb
- the method for the execute() method to be built
StandardException
- Thrown on errorpublic boolean needsSavepoint()
needsSavepoint
in class QueryTreeNode
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |