public interface IQueryPeer extends Remote
| Modifier and Type | Method and Description |
|---|---|
void |
bufferReady(IChunkMessage<IBindingSet> msg)
Notify a service that a buffer having data for some
BOp in some
running query is available. |
void |
cancelQuery(UUID queryId,
Throwable cause)
Notify a service that the query has been terminated.
|
void |
declareQuery(IQueryDecl queryDecl)
Deprecated.
This method is unused and will probably disappear. The nodes
in a cluster reach back to the query controller using
IQueryClient.getQuery(UUID) to resolve the query on
its first reference. This is handled by the
FederatedQueryEngine within its run() loop where it
accepts IChunkMessages. |
UUID |
getServiceUUID()
The
UUID of the service in which this QueryEngine is
running. |
UUID getServiceUUID() throws RemoteException
UUID of the service in which this QueryEngine is
running.UUID of the service in which this QueryEngine
is running -or- a unique and distinct UUID if the
QueryEngine is not running against an
IBigdataFederation.RemoteExceptionIService.getServiceUUID()void declareQuery(IQueryDecl queryDecl) throws RemoteException
IQueryClient.getQuery(UUID) to resolve the query on
its first reference. This is handled by the
FederatedQueryEngine within its run() loop where it
accepts IChunkMessages.queryDecl - The query declaration.UnsupportedOperationException - unless running in scale-out.RemoteExceptionvoid bufferReady(IChunkMessage<IBindingSet> msg) throws RemoteException
BOp in some
running query is available. The receiver may request the data when they
are ready. If the query is cancelled, then the sender will drop the
buffer.msg - The message.UnsupportedOperationException - unless running in scale-out.RemoteExceptionvoid cancelQuery(UUID queryId, Throwable cause) throws RemoteException
queryId - The query identifier.cause - The cause. When null, this is presumed to be
normal query termination.RemoteExceptionCopyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.