public class GridCacheLocalQueryFuture<K,V,R> extends GridCacheQueryFutureAdapter<K,V,R>
cctx, loc, log, qry
Modifier | Constructor and Description |
---|---|
protected |
GridCacheLocalQueryFuture(GridCacheContext<K,V> ctx,
GridCacheQueryBean qry) |
Modifier and Type | Method and Description |
---|---|
void |
awaitFirstPage()
Waits for the first page to be received from remote node(s), if any.
|
protected void |
cancelQuery() |
protected void |
loadAllPages()
Loads all left pages.
|
protected void |
loadPage()
Loads next page.
|
protected boolean |
onPage(UUID nodeId,
boolean last) |
cancel, close, endTime, enqueue, get, get, getUninterruptibly, next, nextPage, nextPage, onDone, onNodeLeft, onPage, onTimeout, printMemoryStats, query, timeoutId, toString
chain, chain, error, get, ignoreInterrupts, isCancelled, isDone, isFailed, listen, logger, onCancelled, onDone, onDone, onDone, onDone, result
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isDone
chain, chain, error, get, isCancelled, listen, result
protected GridCacheLocalQueryFuture(GridCacheContext<K,V> ctx, GridCacheQueryBean qry)
ctx
- Context.qry
- Query.protected void cancelQuery() throws IgniteCheckedException
cancelQuery
in class GridCacheQueryFutureAdapter<K,V,R>
IgniteCheckedException
- In case of error.protected boolean onPage(UUID nodeId, boolean last)
onPage
in class GridCacheQueryFutureAdapter<K,V,R>
nodeId
- Sender node id.last
- Whether page is last.protected void loadPage()
loadPage
in class GridCacheQueryFutureAdapter<K,V,R>
protected void loadAllPages()
loadAllPages
in class GridCacheQueryFutureAdapter<K,V,R>
public void awaitFirstPage() throws IgniteCheckedException
awaitFirstPage
in class GridCacheQueryFutureAdapter<K,V,R>
IgniteCheckedException
- If query execution failed with an error.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017