pub struct CompositeHost { /* private fields */ }Expand description
A Host implementation that aggregates multiple sub-hosts.
It routes relation scans and inserts to the appropriate backend based on explicit routing rules.
Implementations§
Trait Implementations§
Source§impl Default for CompositeHost
impl Default for CompositeHost
Source§impl Host for CompositeHost
impl Host for CompositeHost
fn scan_start(&mut self, rel_id: i32) -> i32
fn scan_next(&mut self, iter_id: i32) -> i32
fn get_col(&mut self, tuple_ptr: i32, col_idx: i32) -> i64
fn insert(&mut self, rel_id: i32, val: i64)
fn scan_delta_start(&mut self, rel_id: i32) -> i32
fn scan_index_start(&mut self, rel_id: i32, col_idx: i32, val: i64) -> i32
fn scan_aggregate_start(&mut self, rel_id: i32, description: Vec<i32>) -> i32
Source§fn merge_deltas(&mut self) -> i32
fn merge_deltas(&mut self) -> i32
Merges deltas and returns 1 if changes occurred, 0 otherwise.
fn debuglog(&mut self, _val: i64)
Auto Trait Implementations§
impl Freeze for CompositeHost
impl !RefUnwindSafe for CompositeHost
impl Send for CompositeHost
impl !Sync for CompositeHost
impl Unpin for CompositeHost
impl UnsafeUnpin for CompositeHost
impl !UnwindSafe for CompositeHost
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more