pub struct TableRoute {
pub schema: String,
pub table_pattern: String,
pub available_columns: Vec<String>,
pub priority: u32,
}Expand description
Multi-table routing: a single Cube can map to different physical tables depending on which columns the query requests.
Fields§
§schema: String§table_pattern: String§available_columns: Vec<String>Columns available in this table. If empty, this route serves all queries.
priority: u32Lower priority = preferred. The primary table (schema/table_pattern) has implicit priority 0.
Trait Implementations§
Source§impl Clone for TableRoute
impl Clone for TableRoute
Source§fn clone(&self) -> TableRoute
fn clone(&self) -> TableRoute
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for TableRoute
impl RefUnwindSafe for TableRoute
impl Send for TableRoute
impl Sync for TableRoute
impl Unpin for TableRoute
impl UnsafeUnpin for TableRoute
impl UnwindSafe for TableRoute
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