Struct UnifiedScanArgs
pub struct UnifiedScanArgs {Show 19 fields
pub schema: Option<Arc<Schema<DataType>>>,
pub cloud_options: Option<CloudOptions>,
pub hive_options: HiveOptions,
pub rechunk: bool,
pub cache: bool,
pub glob: bool,
pub hidden_file_prefix: Option<Arc<[PlSmallStr]>>,
pub projection: Option<Arc<[PlSmallStr]>>,
pub column_mapping: Option<ColumnMapping>,
pub default_values: Option<DefaultFieldValues>,
pub row_index: Option<RowIndex>,
pub pre_slice: Option<Slice>,
pub cast_columns_policy: CastColumnsPolicy,
pub missing_columns_policy: MissingColumnsPolicy,
pub extra_columns_policy: ExtraColumnsPolicy,
pub include_file_paths: Option<PlSmallStr>,
pub deletion_files: Option<DeletionFilesList>,
pub table_statistics: Option<TableStatistics>,
pub row_count: Option<(u32, u32)>,
}Available on crate feature
lazy only.Expand description
Scan arguments shared across different scan types.
Fields§
§schema: Option<Arc<Schema<DataType>>>User-provided schema of the file. Will be inferred during IR conversion if None.
cloud_options: Option<CloudOptions>§hive_options: HiveOptions§rechunk: bool§cache: bool§glob: boolFiles with these prefixes will not be read.
projection: Option<Arc<[PlSmallStr]>>§column_mapping: Option<ColumnMapping>§default_values: Option<DefaultFieldValues>Default values for missing columns.
row_index: Option<RowIndex>§pre_slice: Option<Slice>Slice applied before predicates
cast_columns_policy: CastColumnsPolicy§missing_columns_policy: MissingColumnsPolicy§extra_columns_policy: ExtraColumnsPolicy§include_file_paths: Option<PlSmallStr>§deletion_files: Option<DeletionFilesList>§table_statistics: Option<TableStatistics>§row_count: Option<(u32, u32)>Stores (physical, deleted) row counts of the table if known upfront (e.g. for Iceberg). This allows for row-count queries to succeed without scanning all files.
Implementations§
§impl UnifiedScanArgs
impl UnifiedScanArgs
pub fn has_row_index_or_slice(&self) -> bool
Trait Implementations§
§impl Clone for UnifiedScanArgs
impl Clone for UnifiedScanArgs
§fn clone(&self) -> UnifiedScanArgs
fn clone(&self) -> UnifiedScanArgs
Returns a duplicate 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 more§impl Debug for UnifiedScanArgs
impl Debug for UnifiedScanArgs
§impl Default for UnifiedScanArgs
impl Default for UnifiedScanArgs
§fn default() -> UnifiedScanArgs
fn default() -> UnifiedScanArgs
Returns the “default value” for a type. Read more
§impl<'de> Deserialize<'de> for UnifiedScanArgs
impl<'de> Deserialize<'de> for UnifiedScanArgs
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<UnifiedScanArgs, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<UnifiedScanArgs, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Hash for UnifiedScanArgs
impl Hash for UnifiedScanArgs
§impl PartialEq for UnifiedScanArgs
impl PartialEq for UnifiedScanArgs
§impl Serialize for UnifiedScanArgs
impl Serialize for UnifiedScanArgs
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for UnifiedScanArgs
impl StructuralPartialEq for UnifiedScanArgs
Auto Trait Implementations§
impl Freeze for UnifiedScanArgs
impl !RefUnwindSafe for UnifiedScanArgs
impl Send for UnifiedScanArgs
impl Sync for UnifiedScanArgs
impl Unpin for UnifiedScanArgs
impl !UnwindSafe for UnifiedScanArgs
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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