pub struct AvroFormatFactory;
Expand description
Factory struct used to create AvroFormat
Implementations§
Source§impl AvroFormatFactory
impl AvroFormatFactory
Sourcepub fn new() -> Self
pub fn new() -> Self
Creates an instance of AvroFormatFactory
Trait Implementations§
Source§impl Debug for AvroFormatFactory
impl Debug for AvroFormatFactory
Source§impl Default for AvroFormatFactory
impl Default for AvroFormatFactory
Source§fn default() -> AvroFormatFactory
fn default() -> AvroFormatFactory
Returns the “default value” for a type. Read more
Source§impl FileFormatFactory for AvroFormatFactory
impl FileFormatFactory for AvroFormatFactory
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 AvroFormatFactory
impl RefUnwindSafe for AvroFormatFactory
impl Send for AvroFormatFactory
impl Sync for AvroFormatFactory
impl Unpin for AvroFormatFactory
impl UnwindSafe for AvroFormatFactory
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