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 Freeze for FieldOutput
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