public interface Driver extends AutoCloseable
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
configure(Configuration config) |
Configuration |
getConfiguration() |
Transaction |
newTransaction(Transaction.Type type,
Iterable<String> bookmarks)
Begins new transaction
|
Request |
request() |
default boolean |
requiresTransaction()
Indicates if the driver requires an explicit transaction to run queries.
|
void |
setTransactionManager(TransactionManager tx) |
void configure(Configuration config)
Transaction newTransaction(Transaction.Type type, Iterable<String> bookmarks)
type - type of the transaction, see Transaction.Typebookmarks - bookmarks to pass to the driver when transaction is started, NOTE: currently supported only
by bolt drivervoid close()
close in interface AutoCloseableRequest request()
void setTransactionManager(TransactionManager tx)
Configuration getConfiguration()
default boolean requiresTransaction()
Copyright © 2018 Neo Technology, Inc.. All rights reserved.