Enum datafusion::datasource::file_format::file_type::FileType
source · pub enum FileType {
AVRO,
PARQUET,
CSV,
JSON,
}
Expand description
Readable file type
Variants
AVRO
Apache Avro file
PARQUET
Apache Parquet file
CSV
CSV file
JSON
JSON file
Implementations
sourceimpl FileType
impl FileType
sourcepub fn get_ext_with_compression(&self, c: FileCompressionType) -> Result<String>
pub fn get_ext_with_compression(&self, c: FileCompressionType) -> Result<String>
Given a FileCompressionType
, return the FileType
’s extension with compression suffix
Trait Implementations
impl Eq for FileType
impl StructuralEq for FileType
impl StructuralPartialEq for FileType
Auto Trait Implementations
impl RefUnwindSafe for FileType
impl Send for FileType
impl Sync for FileType
impl Unpin for FileType
impl UnwindSafe for FileType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.