Struct datafusion::datasource::listing::PartitionedFile
source · pub struct PartitionedFile {
pub object_meta: ObjectMeta,
pub partition_values: Vec<ScalarValue>,
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 A single file that should be read, along with its schema, statistics and partition column values that need to be appended to each row.
Fields§
§object_meta: ObjectMeta
Path for the file (e.g. URL, filesystem path, etc)
partition_values: Vec<ScalarValue>
Values of partition columns to be appended to each row
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 Clone for PartitionedFile
impl Clone for PartitionedFile
source§fn clone(&self) -> PartitionedFile
fn clone(&self) -> PartitionedFile
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PartitionedFile
impl Debug for PartitionedFile
source§impl From<ObjectMeta> for PartitionedFile
impl From<ObjectMeta> for PartitionedFile
source§fn from(object_meta: ObjectMeta) -> Self
fn from(object_meta: ObjectMeta) -> Self
Converts to this type from the input type.