Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle WebCenter
11g Release 1 (11.1.1.3.0)
E15995-02


oracle.webcenter.search
Interface QueryExecutor<T>

All Superinterfaces:
QueryHandler<T>

public interface QueryExecutor<T>
extends QueryHandler<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.

Since:
11.1.1.0.0 Beta 2

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

execute

QueryResult<T> execute()
                       throws SearchException
Executes a query in said context.
Returns:
a QueryResult from which we can access an iterator of T
Throws:
SearchException - when the execution of the query fails

setResultStart

void setResultStart(int resultStart)
Sets the beginning of the result iteration.
Parameters:
resultStart - an int that represents the starting element to return. The value of resultStart begins at 0.

setResultLimit

void setResultLimit(int resultLimit)
Sets the limit of the result iteration.
Parameters:
resultLimit - an int that represents the upper bound on the number of results

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle WebCenter
11g Release 1 (11.1.1.3.0)
E15995-02


Copyright © 2009, 2010, Oracle. All rights reserved.