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

Method build

arrow-json/src/reader/mod.rs:318–323  ·  view source on GitHub ↗

Create a [`Reader`] with the provided [`BufRead`]

(self, reader: R)

Source from the content-addressed store, hash-verified

316
317 /// Create a [`Reader`] with the provided [`BufRead`]
318 pub fn build<R: BufRead>(self, reader: R) -> Result<Reader<R>, ArrowError> {
319 Ok(Reader {
320 reader,
321 decoder: self.build_decoder()?,
322 })
323 }
324
325 /// Create a [`Decoder`]
326 pub fn build_decoder(self) -> Result<Decoder, ArrowError> {

Calls 1

build_decoderMethod · 0.45