pub struct ArrowJson {
pub schema: ArrowJsonSchema,
pub batches: Vec<ArrowJsonBatch>,
pub dictionaries: Option<Vec<ArrowJsonDictionaryBatch>>,
}
Expand description
A struct that represents an Arrow file with a schema and record batches
Fields
schema: ArrowJsonSchema
batches: Vec<ArrowJsonBatch>
dictionaries: Option<Vec<ArrowJsonDictionaryBatch>>
Implementations
sourceimpl ArrowJson
impl ArrowJson
sourcepub fn equals_reader(&self, reader: &mut dyn RecordBatchReader) -> bool
pub fn equals_reader(&self, reader: &mut dyn RecordBatchReader) -> bool
Compare the Arrow JSON with a record batch reader
Trait Implementations
sourceimpl<'de> Deserialize<'de> for ArrowJson
impl<'de> Deserialize<'de> for ArrowJson
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for ArrowJson
impl Send for ArrowJson
impl Sync for ArrowJson
impl Unpin for ArrowJson
impl UnwindSafe for ArrowJson
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more