public class FacetQuery extends Object
Constructor and Description |
---|
FacetQuery() |
Modifier and Type | Method and Description |
---|---|
List<Facet> |
getFacets()
List of facets (mutually exclusive with FacetSetupDoc).
|
String |
getFacetSetupDoc()
Id of a facet setup document that can be found in database containing facets (mutually exclusive with Facets).
|
String |
getIndexName()
Index name to run facet query on.
|
Integer |
getPageSize()
Page size for facet query results.
|
int |
getPageStart()
Page start for facet query results.
|
IndexQuery |
getQuery()
Query that should be ran on index.
|
void |
setFacets(List<Facet> facets)
List of facets (mutually exclusive with FacetSetupDoc).
|
void |
setFacetSetupDoc(String facetSetupDoc)
Id of a facet setup document that can be found in database containing facets (mutually exclusive with Facets).
|
void |
setIndexName(String indexName)
Index name to run facet query on.
|
void |
setPageSize(Integer pageSize)
Page size for facet query results.
|
void |
setPageStart(int pageStart)
Page start for facet query results.
|
void |
setQuery(IndexQuery query)
Query that should be ran on index.
|
public String getIndexName()
public void setIndexName(String indexName)
indexName
- public IndexQuery getQuery()
public void setQuery(IndexQuery query)
query
- public String getFacetSetupDoc()
public void setFacetSetupDoc(String facetSetupDoc)
facetSetupDoc
- public void setFacets(List<Facet> facets)
facets
- public int getPageStart()
public void setPageStart(int pageStart)
pageStart
- public Integer getPageSize()
public void setPageSize(Integer pageSize)
pageSize
- Copyright © 2016. All Rights Reserved.