pub struct AuthorProcessor {
rec_writer: TableWriter<AuthorRec>,
name_writer: TableWriter<AuthorNameRec>,
}
Expand description
Process author records into Parquet.
Fields§
§rec_writer: TableWriter<AuthorRec>
§name_writer: TableWriter<AuthorNameRec>
Implementations§
Source§impl AuthorProcessor
impl AuthorProcessor
pub fn new() -> Result<AuthorProcessor>
Trait Implementations§
Source§impl ObjectWriter<Row<OLAuthorSource>> for AuthorProcessor
impl ObjectWriter<Row<OLAuthorSource>> for AuthorProcessor
Source§fn write_object(&mut self, row: Row<OLAuthorSource>) -> Result<()>
fn write_object(&mut self, row: Row<OLAuthorSource>) -> 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 Freeze for AuthorProcessor
impl !RefUnwindSafe for AuthorProcessor
impl Send for AuthorProcessor
impl Sync for AuthorProcessor
impl Unpin for AuthorProcessor
impl !UnwindSafe for AuthorProcessor
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