public final class AssertingQuery extends Query
| Constructor and Description |
|---|
AssertingQuery(Random random,
Query in)
Sole constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Weight |
createWeight(IndexSearcher searcher,
boolean needsScores,
float boost) |
boolean |
equals(Object other) |
Query |
getIn() |
Random |
getRandom() |
int |
hashCode() |
Query |
rewrite(IndexReader reader) |
String |
toString(String field) |
static Query |
wrap(Random random,
Query query)
Wrap a query if necessary.
|
classHash, sameClassAs, toStringpublic Weight createWeight(IndexSearcher searcher, boolean needsScores, float boost) throws IOException
createWeight in class QueryIOExceptionpublic Random getRandom()
public Query getIn()
public Query rewrite(IndexReader reader) throws IOException
rewrite in class QueryIOExceptionCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.