com.sun.labs.minion.query
Class Or

java.lang.Object
  extended by com.sun.labs.minion.query.Element
      extended by com.sun.labs.minion.query.Operator
          extended by com.sun.labs.minion.query.Or
All Implemented Interfaces:
java.lang.Iterable<Element>

public class Or
extends Operator

A boolean or operator.


Field Summary
 
Fields inherited from class com.sun.labs.minion.query.Operator
elements
 
Fields inherited from class com.sun.labs.minion.query.Element
fields, strict
 
Constructor Summary
Or()
           
Or(java.util.Collection<Element> elements)
           
Or(Element... elements)
           
 
Method Summary
 QueryElement getQueryElement()
          Transduces this query element into a "real" query element, one that can be evaluated by the search engine.
 
Methods inherited from class com.sun.labs.minion.query.Operator
add, getOperands, iterator
 
Methods inherited from class com.sun.labs.minion.query.Element
addField, getFields, getStrict, setFields, setStrict
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Or

public Or()

Or

public Or(java.util.Collection<Element> elements)

Or

public Or(Element... elements)
Method Detail

getQueryElement

public QueryElement getQueryElement()
Description copied from class: Element
Transduces this query element into a "real" query element, one that can be evaluated by the search engine.

Specified by:
getQueryElement in class Element
Returns:
an evaluatable query element.