Struct bookdata::marc::flat_fields::FieldOutput
source · pub struct FieldOutput {
rec_count: u32,
writer: TableWriter<FieldRecord>,
}
Expand description
Output for writing flat MARC fields to Parquet.
Fields§
§rec_count: u32
§writer: TableWriter<FieldRecord>
Implementations§
source§impl FieldOutput
impl FieldOutput
sourcepub fn new(writer: TableWriter<FieldRecord>) -> FieldOutput
pub fn new(writer: TableWriter<FieldRecord>) -> FieldOutput
Create a new output.
Trait Implementations§
source§impl DataSink for FieldOutput
impl DataSink for FieldOutput
source§impl ObjectWriter<MARCRecord> for FieldOutput
impl ObjectWriter<MARCRecord> for FieldOutput
source§fn write_object(&mut self, rec: MARCRecord) -> Result<()>
fn write_object(&mut self, rec: MARCRecord) -> Result<()>
Write one object.
source§fn write_all_objects<I>(&mut self, objects: I) -> Result<usize>where
I: Iterator<Item = T>,
fn write_all_objects<I>(&mut self, objects: I) -> Result<usize>where
I: Iterator<Item = T>,
Write an iterator full of objects.
Auto Trait Implementations§
impl !RefUnwindSafe for FieldOutput
impl Send for FieldOutput
impl Sync for FieldOutput
impl Unpin for FieldOutput
impl !UnwindSafe for FieldOutput
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