Skip to main content

entry_byte_len

Function entry_byte_len 

Source
pub(super) fn entry_byte_len(row: &Row) -> usize
Expand description

The bytes one (row, count) entry contributes to the answer it ends up in.

This is RowCollection::byte_len per entry, the ruler max_result_size is applied with wherever a result is measured against it: the row’s packed data, its offset into that data, and its count. The Row struct’s own bytes are not part of it, because no answer carries them, and charging them measures a narrow row at up to twice what the client receives.