Skip to main content

Module db

Module db 

Source

Re-exports§

pub use commit_graph::GraphCommit;
pub use graph_coordinator::GraphCoordinator;
pub use graph_coordinator::ReadTarget;
pub use graph_coordinator::ResolvedTarget;
pub use graph_coordinator::SnapshotId;
pub use manifest::Snapshot;
pub use manifest::SubTableEntry;
pub use manifest::SubTableUpdate;

Modules§

commit_graph
graph_coordinator
manifest

Structs§

CleanupPolicyOptions
Retention knobs for [cleanup_all_tables]. At least one must be set or nothing is cleaned. If both are set, Lance applies them as AND (a manifest is kept if it satisfies either — i.e. only manifests older than BOTH the time cutoff AND the version cutoff are removed).
InitOptions
Options for Omnigraph::init_with_options.
Omnigraph
Top-level handle to an Omnigraph database.
RepairOptions
Options for Omnigraph::repair.
RepairStats
Whole-graph repair outcome.
SchemaApplyOptions
Operator-supplied options that gate schema-apply behavior.
SchemaApplyResult
TableCleanupStats
Per-table outcome of cleanup_all_tables. error is Some when this table’s version GC failed; cleanup is fault-isolated per table, so a single table’s failure is recorded here rather than aborting the whole sweep.
TableOptimizeStats
Per-table outcome of optimize_all_tables. This is a returned result type, not built by callers, so it is #[non_exhaustive]: future fields stay non-breaking and downstream code reads fields rather than constructing it.
TableRepairStats
Per-table repair outcome.

Enums§

MergeOutcome
OpenMode
Whether Omnigraph::open runs the open-time recovery sweep.
RepairAction
What repair did for a table.
RepairClassification
Classification of a table’s manifest/head state.
SkipReason
Why optimize did not compact a table. Typed so callers branch on the reason rather than sniffing a string.