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: StringFrontend-supplied file location before read-strategy resolution.
input: ResolvedParquetInputThe 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: LakehouseCacheStatusLocal byte-cache status for this source.
lakehouse_cache_read_mode: LakehouseCacheReadModeForeground 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: LakehouseCacheFillModeCache-fill mode for complete-object lakehouse cache maintenance.
Implementations§
Source§impl ResolvedParquetSource
impl ResolvedParquetSource
Sourcepub fn local_kvikio(location: impl Into<String>) -> Self
pub fn local_kvikio(location: impl Into<String>) -> Self
Builds a local path-based read contract.
Sourcepub fn local_cache_kvikio(
original_location: impl Into<String>,
reader_location: impl Into<String>,
credential_mode: CredentialMode,
cache_status: LakehouseCacheStatus,
) -> Self
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.
Sourcepub fn remote_kvikio(
original_location: impl Into<String>,
credential_mode: CredentialMode,
) -> Self
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.
Sourcepub fn with_cache_status(self, cache_status: LakehouseCacheStatus) -> Self
pub fn with_cache_status(self, cache_status: LakehouseCacheStatus) -> Self
Replaces the local byte-cache status after strategy fallback.
Sourcepub fn with_lakehouse_cache_read_mode(
self,
read_mode: LakehouseCacheReadMode,
) -> Self
pub fn with_lakehouse_cache_read_mode( self, read_mode: LakehouseCacheReadMode, ) -> Self
Selects foreground complete-object lakehouse cache read behavior.
Sourcepub fn with_storage_domain(self, storage_domain: impl Into<String>) -> Self
pub fn with_storage_domain(self, storage_domain: impl Into<String>) -> Self
Attaches a credential-free storage-domain identity for cache scoping.
Sourcepub fn with_content_identity(self, content_identity: impl Into<String>) -> Self
pub fn with_content_identity(self, content_identity: impl Into<String>) -> Self
Attaches a credential-free content identity for cache scoping.
Sourcepub fn with_storage_profile_id(self, profile_id: impl Into<String>) -> Self
pub fn with_storage_profile_id(self, profile_id: impl Into<String>) -> Self
Attaches the execution-time source storage profile id.
Sourcepub fn with_optional_storage_profile_id(
self,
profile_id: Option<String>,
) -> Self
pub fn with_optional_storage_profile_id( self, profile_id: Option<String>, ) -> Self
Attaches an execution-time source storage profile id when present.
Sourcepub fn with_lakehouse_cache_config(
self,
cache_root: impl Into<String>,
max_retained_bytes: Option<u64>,
) -> Self
pub fn with_lakehouse_cache_config( self, cache_root: impl Into<String>, max_retained_bytes: Option<u64>, ) -> Self
Attaches lakehouse byte-cache maintenance settings.
Sourcepub fn with_lakehouse_cache_path(self, cache_path: impl Into<String>) -> Self
pub fn with_lakehouse_cache_path(self, cache_path: impl Into<String>) -> Self
Attaches a complete-object lakehouse cache path.
Sourcepub fn with_lakehouse_cache_fill_mode(
self,
fill_mode: LakehouseCacheFillMode,
) -> Self
pub fn with_lakehouse_cache_fill_mode( self, fill_mode: LakehouseCacheFillMode, ) -> Self
Selects complete-object lakehouse cache fill behavior.
Sourcepub fn reader_location(&self) -> &str
pub fn reader_location(&self) -> &str
Path or URI passed to cuDF.
Sourcepub fn credential_mode(&self) -> CredentialMode
pub fn credential_mode(&self) -> CredentialMode
Credential scope for the active remote read or local-cache maintenance.
Sourcepub fn storage_profile_id(&self) -> Option<&str>
pub fn storage_profile_id(&self) -> Option<&str>
Storage profile for the active remote read or local-cache maintenance.
Sourcepub fn read_strategy(&self) -> ParquetReadStrategy
pub fn read_strategy(&self) -> ParquetReadStrategy
Report-facing strategy derived from the tagged input and cache facts.