pub trait TableOperations {
// Required methods
fn insert_table(
&mut self,
table: &Table,
shape: &RowShape,
ids: &[RowNumber],
rows: &mut [EncodedTableRowBuilder],
) -> Result<()>;
fn update_table(
&mut self,
table: &Table,
ids: &[RowNumber],
partitions: &[Partition],
rows: &mut [EncodedTableRowBuilder],
) -> Result<Vec<(RowNumber, EncodedBytes)>>;
fn remove_from_table(
&mut self,
table: &Table,
ids: &[RowNumber],
partitions: &[Partition],
) -> Result<Vec<(RowNumber, EncodedBytes)>>;
}Required Methods§
fn insert_table( &mut self, table: &Table, shape: &RowShape, ids: &[RowNumber], rows: &mut [EncodedTableRowBuilder], ) -> Result<()>
fn update_table( &mut self, table: &Table, ids: &[RowNumber], partitions: &[Partition], rows: &mut [EncodedTableRowBuilder], ) -> Result<Vec<(RowNumber, EncodedBytes)>>
fn remove_from_table( &mut self, table: &Table, ids: &[RowNumber], partitions: &[Partition], ) -> Result<Vec<(RowNumber, EncodedBytes)>>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".