public class GridCacheLocalQueryFuture<K,V,R> extends GridCacheQueryFutureAdapter<K,V,R>
| Modifier | Constructor and Description |
|---|---|
protected |
GridCacheLocalQueryFuture(GridCacheContext<K,V> ctx,
GridCacheQueryBean qry) |
| Modifier and Type | Method and Description |
|---|---|
void |
awaitFirstItemAvailable()
TODO: IGNITE-15728 Provide custom reducer for ScanQueryFallbackClosableIterator.
|
protected void |
cancelQuery(Throwable err)
Cancels query on remote nodes and cleanes owned resources.
|
protected void |
onError(Throwable err)
Invokes in case of this future error.
|
protected void |
onPage(UUID nodeId,
Collection<R> data,
boolean lastPage)
Handles new data page from query node.
|
cacheContext, cancel, close, endTime, fields, logger, next, onDone, onMeta, onNodeLeft, onPage, onTimeout, query, timeoutId, toStringchain, chain, chainCompose, chainCompose, error, get, get, get, getUninterruptibly, ignoreInterrupts, isCancelled, isDone, isFailed, listen, onCancelled, onDone, onDone, onDone, onDone, reset, resultclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisDonechain, chain, chainCompose, chainCompose, error, get, get, get, getUninterruptibly, isCancelled, listen, resultprotected GridCacheLocalQueryFuture(GridCacheContext<K,V> ctx, GridCacheQueryBean qry)
ctx - Context.qry - Query.protected void cancelQuery(Throwable err) throws IgniteCheckedException
cancelQuery in class GridCacheQueryFutureAdapter<K,V,R>err - If query was cancelled with error.IgniteCheckedException - In case of error.public void awaitFirstItemAvailable()
throws IgniteCheckedException
awaitFirstItemAvailable in class GridCacheQueryFutureAdapter<K,V,R>IgniteCheckedException - If query execution failed with an error.protected void onError(Throwable err)
onError in class GridCacheQueryFutureAdapter<K,V,R>protected void onPage(UUID nodeId, Collection<R> data, boolean lastPage)
onPage in class GridCacheQueryFutureAdapter<K,V,R>
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023