public class QueryProcessorStub extends RemoteStub<IQueryProcessor> implements IQueryProcessor
QueryProcessorQP_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, writeExternalclone, finalize, getClass, notify, notifyAll, wait, wait, waitenabledSmartExternalizableWithReferencepublic QueryProcessorStub()
public QueryProcessorStub(IQueryProcessor directObjRef, IQueryProcessor dynamicProxy)
public void closeConnection(ConnectionContext context) throws RemoteException
IQueryProcessorcloseConnection in interface IQueryProcessorRemoteExceptionpublic void setTransaction(Transaction transaction) throws RemoteException
IQueryProcessorsetTransaction in interface IQueryProcessorRemoteExceptionpublic ResponsePacket executeQuery(RequestPacket request, ConnectionContext context) throws RemoteException, SQLException
IQueryProcessorexecuteQuery in interface IQueryProcessorrequest - the request to executecontext - the session of the requestRemoteExceptionSQLExceptionpublic boolean isAvailable()
throws RemoteException
IQueryProcessorisAvailable in interface IQueryProcessorRemoteExceptionpublic ConnectionContext newConnection() throws RemoteException
IQueryProcessornewConnection in interface IQueryProcessorRemoteExceptionpublic QuerySession getSession(ConnectionContext context) throws RemoteException
IQueryProcessorgetSession in interface IQueryProcessorRemoteExceptionCopyright © GigaSpaces.