public interface QueryStream<T> extends AutoClosable:
Sequential, forward-only query result stream.
A stream may own a database cursor, parser, file, or provider session and must therefore be closed. One stream is consumed by one logical consumer; it is not a collection and does not expose random access or a size.
try rows = query.stream(): while rows.next(): print(rows.current)
| Modifier and Type | Member | Description |
|---|---|---|
| public readonly property | currentcurrent as T |
Current row after a successful call to next(). |
| Modifier and Type | Member | Description |
|---|---|---|
| public | cancelcancel() as Void |
Requests cancellation of the current provider operation. |
| public | closeclose() as Void |
Releases every resource owned by this stream. |
| public | nextnext() as Boolean |
Advances to the next row. |