Skip to main content

ResolvedParquetSource

Struct ResolvedParquetSource 

Source
pub struct ResolvedParquetSource {
    pub original_location: String,
    pub input: ResolvedParquetInput,
    pub storage_domain: Option<String>,
    pub content_identity: Option<String>,
    pub cache_status: LakehouseCacheStatus,
    pub lakehouse_cache_read_mode: LakehouseCacheReadMode,
    pub lakehouse_cache_root: Option<String>,
    pub lakehouse_cache_path: Option<String>,
    pub lakehouse_cache_max_bytes: Option<u64>,
    pub lakehouse_cache_fill_mode: LakehouseCacheFillMode,
    /* private fields */
}
Expand description

Resolved Parquet reader contract carried into native source execution.

Fields§

§original_location: String

Frontend-supplied file location before read-strategy resolution.

§input: ResolvedParquetInput

The only data-plane input supplied to cuDF.

§storage_domain: Option<String>

Credential-free storage domain used for cache scoping, when known.

§content_identity: Option<String>

Credential-free content identity used for cache scoping, when known.

§cache_status: LakehouseCacheStatus

Local byte-cache status for this source.

§lakehouse_cache_read_mode: LakehouseCacheReadMode

Foreground cache-read behavior for this source.

§lakehouse_cache_root: Option<String>

Lakehouse byte-cache root used by cache maintenance, when configured.

§lakehouse_cache_path: Option<String>

Complete-object cache path used for hit reads or background fills.

§lakehouse_cache_max_bytes: Option<u64>

Best-effort retained byte target for the lakehouse byte-cache root.

§lakehouse_cache_fill_mode: LakehouseCacheFillMode

Cache-fill mode for complete-object lakehouse cache maintenance.

Implementations§

Source§

impl ResolvedParquetSource

Source

pub fn local_kvikio(location: impl Into<String>) -> Self

Builds a local path-based read contract.

Source

pub fn local_cache_kvikio( original_location: impl Into<String>, reader_location: impl Into<String>, credential_mode: CredentialMode, cache_status: LakehouseCacheStatus, ) -> Self

Builds a read contract for a local byte-cache entry, with the given cache status.

Source

pub fn remote_kvikio( original_location: impl Into<String>, credential_mode: CredentialMode, ) -> Self

Builds a remote path-based read contract where cuDF/libcudf owns the object-store read. Host-memory Parquet payloads are not representable.

Source

pub fn with_cache_status(self, cache_status: LakehouseCacheStatus) -> Self

Replaces the local byte-cache status after strategy fallback.

Source

pub fn with_lakehouse_cache_read_mode( self, read_mode: LakehouseCacheReadMode, ) -> Self

Selects foreground complete-object lakehouse cache read behavior.

Source

pub fn with_storage_domain(self, storage_domain: impl Into<String>) -> Self

Attaches a credential-free storage-domain identity for cache scoping.

Source

pub fn with_content_identity(self, content_identity: impl Into<String>) -> Self

Attaches a credential-free content identity for cache scoping.

Source

pub fn with_storage_profile_id(self, profile_id: impl Into<String>) -> Self

Attaches the execution-time source storage profile id.

Source

pub fn with_optional_storage_profile_id( self, profile_id: Option<String>, ) -> Self

Attaches an execution-time source storage profile id when present.

Source

pub fn with_lakehouse_cache_config( self, cache_root: impl Into<String>, max_retained_bytes: Option<u64>, ) -> Self

Attaches lakehouse byte-cache maintenance settings.

Source

pub fn with_lakehouse_cache_path(self, cache_path: impl Into<String>) -> Self

Attaches a complete-object lakehouse cache path.

Source

pub fn with_lakehouse_cache_fill_mode( self, fill_mode: LakehouseCacheFillMode, ) -> Self

Selects complete-object lakehouse cache fill behavior.

Source

pub fn reader_location(&self) -> &str

Path or URI passed to cuDF.

Source

pub fn credential_mode(&self) -> CredentialMode

Credential scope for the active remote read or local-cache maintenance.

Source

pub fn storage_profile_id(&self) -> Option<&str>

Storage profile for the active remote read or local-cache maintenance.

Source

pub fn read_strategy(&self) -> ParquetReadStrategy

Report-facing strategy derived from the tagged input and cache facts.

Trait Implementations§

Source§

impl Clone for ResolvedParquetSource

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for ResolvedParquetSource

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for ResolvedParquetSource

Source§

impl Hash for ResolvedParquetSource

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for ResolvedParquetSource

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for ResolvedParquetSource

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Allocation for T
where T: RefUnwindSafe + Send + Sync,

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.