public abstract class BaseQueryImpl extends Object implements Query
BOOST_DEFAULT
Constructor and Description |
---|
BaseQueryImpl() |
Modifier and Type | Method and Description |
---|---|
<T> T |
accept(QueryVisitor<T> queryVisitor) |
float |
getBoost() |
Filter |
getPostFilter() |
BooleanFilter |
getPreBooleanFilter() |
QueryConfig |
getQueryConfig() |
boolean |
hasChildren() |
boolean |
isDefaultBoost() |
void |
setBoost(float boost) |
void |
setPostFilter(Filter postFilter) |
void |
setPreBooleanFilter(BooleanFilter preFilter) |
void |
setQueryConfig(QueryConfig queryConfig) |
public <T> T accept(QueryVisitor<T> queryVisitor)
public Filter getPostFilter()
getPostFilter
in interface Query
public BooleanFilter getPreBooleanFilter()
getPreBooleanFilter
in interface Query
public QueryConfig getQueryConfig()
getQueryConfig
in interface Query
public boolean hasChildren()
hasChildren
in interface Query
public boolean isDefaultBoost()
isDefaultBoost
in interface Query
public void setPostFilter(Filter postFilter)
setPostFilter
in interface Query
public void setPreBooleanFilter(BooleanFilter preFilter)
setPreBooleanFilter
in interface Query
public void setQueryConfig(QueryConfig queryConfig)
setQueryConfig
in interface Query