ClickHouseSession

Trait ClickHouseSession 

Source
pub trait ClickHouseSession: Send + Sync {
    // Required method
    fn execute_query<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        ctx: &'life1 mut CHContext,
        connection: &'life2 mut Connection,
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait;

    // Provided methods
    fn with_stack_trace(&self) -> bool { ... }
    fn dbms_name(&self) -> &str { ... }
    fn dbms_version_major(&self) -> u64 { ... }
    fn dbms_version_minor(&self) -> u64 { ... }
    fn dbms_tcp_protocol_version(&self) -> u64 { ... }
    fn timezone(&self) -> &str { ... }
    fn server_display_name(&self) -> &str { ... }
    fn dbms_version_patch(&self) -> u64 { ... }
    fn get_progress(&self) -> Progress { ... }
}

Required Methods§

Source

fn execute_query<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, ctx: &'life1 mut CHContext, connection: &'life2 mut Connection, ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Provided Methods§

Implementors§