|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.labs.minion.query.Element
com.sun.labs.minion.query.Operator
com.sun.labs.minion.query.And
public class And
A boolean and 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 | |
|---|---|
And()
Creates an empty and operator. |
|
And(java.util.Collection<Element> elements)
Creates an and operator that will operate on the provided elements. |
|
And(Element... elements)
Creates an and operator that will opearate on the provided 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 |
|---|
public And()
public And(java.util.Collection<Element> elements)
elements - the elements that should be anded together. A document
will appear in the result set for this operator only if it appears in the
result sets of all of the provided elements.public And(Element... elements)
elements - the elements that should be anded together.| Method Detail |
|---|
public QueryElement getQueryElement()
Element
getQueryElement in class Element
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||