| Package | Description |
|---|---|
| org.neo4j.driver.v1 |
| Modifier and Type | Method and Description |
|---|---|
TransactionConfig |
TransactionConfig.Builder.build()
Build the transaction configuration object using the specified settings.
|
static TransactionConfig |
TransactionConfig.empty()
Get a configuration object that does not have any values configures.
|
| Modifier and Type | Method and Description |
|---|---|
Transaction |
Session.beginTransaction(TransactionConfig config)
Begin a new explicit transaction with the specified
configuration. |
CompletionStage<Transaction> |
Session.beginTransactionAsync(TransactionConfig config)
Begin a new explicit transaction with the specified
configuration. |
<T> T |
Session.readTransaction(TransactionWork<T> work,
TransactionConfig config)
Execute given unit of work in a
read transaction with the specified configuration. |
<T> CompletionStage<T> |
Session.readTransactionAsync(TransactionWork<CompletionStage<T>> work,
TransactionConfig config)
Execute given unit of asynchronous work in a
read asynchronous transaction with
the specified configuration. |
StatementResult |
Session.run(Statement statement,
TransactionConfig config)
Run a statement in an auto-commit transaction with specified
configuration and return a result stream. |
StatementResult |
Session.run(String statement,
Map<String,Object> parameters,
TransactionConfig config)
Run a statement with parameters in an auto-commit transaction with specified
configuration and return a result stream. |
StatementResult |
Session.run(String statement,
TransactionConfig config)
Run a statement in an auto-commit transaction with the specified
configuration and return a result stream. |
CompletionStage<StatementResultCursor> |
Session.runAsync(Statement statement,
TransactionConfig config)
Run a statement asynchronously in an auto-commit transaction with the specified
configuration and return a
CompletionStage with a result cursor. |
CompletionStage<StatementResultCursor> |
Session.runAsync(String statement,
Map<String,Object> parameters,
TransactionConfig config)
Run a statement asynchronously in an auto-commit transaction with the specified
configuration and return a
CompletionStage with a result cursor. |
CompletionStage<StatementResultCursor> |
Session.runAsync(String statement,
TransactionConfig config)
Run a statement asynchronously in an auto-commit transaction with the specified
configuration and return a
CompletionStage with a result cursor. |
<T> T |
Session.writeTransaction(TransactionWork<T> work,
TransactionConfig config)
Execute given unit of work in a
write transaction with the specified configuration. |
<T> CompletionStage<T> |
Session.writeTransactionAsync(TransactionWork<CompletionStage<T>> work,
TransactionConfig config)
Execute given unit of asynchronous work in a
write asynchronous transaction with
the specified configuration. |
Copyright © 2019. All rights reserved.