public interface CacheQueryFuture<T> extends IgniteInternalFuture<Collection<T>>, AutoCloseable
CacheQuery documentation for more information.| Modifier and Type | Method and Description |
|---|---|
boolean |
cancel()
Cancels this query future and stop receiving any further results for the query
associated with this future.
|
boolean |
isDone()
Checks if all data is fetched by the query.
|
T |
next()
Returns next element from result set.
|
chain, chain, error, get, get, get, getUninterruptibly, isCancelled, listen, resultclose@Nullable T next() throws IgniteCheckedException
This is a blocking call which will wait if there are no elements available immediately.
null if all the elements have been fetched.IgniteCheckedException - If failed.boolean isDone()
isDone in interface IgniteInternalFuture<Collection<T>>True if all data is fetched, false otherwise.boolean cancel()
throws IgniteCheckedException
cancel in interface IgniteInternalFuture<Collection<T>>True if future was canceled (i.e. was not finished prior to this call).IgniteCheckedException - If cancellation failed.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.9.1 Release Date : December 9 2020