public class QueryProcessorStub extends RemoteStub<IQueryProcessor> implements IQueryProcessor
QueryProcessor
QP_LOOKUP_NAME
Constructor and Description |
---|
QueryProcessorStub() |
QueryProcessorStub(IQueryProcessor directObjRef,
IQueryProcessor dynamicProxy) |
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.
|
closeProxy, disable, enable, equals, getConnectionUrl, getDynamicProxy, getGeneratedTraffic, getProxy, getReceivedTraffic, getRemoteHostAddress, getRemoteHostName, getRemoteNetworkAddress, getRemoteProcessId, getServicePlatformLogicalVersion, getStubId, hashCode, init, isClosed, isCollocated, isCollocatedStub, isDirect, isRemote, isStub, overrideMethodsMetadata, readExternal, toString, writeExternal
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
enabledSmartExternalizableWithReference
public QueryProcessorStub()
public QueryProcessorStub(IQueryProcessor directObjRef, IQueryProcessor dynamicProxy)
public void closeConnection(ConnectionContext context) throws RemoteException
IQueryProcessor
closeConnection
in interface IQueryProcessor
RemoteException
public void setTransaction(Transaction transaction) throws RemoteException
IQueryProcessor
setTransaction
in interface IQueryProcessor
RemoteException
public ResponsePacket executeQuery(RequestPacket request, ConnectionContext context) throws RemoteException, SQLException
IQueryProcessor
executeQuery
in interface IQueryProcessor
request
- the request to executecontext
- the session of the requestRemoteException
SQLException
public boolean isAvailable() throws RemoteException
IQueryProcessor
isAvailable
in interface IQueryProcessor
RemoteException
public ConnectionContext newConnection() throws RemoteException
IQueryProcessor
newConnection
in interface IQueryProcessor
RemoteException
public QuerySession getSession(ConnectionContext context) throws RemoteException
IQueryProcessor
getSession
in interface IQueryProcessor
RemoteException
Copyright © GigaSpaces.