Struct bookdata::openlib::edition::EditionProcessor
source · pub struct EditionProcessor {
last_id: i32,
author_ids: IdIndex<String>,
work_ids: IdIndex<String>,
rec_writer: TableWriter<EditionRec>,
link_writer: TableWriter<LinkRec>,
isbn_writer: TableWriter<ISBNrec>,
author_writer: TableWriter<EditionAuthorRec>,
subject_writer: TableWriter<EditionSubjectRec>,
}
Expand description
Process edition records into Parquet.
This must be run after the author and work processors.
Fields§
§last_id: i32
§work_ids: IdIndex<String>
§rec_writer: TableWriter<EditionRec>
§link_writer: TableWriter<LinkRec>
§isbn_writer: TableWriter<ISBNrec>
§subject_writer: TableWriter<EditionSubjectRec>
Implementations§
Trait Implementations§
source§impl ObjectWriter<Row<OLEditionRecord>> for EditionProcessor
impl ObjectWriter<Row<OLEditionRecord>> for EditionProcessor
source§fn write_object(&mut self, row: Row<OLEditionRecord>) -> Result<()>
fn write_object(&mut self, row: Row<OLEditionRecord>) -> 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 EditionProcessor
impl Send for EditionProcessor
impl Sync for EditionProcessor
impl Unpin for EditionProcessor
impl !UnwindSafe for EditionProcessor
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