org.crosswire.jsword.index.query
Class BlurQuery
java.lang.Object
org.crosswire.jsword.index.query.AbstractBinaryQuery
org.crosswire.jsword.index.query.BlurQuery
- All Implemented Interfaces:
- BinaryQuery, Query
public class BlurQuery
- extends AbstractBinaryQuery
A blur query specifies how much to blur the results of the right query before
ANDing it to the left.
- Author:
- DM Smith
- See Also:
for license details.
The copyright to this program is held by it's authors.
Field Summary |
private int |
factor
|
Constructor Summary |
BlurQuery(Query theLeftQuery,
Query theRightQuery,
int theFactor)
Create a query that specifies how much to blur the results of the right
query before ANDing it to the left. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
factor
private int factor
BlurQuery
public BlurQuery(Query theLeftQuery,
Query theRightQuery,
int theFactor)
- Create a query that specifies how much to blur the results of the right
query before ANDing it to the left.
- Parameters:
theLeftQuery
- 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
getFactor
public int getFactor()
- Returns:
- the blur factor