|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--algebraTree.QENode
Field Summary | |
private java.util.Vector |
children
Vector of QENodes. |
private SchemaSQLOperator |
operator
the associated Operator object |
Constructor Summary | |
QENode(SchemaSQLOperator myOperator)
constructs a QENode with an existing operator attached to it. |
Method Summary | |
boolean |
addChild(QENode baby)
add a child node to the current Node |
void |
computeResult()
|
boolean |
dropLocalTable()
asks this node to drop its local table (mainly used for the root node) |
void |
executeUpdate(Update upd)
kicks off update propagation of a certain update. |
QENode |
getChild(int index)
return a child. |
SchemaSQLOperator |
getOperator()
needed by Builder::findFlatAttName2 |
java.lang.String |
getRelName()
returns the name of the local relation of this node |
(package private) static java.util.Vector |
mergeVectors(java.util.Vector a,
java.util.Vector b)
a helper function that merges two Vectors |
void |
printTree(java.lang.String indent)
this function prints the algebra tree in a somewhat primitive fashion |
private java.util.Vector |
recursiveUpdate(QENode tmpNode,
Update upd)
propagates upd all the way down to the leaves and then recursively collects updates up the operator tree. |
void |
setRelName(java.lang.String s)
sets the name if this node's operator. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
|
Field Detail |
private SchemaSQLOperator operator
private java.util.Vector children
Constructor Detail |
public QENode(SchemaSQLOperator myOperator)
Method Detail |
public void computeResult()
public void executeUpdate(Update upd)
private java.util.Vector recursiveUpdate(QENode tmpNode, Update upd)
static java.util.Vector mergeVectors(java.util.Vector a, java.util.Vector b)
public boolean dropLocalTable()
public java.lang.String getRelName()
public void setRelName(java.lang.String s)
public SchemaSQLOperator getOperator()
public QENode getChild(int index)
public boolean addChild(QENode baby)
public void printTree(java.lang.String indent)
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |