Struct raphtory_io::graph_loader::source::neo4j_loader::Neo4JConnection
source · pub struct Neo4JConnection {
pub neo_graph: Graph,
}Expand description
A struct that defines the Neo4J loader with configurable options.
Fields§
§neo_graph: GraphImplementations§
source§impl Neo4JConnection
impl Neo4JConnection
pub async fn new( uri: String, username: String, password: String, database: String ) -> Result<Self>
pub async fn run(&self, query: Query) -> Result<()>
pub async fn execute(&self, query: Query) -> Result<RowStream>
pub async fn load_query_into_graph( &self, g: &Graph, query: Query, loader: fn(_: Row, _: &Graph) ) -> Result<()>
Auto Trait Implementations§
impl !RefUnwindSafe for Neo4JConnection
impl Send for Neo4JConnection
impl Sync for Neo4JConnection
impl Unpin for Neo4JConnection
impl !UnwindSafe for Neo4JConnection
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