Kathey Marsden wrote:
> And a big picture question:
> What is the relationship between QueryTreeNode, ClassBuilder,
> MethodBuilder and BaseActivation?
private static boolean largeUnionSelect(Connection con, String
viewName,
QueryTreeNode - reprsents an element of the compiled SQL statement plan.
Has generate methods that use MethodBuilder to generate Java byte code
that executes the statenment plan.
ClassBuilder - The top-level interface for the package that provides the
service of how to build a generated Java class, provides the ability to
add methods, fields, thrown exceptions etc.
MethodBuilder - an interface within the ClassBuilder package that
supports building a Java byte code stream (a method).
BaseActivation - the sub-class of all generated classes for the
*language* layer, ie. for generated classes that represent SQL
statements. Implements Activation which represents the runtime state of
an active execution for a SQL statement.
Dan.