public class EmbeddedDriver extends AbstractConfigurableDriver
driverConfig, transactionManager| Constructor and Description |
|---|
EmbeddedDriver() |
EmbeddedDriver(DriverConfiguration driverConfiguration)
Configure a new embedded driver according to the supplied driver configuration
|
EmbeddedDriver(org.neo4j.graphdb.GraphDatabaseService graphDatabaseService)
This constructor allows the user to pass in an existing
Graph database service, e.g.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
configure(DriverConfiguration config) |
org.neo4j.graphdb.GraphDatabaseService |
getGraphDatabaseService() |
Transaction |
newTransaction(Transaction.Type type,
String bookmark) |
Request |
request() |
getConfiguration, setTransactionManagerpublic EmbeddedDriver()
public EmbeddedDriver(DriverConfiguration driverConfiguration)
driverConfiguration - the DriverConfiguration to usepublic EmbeddedDriver(org.neo4j.graphdb.GraphDatabaseService graphDatabaseService)
graphDatabaseService - the embedded database instancepublic void configure(DriverConfiguration config)
configure in interface Driverconfigure in class AbstractConfigurableDriverpublic Transaction newTransaction(Transaction.Type type, String bookmark)
public void close()
public org.neo4j.graphdb.GraphDatabaseService getGraphDatabaseService()
public Request request()
Copyright © 2017 Neo Technology, Inc.. All rights reserved.