Skip to main content

RegionQueryHandler

Trait RegionQueryHandler 

Source
pub trait RegionQueryHandler: Send + Sync {
    // Required methods
    fn do_get<'life0, 'async_trait>(
        &'life0 self,
        read_preference: ReadPreference,
        request: QueryRequest,
    ) -> Pin<Box<dyn Future<Output = Result<SendableRecordBatchStream>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn handle_remote_dyn_filter_update<'life0, 'async_trait>(
        &'life0 self,
        region_id: RegionId,
        query_id: String,
        update: RemoteDynFilterUpdate,
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn handle_remote_dyn_filter_unregister<'life0, 'async_trait>(
        &'life0 self,
        region_id: RegionId,
        query_id: String,
        unregister: RemoteDynFilterUnregister,
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn do_get<'life0, 'async_trait>( &'life0 self, read_preference: ReadPreference, request: QueryRequest, ) -> Pin<Box<dyn Future<Output = Result<SendableRecordBatchStream>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn handle_remote_dyn_filter_update<'life0, 'async_trait>( &'life0 self, region_id: RegionId, query_id: String, update: RemoteDynFilterUpdate, ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn handle_remote_dyn_filter_unregister<'life0, 'async_trait>( &'life0 self, region_id: RegionId, query_id: String, unregister: RemoteDynFilterUnregister, ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§