pub struct BookIdRecord {
pub book_id: i32,
pub work_id: Option<i32>,
pub item_id: i32,
pub isbn10: Option<String>,
pub isbn13: Option<String>,
pub asin: Option<String>,
}Expand description
the book ID records to write to Parquet.
Fields§
§book_id: i32The book ID, converted from UUID.
work_id: Option<i32>The work ID, converted from UUID.
item_id: i32The integrated item ID, converted from book and work IDs projected into number spaces.
isbn10: Option<String>§isbn13: Option<String>§asin: Option<String>Trait Implementations§
Source§impl RecordWriter<BookIdRecord> for &[BookIdRecord]
impl RecordWriter<BookIdRecord> for &[BookIdRecord]
Source§fn write_to_row_group<W: Write + Send>(
&self,
row_group_writer: &mut SerializedRowGroupWriter<'_, W>,
) -> Result<(), ParquetError>
fn write_to_row_group<W: Write + Send>( &self, row_group_writer: &mut SerializedRowGroupWriter<'_, W>, ) -> Result<(), ParquetError>
Writes from
self into row_group_writer.Auto Trait Implementations§
impl Freeze for BookIdRecord
impl RefUnwindSafe for BookIdRecord
impl Send for BookIdRecord
impl Sync for BookIdRecord
impl Unpin for BookIdRecord
impl UnwindSafe for BookIdRecord
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