Packages

class Neo4j extends AutoCloseable

The 'Neo4j' class creates a connection to the Neo4j Database server.

Linear Supertypes
AutoCloseable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Neo4j
  2. AutoCloseable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Neo4j(uri: String, user: String, password: String)

    uri

    the URI to connect with the Neo4j server

    user

    the username to connect with the server

    password

    the password to connect with the server

Value Members

  1. def close(): Unit

    Close the connection with the Neo4j server.

    Close the connection with the Neo4j server.

    Definition Classes
    Neo4j → AutoCloseable
  2. def createGraph(createStmt: String): Unit

    The graph will be created in the Neo4j server.

    The graph will be created in the Neo4j server.

    createStmt

    the cypher query to be excuted for creating the graph in Neo4j

  3. def deleteAll: Unit

    Delelte any existing graphs in Neo4j.

  4. def runQuery(query: String): Rows_lab

    The query is run on the graph in Neo4j and the result is returned.

    The query is run on the graph in Neo4j and the result is returned.

    query

    The query to be run on the graph in Neo4j database