pub struct OrcFormatFactory { /* private fields */ }Expand description
Factory for creating OrcFormat instances.
Implementations§
Source§impl OrcFormatFactory
impl OrcFormatFactory
Sourcepub fn new() -> Self
pub fn new() -> Self
Creates an instance of OrcFormatFactory
Sourcepub fn new_with_options(options: OrcFormatOptions) -> Self
pub fn new_with_options(options: OrcFormatOptions) -> Self
Creates an instance of OrcFormatFactory with default options.
Trait Implementations§
Source§impl Debug for OrcFormatFactory
impl Debug for OrcFormatFactory
Source§impl Default for OrcFormatFactory
impl Default for OrcFormatFactory
Source§fn default() -> OrcFormatFactory
fn default() -> OrcFormatFactory
Returns the “default value” for a type. Read more
Source§impl FileFormatFactory for OrcFormatFactory
impl FileFormatFactory for OrcFormatFactory
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 OrcFormatFactory
impl RefUnwindSafe for OrcFormatFactory
impl Send for OrcFormatFactory
impl Sync for OrcFormatFactory
impl Unpin for OrcFormatFactory
impl UnwindSafe for OrcFormatFactory
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