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

Method parse

arrow-row/src/lib.rs:1205–1210  ·  view source on GitHub ↗

Creates a [`Row`] from the provided `bytes`. `bytes` must be a [`Row`] produced by the [`RowConverter`] associated with this [`RowParser`], otherwise subsequent operations with the produced [`Row`] may panic

(&'a self, bytes: &'a [u8])

Source from the content-addressed store, hash-verified

1203 /// `bytes` must be a [`Row`] produced by the [`RowConverter`] associated with
1204 /// this [`RowParser`], otherwise subsequent operations with the produced [`Row`] may panic
1205 pub fn parse<'a>(&'a self, bytes: &'a [u8]) -> Row<'a> {
1206 Row {
1207 data: bytes,
1208 config: &self.config,
1209 }
1210 }
1211}
1212
1213/// The config of a given set of [`Row`]

Callers 15

new_decoderFunction · 0.45
new_decoder_idFunction · 0.45
from_stringMethod · 0.45
from_str_radixMethod · 0.45
test_string_roundtripFunction · 0.45
add_headerMethod · 0.45
handshakeMethod · 0.45
set_request_headersMethod · 0.45
do_getMethod · 0.45
channelMethod · 0.45

Calls

no outgoing calls

Tested by 15

test_string_roundtripFunction · 0.36
do_getMethod · 0.36
channelMethod · 0.36
test_invalid_utf8Function · 0.36
test_invalid_emptyFunction · 0.36
test_invalid_truncatedFunction · 0.36
test_parse_encodingFunction · 0.36
test_parse_compressionFunction · 0.36
test_try_binary_mutFunction · 0.36