pub struct GraphEngine { /* private fields */ }
Implementations§
Source§impl GraphEngine
impl GraphEngine
pub fn new(ctx: DatabaseInitContext) -> Self
pub fn from_repository(repository: GraphRepository) -> Self
pub fn create_graph(&mut self, graph: &PropertyGraph) -> Option<PropertyGraph>
pub fn create_node(&mut self, node: &Node) -> Option<Node>
pub fn create_relationship( &mut self, rel: &Relationship, source_id: u64, target_id: u64, ) -> Option<Relationship>
pub fn recursive_match_pattern( &mut self, pattern: &PropertyGraph, rec_index: usize, result: &mut Vec<PropertyGraph>, ) -> Option<()>
pub fn match_pattern( &mut self, pattern: &PropertyGraph, ) -> Option<Vec<PropertyGraph>>
pub fn _match_pattern( &mut self, pattern: &PropertyGraph, ) -> Option<Vec<PropertyGraph>>
pub fn match_patterns_and_create( &mut self, patterns: &Vec<PropertyGraph>, ) -> Option<Vec<Vec<PropertyGraph>>>
pub fn retrieve_graph(&mut self) -> Option<GraphProxy<'_>>
pub fn sync(&mut self)
pub fn clear(&mut self)
Auto Trait Implementations§
impl Freeze for GraphEngine
impl RefUnwindSafe for GraphEngine
impl Send for GraphEngine
impl Sync for GraphEngine
impl Unpin for GraphEngine
impl UnwindSafe for GraphEngine
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