public final class WrappedQuery extends ExtendedQueryBase
| Constructor and Description |
|---|
WrappedQuery(Query q) |
| Modifier and Type | Method and Description |
|---|---|
Weight |
createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
boolean |
equals(Object obj) |
Query |
getWrappedQuery() |
int |
hashCode() |
Query |
rewrite(IndexReader reader) |
void |
setWrappedQuery(Query q) |
String |
toString(String field) |
void |
visit(QueryVisitor visitor) |
getCache, getCacheSep, getCost, getOptions, getOptionsString, setCache, setCacheSep, setCostclassHash, sameClassAs, toStringpublic WrappedQuery(Query q)
public Query getWrappedQuery()
public void setWrappedQuery(Query q)
public Weight createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) throws IOException
createWeight in class QueryIOExceptionpublic Query rewrite(IndexReader reader) throws IOException
rewrite in class QueryIOExceptionpublic void visit(QueryVisitor visitor)
public String toString(String field)
toString in class ExtendedQueryBaseCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.