org.axiondb.engine.visitors
Class FlattenWhereNodeVisitor

java.lang.Object
  extended byorg.axiondb.engine.visitors.FlattenWhereNodeVisitor
All Implemented Interfaces:
SelectableVisitor

public class FlattenWhereNodeVisitor
extends Object
implements SelectableVisitor

Decomposes a WhereNode tree into a HashSet of WhereNodes that were originally ANDed together in the source tree.


Field Summary
protected  HashSet _nodes
           
 
Constructor Summary
FlattenWhereNodeVisitor()
           
 
Method Summary
 HashSet getNodes(Selectable node)
           
 void visit(Selectable sel)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_nodes

protected HashSet _nodes
Constructor Detail

FlattenWhereNodeVisitor

public FlattenWhereNodeVisitor()
Method Detail

getNodes

public HashSet getNodes(Selectable node)

visit

public void visit(Selectable sel)
Specified by:
visit in interface SelectableVisitor