public class SimpleFacetQuery extends SimpleQuery implements FacetQuery
FacetQuery
Query.Operator
DEFAULT_PAGE
DEFAULT_PAGE_SIZE
Constructor and Description |
---|
SimpleFacetQuery() |
SimpleFacetQuery(Criteria criteria) |
SimpleFacetQuery(Criteria criteria,
Pageable pageable) |
Modifier and Type | Method and Description |
---|---|
<T extends SolrDataQuery> |
addCriteria(Criteria criteria)
Add an criteria to the query.
|
Criteria |
getCriteria() |
FacetOptions |
getFacetOptions() |
boolean |
hasFacetOptions() |
<T extends SolrDataQuery> |
setFacetOptions(FacetOptions facetOptions)
Faceting options to apply when exectuing query
|
addFilterQuery, addGroupByField, addGroupByField, addProjectionOnField, addProjectionOnField, addProjectionOnFields, addProjectionOnFields, addSort, fromQuery, fromQuery, getDefaultOperator, getFilterQueries, getGroupByFields, getPageRequest, getProjectionOnFields, getSort, hasDefaultOperatorDefined, setDefaultOperator, setPageRequest
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addFilterQuery, addGroupByField, addProjectionOnField, addSort, getDefaultOperator, getFilterQueries, getGroupByFields, getPageRequest, getProjectionOnFields, getSort, setDefaultOperator, setPageRequest
addCriteria, getCriteria
public SimpleFacetQuery()
public SimpleFacetQuery(Criteria criteria)
public final <T extends SolrDataQuery> T setFacetOptions(FacetOptions facetOptions)
FacetQuery
setFacetOptions
in interface FacetQuery
public FacetOptions getFacetOptions()
getFacetOptions
in interface FacetQuery
public boolean hasFacetOptions()
hasFacetOptions
in interface FacetQuery
public final <T extends SolrDataQuery> T addCriteria(Criteria criteria)
criteria
- public Criteria getCriteria()
Copyright © 2011-2013-2013 SpringSource. All Rights Reserved.