pub struct StoragePlan {
pub partition: PartitionStrategy,
pub compression: CompressionStrategy,
pub index: IndexStrategy,
}Expand description
Agnostic storage strategy for a single materialized table.
Fields§
§partition: PartitionStrategyPartitioning strategy applied to the table.
compression: CompressionStrategyCompression strategy applied to the table’s storage pages.
index: IndexStrategyIndex strategy applied to the table (clustered, columnstore, Z-order, etc.).
Implementations§
Source§impl StoragePlan
impl StoragePlan
Sourcepub fn is_partitioned(&self) -> bool
pub fn is_partitioned(&self) -> bool
Returns true if the plan declares a partitioning strategy other than None.
Trait Implementations§
Source§impl Clone for StoragePlan
impl Clone for StoragePlan
Source§impl Debug for StoragePlan
impl Debug for StoragePlan
Source§impl<'de> Deserialize<'de> for StoragePlan
impl<'de> Deserialize<'de> for StoragePlan
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for StoragePlan
Source§impl PartialEq for StoragePlan
impl PartialEq for StoragePlan
Source§impl Serialize for StoragePlan
impl Serialize for StoragePlan
impl StructuralPartialEq for StoragePlan
Auto Trait Implementations§
impl Forget for StoragePlan
impl Freeze for StoragePlan
impl Move for StoragePlan
impl RefUnwindSafe for StoragePlan
impl Send for StoragePlan
impl Sync for StoragePlan
impl Unpin for StoragePlan
impl UnsafeUnpin for StoragePlan
impl UnwindSafe for StoragePlan
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