pub trait GraphExport {
Show 18 methods
// Required methods
fn commit_ts(&self) -> u64;
fn next_node_id(&self) -> i64;
fn next_rel_id(&self) -> i64;
fn live_node_count(&self) -> usize;
fn dirty_node_ids(&self) -> HashSet<NodeId>;
fn dirty_rel_ids(&self) -> HashSet<RelId>;
fn all_node_ids_at(&self, ts: u64) -> Vec<NodeId>;
fn all_rel_ids_at(&self, ts: u64) -> Vec<RelId>;
fn node_at(&self, id: NodeId, ts: u64) -> Option<Node>;
fn rel_at(&self, id: RelId, ts: u64) -> Option<Relationship>;
fn node_checkpoint_bytes(&self, id: NodeId, ts: u64) -> Result<Option<u64>>;
fn rel_checkpoint_bytes(&self, id: RelId, ts: u64) -> Result<Option<u64>>;
fn named_indexes(&self) -> Vec<IndexDef>;
fn named_constraints(&self) -> Vec<ConstraintDef>;
fn checkpoint_theater_for_write(&self) -> Result<CheckpointTheater>;
fn graph_type_spec(&self) -> Result<Option<String>>;
fn clear_checkpoint_dirty(&self);
fn catalog_ddl(&self) -> Vec<String>;
}Required Methods§
fn commit_ts(&self) -> u64
fn next_node_id(&self) -> i64
fn next_rel_id(&self) -> i64
fn live_node_count(&self) -> usize
fn dirty_node_ids(&self) -> HashSet<NodeId>
fn dirty_rel_ids(&self) -> HashSet<RelId>
fn all_node_ids_at(&self, ts: u64) -> Vec<NodeId>
fn all_rel_ids_at(&self, ts: u64) -> Vec<RelId>
fn node_at(&self, id: NodeId, ts: u64) -> Option<Node>
fn rel_at(&self, id: RelId, ts: u64) -> Option<Relationship>
fn node_checkpoint_bytes(&self, id: NodeId, ts: u64) -> Result<Option<u64>>
fn rel_checkpoint_bytes(&self, id: RelId, ts: u64) -> Result<Option<u64>>
fn named_indexes(&self) -> Vec<IndexDef>
fn named_constraints(&self) -> Vec<ConstraintDef>
fn checkpoint_theater_for_write(&self) -> Result<CheckpointTheater>
fn graph_type_spec(&self) -> Result<Option<String>>
fn clear_checkpoint_dirty(&self)
Sourcefn catalog_ddl(&self) -> Vec<String>
fn catalog_ddl(&self) -> Vec<String>
SHOW-style catalog DDL the schema mirror writes beside a checkpoint.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".