Trait GrpcQueryHandler

Source
pub trait GrpcQueryHandler {
    type Error: ErrorExt;

    // Required methods
    fn do_query<'life0, 'async_trait>(
        &'life0 self,
        query: Request,
        ctx: QueryContextRef,
    ) -> Pin<Box<dyn Future<Output = Result<Output, Self::Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn put_record_batch<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        table: &'life1 TableName,
        table_id: &'life2 mut Option<TableId>,
        decoder: &'life3 mut FlightDecoder,
        flight_data: FlightData,
    ) -> Pin<Box<dyn Future<Output = Result<AffectedRows, Self::Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait,
             'life3: 'async_trait;
}

Required Associated Types§

Required Methods§

Source

fn do_query<'life0, 'async_trait>( &'life0 self, query: Request, ctx: QueryContextRef, ) -> Pin<Box<dyn Future<Output = Result<Output, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn put_record_batch<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, table: &'life1 TableName, table_id: &'life2 mut Option<TableId>, decoder: &'life3 mut FlightDecoder, flight_data: FlightData, ) -> Pin<Box<dyn Future<Output = Result<AffectedRows, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Implementors§