pub struct ColumnarData {
pub schema: SchemaRef,
pub batches: Vec<RecordBatch>,
pub summary: Option<RecordBatch>,
}Expand description
An export read into memory: the schema and its record batches (and, for spectra, the
per-scan summary). For in-process consumers such as the Python bindings (File.to_arrow()).
Fields§
§schema: SchemaRefSchema with the same field and file metadata as the exported files.
batches: Vec<RecordBatch>The rows, in batches of at most 65,536 rows (262,144 points for spectra).
summary: Option<RecordBatch>Spectra only: the per-scan summary.
Trait Implementations§
Source§impl Clone for ColumnarData
impl Clone for ColumnarData
Auto Trait Implementations§
impl !RefUnwindSafe for ColumnarData
impl !UnwindSafe for ColumnarData
impl Freeze for ColumnarData
impl Send for ColumnarData
impl Sync for ColumnarData
impl Unpin for ColumnarData
impl UnsafeUnpin for ColumnarData
Blanket Implementations§
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more