public interface IQueryProcessor extends Remote
QueryProcessor.| Modifier and Type | Field and Description |
|---|---|
static String |
QP_LOOKUP_NAME |
| Modifier and Type | Method and Description |
|---|---|
void |
closeConnection(ConnectionContext context)
Close connection
|
ResponsePacket |
executeQuery(RequestPacket request,
ConnectionContext context)
Execute query request and returns the response
|
QuerySession |
getSession(ConnectionContext context)
Retrieve the query session that belongs to the given context
|
boolean |
isAvailable()
Check if QueryProcessor is available
|
ConnectionContext |
newConnection()
Starts new connection
|
void |
setTransaction(Transaction transaction)
Set an explicit transaction to be used by the query processor.
|
static final String QP_LOOKUP_NAME
ResponsePacket executeQuery(RequestPacket request, ConnectionContext context) throws RemoteException, SQLException
request - the request to executecontext - the session of the requestRemoteExceptionSQLExceptionboolean isAvailable()
throws RemoteException
RemoteExceptionConnectionContext newConnection() throws RemoteException
RemoteExceptionvoid closeConnection(ConnectionContext context) throws RemoteException
RemoteExceptionQuerySession getSession(ConnectionContext context) throws RemoteException
RemoteExceptionvoid setTransaction(Transaction transaction) throws RemoteException
RemoteExceptionCopyright © GigaSpaces.