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

Method get_boolean

crates/paimon/src/spec/binary_row.rs:163–165  ·  view source on GitHub ↗
(&self, pos: usize)

Source from the content-addressed store, hash-verified

161 }
162
163 pub fn get_boolean(&self, pos: usize) -> crate::Result<bool> {
164 self.read_byte_at(self.field_offset(pos)).map(|b| b != 0)
165 }
166
167 pub fn get_byte(&self, pos: usize) -> crate::Result<i8> {
168 self.read_byte_at(self.field_offset(pos)).map(|b| b as i8)

Callers 3

get_datumMethod · 0.80
format_partition_valueFunction · 0.80
extract_datumFunction · 0.80

Calls 2

read_byte_atMethod · 0.80
field_offsetMethod · 0.45

Tested by

no test coverage detected