public class GridCacheDistributedFieldsQueryFuture extends GridCacheDistributedQueryFuture<Object,Object,List<Object>> implements GridCacheQueryMetadataAware
| Constructor and Description |
|---|
GridCacheDistributedFieldsQueryFuture(GridCacheContext<?,?> ctx,
long reqId,
GridCacheQueryBean qry,
Collection<ClusterNode> nodes) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
fields() |
IgniteInternalFuture<List<GridQueryFieldMetadata>> |
metadata() |
boolean |
onCancelled()
Callback to notify that future is cancelled.
|
boolean |
onDone(@Nullable Collection<List<Object>> res,
@Nullable Throwable err)
Callback to notify that future is finished.
|
void |
onFieldsPage(@Nullable UUID nodeId,
@Nullable List<GridQueryFieldMetadata> metaData,
@Nullable Collection<Map<String,Object>> data,
@Nullable Throwable err,
boolean finished) |
awaitFirstItemAvailable, cancelQuery, get, get, getUninterruptibly, onError, onMeta, onNodeLeft, onPage, startQuerycacheContext, cancel, close, endTime, logger, next, onPage, onTimeout, query, timeoutId, toStringchain, chain, chainCompose, chainCompose, error, get, ignoreInterrupts, isCancelled, isDone, isFailed, listen, onDone, onDone, onDone, onDone, reset, resultclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisDonechain, chain, chainCompose, chainCompose, error, get, isCancelled, listen, resultpublic GridCacheDistributedFieldsQueryFuture(GridCacheContext<?,?> ctx, long reqId, GridCacheQueryBean qry, Collection<ClusterNode> nodes)
ctx - Cache context.reqId - Request ID.qry - Query.public void onFieldsPage(@Nullable
@Nullable UUID nodeId,
@Nullable
@Nullable List<GridQueryFieldMetadata> metaData,
@Nullable
@Nullable Collection<Map<String,Object>> data,
@Nullable
@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
@Nullable Collection<List<Object>> res,
@Nullable
@Nullable Throwable err)
null exception is passed in
the result value will be ignored.public boolean onCancelled()
onCancelled in class GridFutureAdapter<Collection<List<Object>>>True if cancel flag was set by this call.public IgniteInternalFuture<List<GridQueryFieldMetadata>> metadata()
metadata in interface GridCacheQueryMetadataAware
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023