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 requestRemoteException
SQLException
boolean isAvailable() throws RemoteException
RemoteException
ConnectionContext newConnection() throws RemoteException
RemoteException
void closeConnection(ConnectionContext context) throws RemoteException
RemoteException
QuerySession getSession(ConnectionContext context) throws RemoteException
RemoteException
void setTransaction(Transaction transaction) throws RemoteException
RemoteException
Copyright © GigaSpaces.