|
||||||||||
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
A StatementNode represents a single statement in the language. It is the top node for any statement.
StatementNode controls the class generation for query tree nodes.
Field Summary | |
(package private) static int |
NEED_CURSOR_ACTIVATION
|
(package private) static int |
NEED_DDL_ACTIVATION
create the outer shell class builder for the class we will be generating, generate the expression to stuff in it, and turn it into a class. |
(package private) static int |
NEED_NOTHING_ACTIVATION
|
(package private) static int |
NEED_PARAM_ACTIVATION
|
(package private) static int |
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 | |
StatementNode()
|
Method Summary | |
(package private) abstract int |
activationKind()
|
GeneratedClass |
generate(ByteArray byteCode)
Do code generation for this statement. |
boolean |
isAtomic()
By default, assume StatementNodes are atomic. |
protected TableDescriptor |
lockTableForCompilation(TableDescriptor td)
|
abstract java.lang.String |
statementToString()
|
java.lang.String |
toString()
Convert this object to a String. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
static final int NEED_DDL_ACTIVATION
static final int NEED_CURSOR_ACTIVATION
static final int NEED_PARAM_ACTIVATION
static final int NEED_ROW_ACTIVATION
static final int NEED_NOTHING_ACTIVATION
Constructor Detail |
public StatementNode()
Method Detail |
public boolean isAtomic() throws StandardException
isAtomic
in class QueryTreeNode
StandardException
- Thrown on errorpublic java.lang.String toString()
toString
in class QueryTreeNode
public abstract java.lang.String statementToString()
abstract int activationKind()
protected TableDescriptor lockTableForCompilation(TableDescriptor td) throws StandardException
StandardException
public GeneratedClass generate(ByteArray byteCode) throws StandardException
generate
in class QueryTreeNode
byteCode
- - ignored (he he)
StandardException
- Thrown on error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |