Interface GridCursor<T>
- All Known Implementing Classes:
GridCursorIteratorWrapper,JumpingIndexCursor,SafeCursorDecorator
public interface GridCursor<T>
Simple cursor abstraction. Initial state must be "before first".
-
Method Summary
-
Method Details
-
next
Attempt to move cursor position forward.- Returns:
trueIf we were able to move position of cursor forward.- Throws:
IgniteCheckedException- If failed.
-
get
Gets element at current position. Must be called only after successfulnext()call.- Returns:
- Element at current position.
- Throws:
IgniteCheckedException- If failed.
-