Skip to main content

Module stream

Module stream 

Source

Re-exportsΒ§

use std::collections::HashMap; πŸ”’
use std::fmt::Debug; πŸ”’
use std::fmt::Debug; πŸ”’
use std::sync::Arc; πŸ”’
use arrow_array::ArrayRef; πŸ”’
use arrow_array::RecordBatch; πŸ”’
use arrow_buffer::Buffer; πŸ”’
use arrow_buffer::MutableBuffer; πŸ”’
use arrow_schema::ArrowError; πŸ”’
use arrow_schema::SchemaRef; πŸ”’
use crate::convert::MessageBuffer; πŸ”’
use crate::reader::MAX_PREALLOC_BYTES; πŸ”’
use crate::reader::RecordBatchDecoder; πŸ”’
use crate::reader::read_dictionary_impl; πŸ”’
use crate::CONTINUATION_MARKER; πŸ”’
use crate::MessageHeader; πŸ”’

StructsΒ§

StreamDecoder
A low-level interface for reading [RecordBatch] data from a stream of bytes

EnumsΒ§

DecoderState πŸ”’

FunctionsΒ§

reserve_declared πŸ”’
Reserves a message’s declared length before copying its first bytes into an empty buf, bounded as in read_body_bounded. Growing with each input buffer instead doubles the capacity, and the decoded batch, which is zero-copy over buf, keeps up to twice its size.