pub enum FileType {
Avro,
Csv,
Json,
Orc,
Parquet,
Xlsx,
Yaml,
}Expand description
A supported input or output file type
Variants§
Implementations§
Source§impl FileType
impl FileType
Sourcepub fn supports_pipeline_conversion_input(self) -> bool
pub fn supports_pipeline_conversion_input(self) -> bool
Input formats allowed for crate::pipeline::PipelineBuilder conversion (read + write).
Sourcepub fn supports_pipeline_conversion_output(self) -> bool
pub fn supports_pipeline_conversion_output(self) -> bool
Output formats allowed for crate::pipeline::PipelineBuilder conversion.
Sourcepub fn supports_pipeline_display_input(self) -> bool
pub fn supports_pipeline_display_input(self) -> bool
Input formats for display pipelines (head / tail / sample / schema / row count to stdout).
Sourcepub fn supports_datafusion_file_read(self) -> bool
pub fn supports_datafusion_file_read(self) -> bool
Formats read via DataFusion in crate::pipeline::read::read_to_dataframe.
Trait Implementations§
impl Copy for FileType
impl Eq for FileType
impl StructuralPartialEq for FileType
Auto Trait Implementations§
impl Freeze for FileType
impl RefUnwindSafe for FileType
impl Send for FileType
impl Sync for FileType
impl Unpin for FileType
impl UnsafeUnpin for FileType
impl UnwindSafe for FileType
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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