pub struct EditionProcessor {
last_id: u32,
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: u32§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 finish_objects(self) -> Result<usize>
fn finish_objects(self) -> Result<usize>
Finish and close the target.
Auto Trait Implementations§
impl Freeze for EditionProcessor
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
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