org.crosswire.jsword.index.query
Class OrQuery
java.lang.Object
org.crosswire.jsword.index.query.AbstractBinaryQuery
org.crosswire.jsword.index.query.OrQuery
- All Implemented Interfaces:
- BinaryQuery, Query
public class OrQuery
- extends AbstractBinaryQuery
An OR query specifies that a result is the union of the left and the right
query results.
- Author:
- DM Smith [ dmsmith555 at yahoo dot com]
- See Also:
for license details.
The copyright to this program is held by it's authors.
Method Summary |
Key |
find(Index index)
Find the keys that match the query in the index |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OrQuery
public OrQuery(Query theLeftQuery,
Query theRightQuery)
find
public Key find(Index index)
throws BookException
- Description copied from interface:
Query
- Find the keys that match the query in the index
- Parameters:
index
- the index to search
- Returns:
- the set of keys that match
- Throws:
BookException