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, 'async_trait>(
&'life0 self,
request: PutRecordBatchRequest,
table_ref: &'life1 mut Option<TableRef>,
ctx: QueryContextRef,
) -> Pin<Box<dyn Future<Output = Result<AffectedRows, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn handle_put_record_batch_stream(
&self,
stream: PutRecordBatchRequestStream,
ctx: QueryContextRef,
) -> Pin<Box<dyn Stream<Item = Result<DoPutResponse, Self::Error>> + Send>>;
}