result_convertor._AccumulatedData

Implementation of _AbstractAccumulatedData that uses list of dicts as storage,

which is used when non-optimized data extraction is used. This implementation may lead to uncontrolled memory usage for large results.

Properties

None

Methods

NameDescription
accumulate_data (from_result: ExecutionResult)Accumulate data from the ExecutionResult.
accumulate_grand_totals (from_result: ExecutionResult, paging_dim: int, response: BareExecutionResponse)Accumulate grand totals from the results.
accumulate_headers (from_result: ExecutionResult, from_dim: int)Accumulate headers for a particular dimension of a result into the provided `data_headers` array at the index
extend_existing_row_data (from_result: ExecutionResult)Extend the existing row data with the data from the ExecutionResult.
result ()Returns the data with headers.