pub struct ParquetFormatFactory {
pub options: Option<TableParquetOptions>,
}
Expand description
Factory struct used to create ParquetFormat
Fields§
§options: Option<TableParquetOptions>
inner options for parquet
Implementations§
Source§impl ParquetFormatFactory
impl ParquetFormatFactory
Sourcepub fn new() -> Self
pub fn new() -> Self
Creates an instance of ParquetFormatFactory
Sourcepub fn new_with_options(options: TableParquetOptions) -> Self
pub fn new_with_options(options: TableParquetOptions) -> Self
Creates an instance of ParquetFormatFactory with customized default options
Trait Implementations§
Source§impl Debug for ParquetFormatFactory
impl Debug for ParquetFormatFactory
Source§impl Default for ParquetFormatFactory
impl Default for ParquetFormatFactory
Source§fn default() -> ParquetFormatFactory
fn default() -> ParquetFormatFactory
Returns the “default value” for a type. Read more
Source§impl FileFormatFactory for ParquetFormatFactory
impl FileFormatFactory for ParquetFormatFactory
Source§fn create(
&self,
state: &dyn Session,
format_options: &HashMap<String, String>,
) -> Result<Arc<dyn FileFormat>>
fn create( &self, state: &dyn Session, format_options: &HashMap<String, String>, ) -> Result<Arc<dyn FileFormat>>
Initialize a FileFormat and configure based on session and command level options
Source§fn default(&self) -> Arc<dyn FileFormat>
fn default(&self) -> Arc<dyn FileFormat>
Initialize a FileFormat with all options set to default values
Auto Trait Implementations§
impl Freeze for ParquetFormatFactory
impl RefUnwindSafe for ParquetFormatFactory
impl Send for ParquetFormatFactory
impl Sync for ParquetFormatFactory
impl Unpin for ParquetFormatFactory
impl UnwindSafe for ParquetFormatFactory
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