Class Neo4jGraph

java.lang.Object
dev.langchain4j.store.graph.neo4j.Neo4jGraph
All Implemented Interfaces:
AutoCloseable

public class Neo4jGraph extends Object implements AutoCloseable
  • Constructor Details

    • Neo4jGraph

      public Neo4jGraph(org.neo4j.driver.Driver driver)
  • Method Details

    • executeWrite

      public org.neo4j.driver.summary.ResultSummary executeWrite(String queryString)
    • executeRead

      public List<org.neo4j.driver.Record> executeRead(String queryString)
    • refreshSchema

      public void refreshSchema()
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable