pub struct CatalogCacheRevisions {
pub table_catalog: u64,
pub registries: u64,
pub graphs: Option<BTreeMap<String, u64>>,
pub table_data: BTreeMap<String, u64>,
pub column_statistics: BTreeMap<String, u64>,
pub statistics_maintenance: BTreeMap<String, u64>,
pub storage_schema: u64,
}Expand description
Lightweight generations read from the same storage snapshot as catalog and row data. Providers must advance them atomically with the corresponding mutation, including direct storage writes, and restore them on rollback. Missing support is distinct from an empty, unchanged database.
Fields§
§table_catalog: u64§registries: u64§graphs: Option<BTreeMap<String, u64>>Per-graph generations, separate from SQL registries. None preserves
conservative restoration for providers without graph-scoped tracking.
table_data: BTreeMap<String, u64>§column_statistics: BTreeMap<String, u64>§statistics_maintenance: BTreeMap<String, u64>§storage_schema: u64Physical schema changes also invalidate bindings, even when a caller changed the storage schema without an ordinary catalog operation.
Trait Implementations§
Source§impl Clone for CatalogCacheRevisions
impl Clone for CatalogCacheRevisions
Source§fn clone(&self) -> CatalogCacheRevisions
fn clone(&self) -> CatalogCacheRevisions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CatalogCacheRevisions
impl Debug for CatalogCacheRevisions
Source§impl Default for CatalogCacheRevisions
impl Default for CatalogCacheRevisions
Source§fn default() -> CatalogCacheRevisions
fn default() -> CatalogCacheRevisions
Returns the “default value” for a type. Read more
impl Eq for CatalogCacheRevisions
Source§impl PartialEq for CatalogCacheRevisions
impl PartialEq for CatalogCacheRevisions
impl StructuralPartialEq for CatalogCacheRevisions
Auto Trait Implementations§
impl Freeze for CatalogCacheRevisions
impl RefUnwindSafe for CatalogCacheRevisions
impl Send for CatalogCacheRevisions
impl Sync for CatalogCacheRevisions
impl Unpin for CatalogCacheRevisions
impl UnsafeUnpin for CatalogCacheRevisions
impl UnwindSafe for CatalogCacheRevisions
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