org.crosswire.jsword.book.search.lucene
Class BaseQuery
java.lang.Object
org.crosswire.jsword.book.search.lucene.BaseQuery
- All Implemented Interfaces:
- Query
public class BaseQuery
- extends Object
- implements Query
A base token is the smallest unit of search that the index can perform.
- Author:
- DM Smith [ dmsmith555 at yahoo dot com]
- See Also:
for license details.
The copyright to this program is held by it's authors.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
query
private String query
BaseQuery
public BaseQuery(String theQuery)
find
public Key find(Index index)
throws BookException
- Specified by:
find
in interface Query
- Throws:
BookException
getQuery
public String getQuery()
- Returns:
- the query