|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal 11g Release 1 (11.1.1.8.0) E15995-07 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface QueryExecutor<T>
Extends the QueryHandler interface to allow entry into executing a Query. Most Search API implementations will just create implementations of the QueryExecutor interface so that queries can be executed, rather than exposing a QueryFederator.
Field Summary |
---|
Fields inherited from interface oracle.webcenter.search.QueryHandler |
---|
QUERY_CLASS_NAME, SERVICE_ID, TITLE, TITLE_ARG, TITLE_ARGS_COUNT, TITLE_RESOURCE_BUNDLE, TITLE_RESOURCE_KEY |
Method Summary | |
---|---|
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. |
Methods inherited from interface oracle.webcenter.search.QueryHandler |
---|
getProperties |
Method Detail |
---|
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
|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal 11g Release 1 (11.1.1.8.0) E15995-07 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |