public interface QueryExecutor<T> extends QueryHandler<T>
QUERY_CLASS_NAME, SERVICE_ID, TITLE, TITLE_ARG, TITLE_ARGS_COUNT, TITLE_RESOURCE_BUNDLE, TITLE_RESOURCE_KEY
Modifier and Type | Method and Description |
---|---|
QueryResult<T> |
execute()
Executes a query in said context.
|
void |
setResultLimit(int resultLimit)
Sets the limit of the result iteration.
|
void |
setResultStart(int resultStart)
Sets the beginning of the result iteration.
|
getProperties
QueryResult<T> execute() throws SearchException
SearchException
- when the execution of the query failsvoid setResultStart(int resultStart)
resultStart
- an int that represents the starting element
to return. The value of resultStart begins at 0.void setResultLimit(int resultLimit)
resultLimit
- an int that represents the upper bound on
the number of results