risingwave_meta::model

Trait Transactional

source
pub trait Transactional<TXN> {
    // Required methods
    fn upsert_in_transaction<'life0, 'life1, 'async_trait>(
        &'life0 self,
        trx: &'life1 mut TXN,
    ) -> Pin<Box<dyn Future<Output = MetadataModelResult<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn delete_in_transaction<'life0, 'life1, 'async_trait>(
        &'life0 self,
        trx: &'life1 mut TXN,
    ) -> Pin<Box<dyn Future<Output = MetadataModelResult<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}

Required Methods§

source

fn upsert_in_transaction<'life0, 'life1, 'async_trait>( &'life0 self, trx: &'life1 mut TXN, ) -> Pin<Box<dyn Future<Output = MetadataModelResult<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

source

fn delete_in_transaction<'life0, 'life1, 'async_trait>( &'life0 self, trx: &'life1 mut TXN, ) -> Pin<Box<dyn Future<Output = MetadataModelResult<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementations on Foreign Types§

source§

impl Transactional<DatabaseTransaction> for CompactTaskAssignment

source§

fn upsert_in_transaction<'life0, 'life1, 'async_trait>( &'life0 self, trx: &'life1 mut Transaction, ) -> Pin<Box<dyn Future<Output = MetadataModelResult<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

source§

fn delete_in_transaction<'life0, 'life1, 'async_trait>( &'life0 self, trx: &'life1 mut Transaction, ) -> Pin<Box<dyn Future<Output = MetadataModelResult<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

source§

impl Transactional<DatabaseTransaction> for HummockPinnedSnapshot

source§

fn upsert_in_transaction<'life0, 'life1, 'async_trait>( &'life0 self, trx: &'life1 mut Transaction, ) -> Pin<Box<dyn Future<Output = MetadataModelResult<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

source§

fn delete_in_transaction<'life0, 'life1, 'async_trait>( &'life0 self, trx: &'life1 mut Transaction, ) -> Pin<Box<dyn Future<Output = MetadataModelResult<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

source§

impl Transactional<DatabaseTransaction> for HummockPinnedVersion

source§

fn upsert_in_transaction<'life0, 'life1, 'async_trait>( &'life0 self, trx: &'life1 mut Transaction, ) -> Pin<Box<dyn Future<Output = MetadataModelResult<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

source§

fn delete_in_transaction<'life0, 'life1, 'async_trait>( &'life0 self, trx: &'life1 mut Transaction, ) -> Pin<Box<dyn Future<Output = MetadataModelResult<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

source§

impl Transactional<DatabaseTransaction> for HummockVersionStats

source§

fn upsert_in_transaction<'life0, 'life1, 'async_trait>( &'life0 self, trx: &'life1 mut Transaction, ) -> Pin<Box<dyn Future<Output = MetadataModelResult<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

source§

fn delete_in_transaction<'life0, 'life1, 'async_trait>( &'life0 self, trx: &'life1 mut Transaction, ) -> Pin<Box<dyn Future<Output = MetadataModelResult<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

source§

impl Transactional<DatabaseTransaction> for HummockVersionDelta

source§

fn upsert_in_transaction<'life0, 'life1, 'async_trait>( &'life0 self, trx: &'life1 mut Transaction, ) -> Pin<Box<dyn Future<Output = MetadataModelResult<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

source§

fn delete_in_transaction<'life0, 'life1, 'async_trait>( &'life0 self, trx: &'life1 mut Transaction, ) -> Pin<Box<dyn Future<Output = MetadataModelResult<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§

source§

impl Transactional<DatabaseTransaction> for CompactStatus

source§

impl Transactional<DatabaseTransaction> for CompactionGroup