pub struct ReviewRecord {
pub rec_id: u32,
pub review_id: i64,
pub user_id: i32,
pub book_id: i32,
pub work_id: Option<i32>,
pub cluster: i32,
pub rating: Option<f32>,
pub review: String,
pub n_votes: i32,
pub added: f32,
pub updated: f32,
}
Expand description
Review records to write to the Parquet table.
Fields§
§rec_id: u32
Internal auto-genereated record identifier.
review_id: i64
Review identifier (derived from input).
user_id: i32
User identifier.
book_id: i32
GoodReads book identifier.
work_id: Option<i32>
GoodReads work identifier.
cluster: i32
Cluster identifier (from integration clustering).
rating: Option<f32>
Rating associated with this review (if provided).
review: String
Review text.
n_votes: i32
Number of votes this review has received.
added: f32
Date review was added.
updated: f32
Date review was updated.
Trait Implementations§
Source§impl RecordWriter<ReviewRecord> for &[ReviewRecord]
impl RecordWriter<ReviewRecord> for &[ReviewRecord]
fn write_to_row_group<W: Write + Send>( &self, row_group_writer: &mut SerializedRowGroupWriter<'_, W>, ) -> Result<(), ParquetError>
Auto Trait Implementations§
impl Freeze for ReviewRecord
impl RefUnwindSafe for ReviewRecord
impl Send for ReviewRecord
impl Sync for ReviewRecord
impl Unpin for ReviewRecord
impl UnwindSafe for ReviewRecord
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