public class GridCacheDistributedFieldsQueryFuture extends GridCacheDistributedQueryFuture<Object,Object,List<Object>> implements GridCacheQueryMetadataAware
AbstractQueuedSynchronizer.ConditionObject| Constructor and Description |
|---|
GridCacheDistributedFieldsQueryFuture(GridCacheContext<?,?> ctx,
long reqId,
GridCacheQueryBean qry,
Iterable<ClusterNode> nodes) |
| Modifier and Type | Method and Description |
|---|---|
IgniteInternalFuture<List<GridQueryFieldMetadata>> |
metadata() |
boolean |
onCancelled()
Callback to notify that future is cancelled.
|
boolean |
onDone(Collection<List<Object>> res,
Throwable err)
Callback to notify that future is finished.
|
void |
onPage(UUID nodeId,
List<GridQueryFieldMetadata> metaData,
Collection<Map<String,Object>> data,
Throwable err,
boolean finished) |
cancelQuery, loadAllPages, loadPage, onNodeLeft, onPage, onTimeoutavailable, cancel, endTime, enqueue, get, get, next, nextPage, nextPage, onPage, printMemoryStats, query, timeoutId, toStringchain, duration, error, get, get0, ignoreInterrupts, isCancelled, isDone, isFailed, listen, onDone, onDone, onDone, result, startTime, tryAcquireShared, tryReleaseSharedacquire, acquireInterruptibly, acquireShared, acquireSharedInterruptibly, compareAndSetState, getExclusiveQueuedThreads, getFirstQueuedThread, getQueuedThreads, getQueueLength, getSharedQueuedThreads, getState, getWaitingThreads, getWaitQueueLength, hasContended, hasQueuedPredecessors, hasQueuedThreads, hasWaiters, isHeldExclusively, isQueued, owns, release, releaseShared, setState, tryAcquire, tryAcquireNanos, tryAcquireSharedNanos, tryReleasegetExclusiveOwnerThread, setExclusiveOwnerThreadclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisDonechain, duration, error, get, isCancelled, listen, result, startTimepublic GridCacheDistributedFieldsQueryFuture(GridCacheContext<?,?> ctx, long reqId, GridCacheQueryBean qry, Iterable<ClusterNode> nodes)
ctx - Cache context.reqId - Request ID.qry - Query.nodes - Nodes.public void onPage(@Nullable UUID nodeId, @Nullable List<GridQueryFieldMetadata> metaData, @Nullable Collection<Map<String,Object>> data, @Nullable Throwable err, boolean finished)
nodeId - Sender node ID.metaData - Meta data.data - Page data.err - Error.finished - Finished or not.public boolean onDone(@Nullable Collection<List<Object>> res, @Nullable Throwable err)
null exception is passed in
the result value will be ignored.public boolean onCancelled()
onCancelled in class GridCacheDistributedQueryFuture<Object,Object,List<Object>>True if cancel flag was set by this call.public IgniteInternalFuture<List<GridQueryFieldMetadata>> metadata()
metadata in interface GridCacheQueryMetadataAware
Follow @ApacheIgnite
Ignite Fabric : ver. 1.1.0-incubating Release Date : May 20 2015