Struct UnifiedScanArgs
pub struct UnifiedScanArgs {
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 projection: Option<Arc<[PlSmallStr]>>,
pub row_index: Option<RowIndex>,
pub pre_slice: Option<Slice>,
pub cast_columns_policy: CastColumnsPolicy,
pub missing_columns_policy: MissingColumnsPolicy,
pub include_file_paths: Option<PlSmallStr>,
}
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: bool
§projection: Option<Arc<[PlSmallStr]>>
§row_index: Option<RowIndex>
§pre_slice: Option<Slice>
Slice applied before predicates
cast_columns_policy: CastColumnsPolicy
§missing_columns_policy: MissingColumnsPolicy
§include_file_paths: Option<PlSmallStr>
Trait Implementations§
§impl Clone for UnifiedScanArgs
impl Clone for UnifiedScanArgs
§fn clone(&self) -> UnifiedScanArgs
fn clone(&self) -> UnifiedScanArgs
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 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<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
Checks if this value is equivalent to the given key. Read more
§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