CustomExecuteHandler

Trait CustomExecuteHandler 

Source
pub trait CustomExecuteHandler: Send + Sync {
    // Required methods
    fn pre_execute<'life0, 'life1, 'async_trait>(
        &'life0 self,
        log_store: &'life1 LogStoreRef,
        operation_id: Uuid,
    ) -> Pin<Box<dyn Future<Output = DeltaResult<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn post_execute<'life0, 'life1, 'async_trait>(
        &'life0 self,
        log_store: &'life1 LogStoreRef,
        operation_id: Uuid,
    ) -> Pin<Box<dyn Future<Output = DeltaResult<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn before_post_commit_hook<'life0, 'life1, 'async_trait>(
        &'life0 self,
        log_store: &'life1 LogStoreRef,
        file_operation: bool,
        operation_id: Uuid,
    ) -> Pin<Box<dyn Future<Output = DeltaResult<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn after_post_commit_hook<'life0, 'life1, 'async_trait>(
        &'life0 self,
        log_store: &'life1 LogStoreRef,
        file_operation: bool,
        operation_id: Uuid,
    ) -> Pin<Box<dyn Future<Output = DeltaResult<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}

Required Methods§

Source

fn pre_execute<'life0, 'life1, 'async_trait>( &'life0 self, log_store: &'life1 LogStoreRef, operation_id: Uuid, ) -> Pin<Box<dyn Future<Output = DeltaResult<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source

fn post_execute<'life0, 'life1, 'async_trait>( &'life0 self, log_store: &'life1 LogStoreRef, operation_id: Uuid, ) -> Pin<Box<dyn Future<Output = DeltaResult<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source

fn before_post_commit_hook<'life0, 'life1, 'async_trait>( &'life0 self, log_store: &'life1 LogStoreRef, file_operation: bool, operation_id: Uuid, ) -> Pin<Box<dyn Future<Output = DeltaResult<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source

fn after_post_commit_hook<'life0, 'life1, 'async_trait>( &'life0 self, log_store: &'life1 LogStoreRef, file_operation: bool, operation_id: Uuid, ) -> Pin<Box<dyn Future<Output = DeltaResult<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§