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

Method write_string_inline

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

Write a short string (len <= 7) inline into the fixed part.

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

Source from the content-addressed store, hash-verified

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) {
471 assert!(
472 value.len() <= 7,
473 "inline string must be <= 7 bytes, got {}",
474 value.len()
475 );
476 self.write_binary_inline(pos, value.as_bytes());
477 }
478
479 /// Write binary data to the variable-length part (8-byte aligned, matching Java BinaryRowWriter).
480 pub fn write_binary(&mut self, pos: usize, value: &[u8]) {

Callers 4

partition_bytesFunction · 0.80
write_datumMethod · 0.80
write_typed_valueFunction · 0.80
test_get_string_inlineFunction · 0.80

Calls 1

write_binary_inlineMethod · 0.80

Tested by

no test coverage detected