struct ArrowColumnWriterFactory {
row_group_index: usize,
file_encryptor: Option<Arc<FileEncryptor>>,
}Expand description
Creates ArrowColumnWriter instances
Fields§
§row_group_index: usize§file_encryptor: Option<Arc<FileEncryptor>>Implementations§
Source§impl ArrowColumnWriterFactory
impl ArrowColumnWriterFactory
pub fn new() -> Self
pub fn with_file_encryptor( self, row_group_index: usize, file_encryptor: Option<Arc<FileEncryptor>>, ) -> Self
fn create_page_writer( &self, column_descriptor: &ColumnDescPtr, column_index: usize, ) -> Result<Box<ArrowPageWriter>>
Sourcefn get_arrow_column_writer(
&self,
data_type: &ArrowDataType,
props: &WriterPropertiesPtr,
leaves: &mut Iter<'_, ColumnDescPtr>,
out: &mut Vec<ArrowColumnWriter>,
) -> Result<()>
fn get_arrow_column_writer( &self, data_type: &ArrowDataType, props: &WriterPropertiesPtr, leaves: &mut Iter<'_, ColumnDescPtr>, out: &mut Vec<ArrowColumnWriter>, ) -> Result<()>
Gets an ArrowColumnWriter for the given data_type, appending the
output ColumnDesc to leaves and the column writers to out
Auto Trait Implementations§
impl Freeze for ArrowColumnWriterFactory
impl RefUnwindSafe for ArrowColumnWriterFactory
impl Send for ArrowColumnWriterFactory
impl Sync for ArrowColumnWriterFactory
impl Unpin for ArrowColumnWriterFactory
impl UnwindSafe for ArrowColumnWriterFactory
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