org.usergrid.persistence.query.ir
Class AndNode

java.lang.Object
  extended by org.usergrid.persistence.query.ir.QueryNode
      extended by org.usergrid.persistence.query.ir.BooleanNode
          extended by org.usergrid.persistence.query.ir.AndNode

public class AndNode
extends BooleanNode

Node where the results need intersected. Used instead of a SliceNode when one of the children is an operation other than slices. I.E OR, NOT etc

Author:
tnine

Field Summary
 
Fields inherited from class org.usergrid.persistence.query.ir.BooleanNode
left, right
 
Constructor Summary
AndNode(QueryNode left, QueryNode right)
           
 
Method Summary
 void visit(NodeVisitor visitor)
          Visit this node
 
Methods inherited from class org.usergrid.persistence.query.ir.BooleanNode
getLeft, getRight, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AndNode

public AndNode(QueryNode left,
               QueryNode right)
Parameters:
left -
right -
Method Detail

visit

public void visit(NodeVisitor visitor)
           throws Exception
Description copied from class: QueryNode
Visit this node

Specified by:
visit in class QueryNode
Throws:
Exception


Copyright © 2013. All Rights Reserved.