MCPcopy Create free account
hub / github.com/apache/paimon-rust / write_string

Method write_string

crates/paimon/src/spec/binary_row.rs:465–467  ·  view source on GitHub ↗

Write a string to the variable-length part and store offset+length in the fixed part.

(&mut self, pos: usize, value: &str)

Source from the content-addressed store, hash-verified

463
464 /// Write a string to the variable-length part and store offset+length in the fixed part.
465 pub fn write_string(&mut self, pos: usize, value: &str) {
466 self.write_binary(pos, value.as_bytes());
467 }
468
469 /// Write a short string (len <= 7) inline into the fixed part.
470 pub fn write_string_inline(&mut self, pos: usize, value: &str) {

Callers 7

partition_bytesFunction · 0.45
write_datumMethod · 0.45
write_typed_valueFunction · 0.45

Calls 1

write_binaryMethod · 0.80

Tested by

no test coverage detected