Skip to main content

DistributedGetterExt

Trait DistributedGetterExt 

Source
pub trait DistributedGetterExt: Sized {
    // Required method
    fn get_distributed_worker_resolver(
        &self,
    ) -> Result<Arc<dyn WorkerResolver>, DataFusionError>;
}
Expand description

Trait to have a unified interface for getting structs & properties from SessionConfig that are used in distributed context.

Required Methods§

Source

fn get_distributed_worker_resolver( &self, ) -> Result<Arc<dyn WorkerResolver>, DataFusionError>

Gets the WorkerResolver from this session’s config.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl DistributedGetterExt for SessionConfig

Source§

impl DistributedGetterExt for SessionContext

Source§

impl DistributedGetterExt for SessionState

Implementors§