pub struct CubeBuilder { /* private fields */ }Implementations§
Source§impl CubeBuilder
impl CubeBuilder
pub fn new(name: &str) -> Self
pub fn schema(self, schema: &str) -> Self
pub fn table(self, pattern: &str) -> Self
pub fn chain_column(self, column: &str) -> Self
pub fn dimension(self, node: DimensionNode) -> Self
pub fn metric(self, name: &str) -> Self
pub fn metrics(self, names: &[&str]) -> Self
pub fn selector(self, sel: SelectorDef) -> Self
pub fn default_filter(self, column: &str, value: &str) -> Self
pub fn default_limit(self, limit: u32) -> Self
pub fn max_limit(self, limit: u32) -> Self
pub fn use_final(self, val: bool) -> Self
pub fn description(self, desc: &str) -> Self
pub fn build(self) -> CubeDefinition
Auto Trait Implementations§
impl Freeze for CubeBuilder
impl RefUnwindSafe for CubeBuilder
impl Send for CubeBuilder
impl Sync for CubeBuilder
impl Unpin for CubeBuilder
impl UnsafeUnpin for CubeBuilder
impl UnwindSafe for CubeBuilder
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