public class Neo4jClient extends Object
Modifier and Type | Method and Description |
---|---|
static void |
destroy()
Destructor of this object.
|
static Neo4jTransaction |
getReadTransaction()
Retrieve a read transaction.
|
static Neo4jTransaction |
getReadTransaction(String bookmarkId)
Retrieve a read transaction with a bookmarkId.
|
static Neo4jTransaction |
getWriteTransaction()
Retrieve a write.
|
static Neo4jTransaction |
getWriteTransaction(String bookmarkId)
Retrieve a write transaction with a bookmarkId.
|
static Stream<org.neo4j.driver.v1.Record> |
read(String query)
Execute a read cypher query to Neo4j.
|
static Stream<org.neo4j.driver.v1.Record> |
read(String query,
String bookmarkId)
Execute a read cypher query to Neo4j with a bookmarkId.
|
static Stream<org.neo4j.driver.v1.Record> |
read(String query,
org.neo4j.driver.v1.Value parameters)
Execute a read cypher query to Neo4j with parameters.
|
static Stream<org.neo4j.driver.v1.Record> |
read(String query,
org.neo4j.driver.v1.Value parameters,
String bookmarkId)
Execute a read cypher query to Neo4j with parameters and bookmarkId.
|
static Stream<org.neo4j.driver.v1.Record> |
write(String query)
Execute a write cypher query to Neo4j.
|
static Stream<org.neo4j.driver.v1.Record> |
write(String query,
String bookmarkId)
Execute a write cypher query to Neo4j with a bookmarkId.
|
static Stream<org.neo4j.driver.v1.Record> |
write(String query,
org.neo4j.driver.v1.Value parameters)
Execute a write cypher query to Neo4j with parameters.
|
static Stream<org.neo4j.driver.v1.Record> |
write(String query,
org.neo4j.driver.v1.Value parameters,
String bookmarkId)
Execute a write cypher query to Neo4j with parameters and bookmarkId.
|
public static void destroy()
public static Stream<org.neo4j.driver.v1.Record> read(String query)
public static Stream<org.neo4j.driver.v1.Record> read(String query, String bookmarkId)
public static Stream<org.neo4j.driver.v1.Record> read(String query, org.neo4j.driver.v1.Value parameters)
public static Stream<org.neo4j.driver.v1.Record> read(String query, org.neo4j.driver.v1.Value parameters, String bookmarkId)
public static Stream<org.neo4j.driver.v1.Record> write(String query)
public static Stream<org.neo4j.driver.v1.Record> write(String query, String bookmarkId)
public static Stream<org.neo4j.driver.v1.Record> write(String query, org.neo4j.driver.v1.Value parameters)
public static Stream<org.neo4j.driver.v1.Record> write(String query, org.neo4j.driver.v1.Value parameters, String bookmarkId)
public static Neo4jTransaction getReadTransaction()
public static Neo4jTransaction getReadTransaction(String bookmarkId)
public static Neo4jTransaction getWriteTransaction()
public static Neo4jTransaction getWriteTransaction(String bookmarkId)
Copyright © 2017. All rights reserved.