org.axiondb.engine.visitors
Class FlattenWhereNodeVisitor

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

public class FlattenWhereNodeVisitor
extends Object
implements SelectableVisitor

Decomposes a WhereNodetree into a LinkedHashSetof WhereNodes that were originally ANDed together in the source tree.


Field Summary
protected  Set _nodes
           
 
Constructor Summary
FlattenWhereNodeVisitor()
           
 
Method Summary
 Set 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 Set _nodes
Constructor Detail

FlattenWhereNodeVisitor

public FlattenWhereNodeVisitor()
Method Detail

getNodes

public Set getNodes(Selectable node)

visit

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