BufferedCursor Reference

class pyqldb.cursor.buffered_cursor.BufferedCursor(cursor)[source]

Implementation of a cursor which buffers all values in memory, rather than stream them from QLDB during retrieval.

Parameters

cursor (pyqldb.cursor.stream_cursor.StreamCursor) – The cursor object to iterate through results and place into memory.

get_consumed_ios()[source]

Return a dictionary containing the total amount of IO requests for a statement execution. Return None if there were no read IOs for a statement execution.

Return type

dict/None

Returns

The amount of read IO requests for a statement execution.

get_timing_information()[source]

Return a dictionary containing the total amount of processing time for a statement execution. Return None if there was no timing information for a statement execution.

Return type

dict/None

Returns

The amount of processing time in milliseconds for a statement execution.