Struct datafusion::datasource::physical_plan::FileMeta
source · pub struct FileMeta {
pub object_meta: ObjectMeta,
pub range: Option<FileRange>,
pub extensions: Option<Arc<dyn Any + Send + Sync>>,
}
Expand description
A single file or part of a file that should be read, along with its schema, statistics
Fields§
§object_meta: ObjectMeta
Path for the file (e.g. URL, filesystem path, etc)
range: Option<FileRange>
An optional file range for a more fine-grained parallel execution
extensions: Option<Arc<dyn Any + Send + Sync>>
An optional field for user defined per object metadata
Implementations§
Trait Implementations§
source§impl From<ObjectMeta> for FileMeta
impl From<ObjectMeta> for FileMeta
source§fn from(object_meta: ObjectMeta) -> Self
fn from(object_meta: ObjectMeta) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FileMeta
impl !RefUnwindSafe for FileMeta
impl Send for FileMeta
impl Sync for FileMeta
impl Unpin for FileMeta
impl !UnwindSafe for FileMeta
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