StreamCursor Reference

class pyqldb.cursor.stream_cursor.StreamCursor(page, session, transaction_id)[source]

An iterable class representing a stream cursor on a statement’s result set.

Parameters
  • page (dict) – The page containing the initial result set data dictionary of the statement’s execution.

  • session (pyqldb.communication.session_client.SessionClient) – The parent session that represents the communication channel to QLDB.

  • transaction_id (str) – The ID of this cursor’s parent transaction, required to fetch pages.

close()[source]

Close this stream cursor object.