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

Method build_buffered

arrow-csv/src/reader/mod.rs:1238–1243  ·  view source on GitHub ↗

Create a new `BufReader` from a buffered reader

(self, reader: R)

Source from the content-addressed store, hash-verified

1236
1237 /// Create a new `BufReader` from a buffered reader
1238 pub fn build_buffered<R: BufRead>(self, reader: R) -> Result<BufReader<R>, ArrowError> {
1239 Ok(BufReader {
1240 reader,
1241 decoder: self.build_decoder(),
1242 })
1243 }
1244
1245 /// Builds a decoder that can be used to decode CSV from an arbitrary byte stream
1246 pub fn build_decoder(self) -> Decoder {

Callers 10

do_benchFunction · 0.80
buildMethod · 0.80
test_boundedFunction · 0.80
test_empty_projectionFunction · 0.80
test_header_boundsFunction · 0.80
test_null_booleanFunction · 0.80
test_bufferedFunction · 0.80
err_test_with_schemaFunction · 0.80
test_ioFunction · 0.80

Calls 1

build_decoderMethod · 0.45

Tested by 7

test_boundedFunction · 0.64
test_empty_projectionFunction · 0.64
test_header_boundsFunction · 0.64
test_null_booleanFunction · 0.64
test_bufferedFunction · 0.64
test_ioFunction · 0.64