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,
ScoreMode scoreMode,
float boost) |
boolean |
equals(Object other) |
Query |
getIn() |
Random |
getRandom() |
int |
hashCode() |
Query |
rewrite(IndexReader reader) |
String |
toString(String field) |
void |
visit(QueryVisitor visitor) |
static Query |
wrap(Random random,
Query query)
Wrap a query if necessary.
|
classHash, sameClassAs, toString
public Weight createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) throws IOException
createWeight
in class Query
IOException
public Random getRandom()
public Query getIn()
public Query rewrite(IndexReader reader) throws IOException
rewrite
in class Query
IOException
public void visit(QueryVisitor visitor)
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.