public class DefaultSearchResult extends java.lang.Object implements SearchResult
| Constructor and Description |
|---|
DefaultSearchResult(java.util.List<ResultObject> result,
int start,
int totalCount) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<ResultObject> |
getResult()
Returns the object result collection according to the range specified inside the query of this result.
|
int |
getStart()
Returns the start index of the first object of the result list.
|
int |
getTotalCount()
Returns the total hit count of query (without range).
|
public DefaultSearchResult(java.util.List<ResultObject> result, int start, int totalCount)
public java.util.List<ResultObject> getResult()
SearchResultgetResult in interface SearchResultpublic int getTotalCount()
SearchResultgetTotalCount in interface SearchResultpublic int getStart()
SearchResultgetStart in interface SearchResultCopyright © 2018 SAP SE. All Rights Reserved.