pub trait DataSourceOpener: 'static {
// Required method
fn open<'life0, 'life1, 'async_trait>(
&'life0 self,
uri: String,
session: &'life1 VortexSession,
) -> Pin<Box<dyn Future<Output = VortexResult<DataSourceRef>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}Expand description
Opens a Vortex DataSource from a URI.
Configuration can be passed via the URI query parameters, similar to JDBC / ADBC.
Providers can be registered with the VortexSession to support additional URI schemes.
Required Methods§
Sourcefn open<'life0, 'life1, 'async_trait>(
&'life0 self,
uri: String,
session: &'life1 VortexSession,
) -> Pin<Box<dyn Future<Output = VortexResult<DataSourceRef>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn open<'life0, 'life1, 'async_trait>(
&'life0 self,
uri: String,
session: &'life1 VortexSession,
) -> Pin<Box<dyn Future<Output = VortexResult<DataSourceRef>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Attempt to open a new data source from a URI.