public class FacetedSearchResult extends GetMultipleDataResult
Constructor and Description |
---|
FacetedSearchResult() |
FacetedSearchResult(int from,
int to,
long queryDuration,
long totalResults,
String[] types,
Object[] data,
HashMap<String,FacetedSearchFacet[]> hashMap)
Argument constructor.
|
Modifier and Type | Method and Description |
---|---|
Map<String,FacetedSearchFacet[]> |
getFacets() |
void |
setFacets(Map<String,FacetedSearchFacet[]> facets) |
getData, getFrom, getQueryDuration, getTo, getTotalResults, getTypes, setData, setFrom, setQueryDuration, setTo, setTotalResults, setTypes
public FacetedSearchResult(int from, int to, long queryDuration, long totalResults, String[] types, Object[] data, HashMap<String,FacetedSearchFacet[]> hashMap)
from
- The start index of the returned elements.to
- The end index of the returned elements.queryDuration
- The duration of the query.totalResults
- The total results for this query.types
- The types of data found.data
- The found data.hashMap
- The facets if any for the query.public FacetedSearchResult()
public Map<String,FacetedSearchFacet[]> getFacets()
public void setFacets(Map<String,FacetedSearchFacet[]> facets)
Copyright © 2017. All rights reserved.