public abstract class ExtendedQueryBase extends Query implements ExtendedQuery
Constructor and Description |
---|
ExtendedQueryBase() |
Modifier and Type | Method and Description |
---|---|
boolean |
getCache()
Should this query be cached in the query cache or filter cache.
|
boolean |
getCacheSep()
If true, the clauses of this boolean query should be cached separately.
|
int |
getCost()
Returns the cost of this query, used to order checking of filters that are not cached.
|
String |
getOptions() |
static String |
getOptionsString(ExtendedQuery q) |
void |
setCache(boolean cache) |
void |
setCacheSep(boolean cacheSep) |
void |
setCost(int cost) |
String |
toString(String field) |
classHash, createWeight, equals, hashCode, rewrite, sameClassAs, toString, visit
public void setCache(boolean cache)
setCache
in interface ExtendedQuery
public boolean getCache()
ExtendedQuery
getCache
in interface ExtendedQuery
public void setCacheSep(boolean cacheSep)
setCacheSep
in interface ExtendedQuery
public boolean getCacheSep()
ExtendedQuery
getCacheSep
in interface ExtendedQuery
public void setCost(int cost)
setCost
in interface ExtendedQuery
public int getCost()
ExtendedQuery
getCost
in interface ExtendedQuery
public String getOptions()
public static String getOptionsString(ExtendedQuery q)
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.