pub struct ReaderOptions {
pub batch_size: usize,
pub max_record_bytes: usize,
pub max_batch_bytes: usize,
pub max_depth: usize,
pub projection: Option<Vec<usize>>,
}Expand description
Batch size, projection, and XML limits.
Fields§
§batch_size: usizeMaximum rows returned per batch. Default: 1024.
max_record_bytes: usizeMaximum record bytes, including inherited namespaces. Default: 8 MiB. Also caps input events. Records are checked after writing each event; temporary buffers may exceed this limit.
max_batch_bytes: usizeMaximum sum of serialized record bytes per batch. Default: 64 MiB.
Must be at least max_record_bytes; excludes Arrow allocations.
max_depth: usizeMaximum element depth (1..65535). Default: 128.
projection: Option<Vec<usize>>Output columns in order; None selects all, Some(vec![]) only counts rows.
Implementations§
Source§impl ReaderOptions
impl ReaderOptions
Trait Implementations§
Source§impl Clone for ReaderOptions
impl Clone for ReaderOptions
Source§impl Debug for ReaderOptions
impl Debug for ReaderOptions
Auto Trait Implementations§
impl Forget for ReaderOptions
impl Freeze for ReaderOptions
impl RefUnwindSafe for ReaderOptions
impl Send for ReaderOptions
impl Sync for ReaderOptions
impl Unpin for ReaderOptions
impl UnsafeUnpin for ReaderOptions
impl UnwindSafe for ReaderOptions
Blanket Implementations§
impl<T> Allocation for T
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more