MCPcopy Create free account
hub / github.com/apache/arrow-rs / encode_list_range

Method encode_list_range

arrow-avro/src/writer/encoder.rs:2035–2045  ·  view source on GitHub ↗
(
        &mut self,
        out: &mut W,
        start: usize,
        end: usize,
    )

Source from the content-addressed store, hash-verified

2033 }
2034
2035 fn encode_list_range<W: Write + ?Sized>(
2036 &mut self,
2037 out: &mut W,
2038 start: usize,
2039 end: usize,
2040 ) -> Result<(), AvroError> {
2041 encode_blocked_range(out, start, end, |out, row| {
2042 self.values
2043 .encode(out, row.saturating_sub(self.values_offset))
2044 })
2045 }
2046
2047 fn encode<W: Write + ?Sized>(&mut self, out: &mut W, idx: usize) -> Result<(), AvroError> {
2048 let offsets = self.list.offsets();

Callers 1

encodeMethod · 0.80

Calls 2

encode_blocked_rangeFunction · 0.85
encodeMethod · 0.45

Tested by

no test coverage detected