public class GridCacheDistributedFieldsQueryFuture extends GridCacheDistributedQueryFuture<Object,Object,List<Object>> implements GridCacheQueryMetadataAware
cctx, loc, log, qry| 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) |
awaitFirstPage, cancelQuery, loadAllPages, loadPage, onNodeLeft, onPage, onTimeoutcancel, close, endTime, enqueue, get, get, getUninterruptibly, next, nextPage, nextPage, onPage, printMemoryStats, query, timeoutId, toStringchain, chain, error, get, ignoreInterrupts, isCancelled, isDone, isFailed, listen, logger, onDone, onDone, onDone, onDone, reset, resultclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisDonechain, chain, error, get, isCancelled, listen, resultpublic 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. 2.4.0 Release Date : March 5 2018