pub struct TableWriter<R>{
_phantom: PhantomData<R>,
writer: Option<UnchunkWriter<R, ThreadObjectWriter<'static, Vec<R>>>>,
out_path: Option<PathBuf>,
row_count: usize,
}Expand description
Parquet table writer.
A table writer is an ObjectWriter for structs implementing [TableRow], that writes them out to a Parquet file.
Fields§
§_phantom: PhantomData<R>§writer: Option<UnchunkWriter<R, ThreadObjectWriter<'static, Vec<R>>>>§out_path: Option<PathBuf>§row_count: usizeImplementations§
Source§impl<R> TableWriter<R>
impl<R> TableWriter<R>
Source§impl<R> TableWriter<R>
impl<R> TableWriter<R>
fn display_path(&self) -> Cow<'static, str>
Trait Implementations§
Source§impl<R> Drop for TableWriter<R>
impl<R> Drop for TableWriter<R>
Source§impl<R> ObjectWriter<R> for TableWriter<R>
impl<R> ObjectWriter<R> for TableWriter<R>
Auto Trait Implementations§
impl<R> Freeze for TableWriter<R>
impl<R> !RefUnwindSafe for TableWriter<R>
impl<R> Send for TableWriter<R>
impl<R> Sync for TableWriter<R>
impl<R> Unpin for TableWriter<R>where
R: Unpin,
impl<R> !UnwindSafe for TableWriter<R>
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