RESULT_ARRAY, RESULT_AUTO, RESULT_LIST, RESULT_MAP, RESULT_SINGLE
Constructor and Description |
---|
FlexSearchWrapper(FlexSearch flexSearch) |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
getFetches() |
java.util.List<Field> |
getFields() |
java.util.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.
|
java.lang.Class<?> |
getSearchClass() |
java.util.List<Sort> |
getSorts() |
boolean |
isDisjunction() |
boolean |
isDistinct() |
public FlexSearchWrapper(FlexSearch flexSearch)
public java.util.List<java.lang.String> getFetches()
getFetches
in interface ISearch
public java.util.List<Filter> getFilters()
getFilters
in interface ISearch
public int getFirstResult()
ISearch
<= 0
for unspecified value.
getFirstResult
in interface ISearch
public int getMaxResults()
ISearch
page
.
<= 0
for unspecified value.
getMaxResults
in interface ISearch
public int getPage()
ISearch
maxResults
. 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()
ISearch
RESULT_AUTO
, RESULT_ARRAY
,
RESULT_LIST
, RESULT_MAP
and RESULT_SINGLE
.getResultMode
in interface ISearch
ISearch.RESULT_AUTO
,
ISearch.RESULT_ARRAY
,
ISearch.RESULT_LIST
,
ISearch.RESULT_MAP
,
ISearch.RESULT_SINGLE
public java.lang.Class<?> getSearchClass()
getSearchClass
in interface ISearch
public boolean isDisjunction()
isDisjunction
in interface ISearch
public boolean isDistinct()
isDistinct
in interface ISearch