RESULT_ARRAY, RESULT_AUTO, RESULT_LIST, RESULT_MAP, RESULT_SINGLE| Constructor and Description |
|---|
FlexSearchWrapper(FlexSearch flexSearch) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getFetches() |
List<Field> |
getFields() |
List<Filter> |
getFilters() |
int |
getFirstResult()
Zero based index of first result record to return.
|
int |
getMaxResults()
The maximum number of records to return.
|
int |
getPage()
Zero based index of the page of records to return.
|
int |
getResultMode()
Result mode tells the search what form to use for the results.
|
Class<?> |
getSearchClass() |
List<Sort> |
getSorts() |
boolean |
isDisjunction() |
boolean |
isDistinct() |
public FlexSearchWrapper(FlexSearch flexSearch)
public List<String> getFetches()
getFetches in interface ISearchpublic List<Filter> getFilters()
getFilters in interface ISearchpublic int getFirstResult()
ISearch
<= 0 for unspecified value.
getFirstResult in interface ISearchpublic int getMaxResults()
ISearchpage.
<= 0 for unspecified value.
getMaxResults in interface ISearchpublic int getPage()
ISearchmaxResults. If both page and
maxResults are specified (i.e. > 0), the first result
returned is calculated by page * maxResults.
firstResult has precedence over page. So if
firstResult is specified (i.e. > 0), page is
ignored.
<= 0 for unspecified value.
public int getResultMode()
ISearchRESULT_AUTO, RESULT_ARRAY,
RESULT_LIST
, RESULT_MAP and RESULT_SINGLE
.getResultMode in interface ISearchISearch.RESULT_AUTO,
ISearch.RESULT_ARRAY,
ISearch.RESULT_LIST,
ISearch.RESULT_MAP,
ISearch.RESULT_SINGLEpublic Class<?> getSearchClass()
getSearchClass in interface ISearchpublic boolean isDisjunction()
isDisjunction in interface ISearchpublic boolean isDistinct()
isDistinct in interface ISearchCopyright © 2008-2013. All Rights Reserved.