T - class of value to return.public class SingleCursor<T> extends Object implements GridCursor<T>
| Constructor and Description |
|---|
SingleCursor(T val) |
| Modifier and Type | Method and Description |
|---|---|
T |
get()
Note that this implementation violates the contract of GridCusror.
|
boolean |
next()
Attempt to move cursor position forward.
|
public SingleCursor(T val)
public boolean next()
next in interface GridCursor<T>true If we were able to move position of cursor forward.public T get() throws IgniteCheckedException
null
for queries like "select max(col) from table". This should be fixed for other SQL engines.
https://issues.apache.org/jira/browse/IGNITE-14303.get in interface GridCursor<T>IgniteCheckedException - If failed.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.11.0 Release Date : September 11 2021