MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / get_row_data

Method get_row_data

crates/table/src/page.rs:1277–1279  ·  view source on GitHub ↗

Returns the range of row data starting at `offset` and lasting `size` bytes.

(&self, row: PageOffset, size: Size)

Source from the content-addressed store, hash-verified

1275
1276 /// Returns the range of row data starting at `offset` and lasting `size` bytes.
1277 pub fn get_row_data(&self, row: PageOffset, size: Size) -> &Bytes {
1278 &self.row_data[row.range(size)]
1279 }
1280
1281 /// Returns whether the row at `offset` is present or not.
1282 pub fn has_row_offset(&self, fixed_row_size: Size, offset: PageOffset) -> bool {

Callers 11

read_fixed_lenFunction · 0.45
serialize_row_from_pageFunction · 0.45
newMethod · 0.45
hash_row_in_pageFunction · 0.45
get_fixed_len_rowMethod · 0.45
row_total_granulesMethod · 0.45
copy_row_intoMethod · 0.45
read_u64Function · 0.45
unchecked_read_columnMethod · 0.45

Calls 1

rangeMethod · 0.45

Tested by

no test coverage detected