pub enum IndexStrategy {
None,
ClusteredColumnstore,
NonClusteredColumnstore,
ZOrder {
columns: Vec<String>,
},
ClusterBy {
columns: Vec<String>,
},
}Expand description
Index strategy for a materialized table.
Platform renderers translate these variants into dialect-native DDL
(CREATE CLUSTERED COLUMNSTORE INDEX, CLUSTER BY, Z-ORDER BY, etc.).
Variants§
None
No explicit index DDL generated.
ClusteredColumnstore
Clustered columnstore index (SQL Server, Synapse, Fabric).
NonClusteredColumnstore
Non-clustered columnstore index (SQL Server).
ZOrder
Delta-style Z-ORDER on the listed columns.
ClusterBy
Snowflake CLUSTER BY (or Delta Liquid Clustering, ClickHouse ORDER BY).
Trait Implementations§
Source§impl Clone for IndexStrategy
impl Clone for IndexStrategy
Source§impl Debug for IndexStrategy
impl Debug for IndexStrategy
Source§impl<'de> Deserialize<'de> for IndexStrategy
impl<'de> Deserialize<'de> for IndexStrategy
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 IndexStrategy
Source§impl PartialEq for IndexStrategy
impl PartialEq for IndexStrategy
Source§impl Serialize for IndexStrategy
impl Serialize for IndexStrategy
impl StructuralPartialEq for IndexStrategy
Auto Trait Implementations§
impl Forget for IndexStrategy
impl Freeze for IndexStrategy
impl Move for IndexStrategy
impl RefUnwindSafe for IndexStrategy
impl Send for IndexStrategy
impl Sync for IndexStrategy
impl Unpin for IndexStrategy
impl UnsafeUnpin for IndexStrategy
impl UnwindSafe for IndexStrategy
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