| Package | Description |
|---|---|
| org.neo4j.driver | |
| org.neo4j.driver.async | |
| org.neo4j.driver.reactive |
| 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. |
<T> T |
Session.readTransaction(TransactionWork<T> work,
TransactionConfig config)
Execute given unit of work in a
read 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. |
<T> T |
Session.writeTransaction(TransactionWork<T> work,
TransactionConfig config)
Execute given unit of work in a
write transaction with the specified configuration. |
| Modifier and Type | Method and Description |
|---|---|
CompletionStage<AsyncTransaction> |
AsyncSession.beginTransactionAsync(TransactionConfig config)
Begin a new explicit transaction with the specified
configuration. |
<T> CompletionStage<T> |
AsyncSession.readTransactionAsync(AsyncTransactionWork<CompletionStage<T>> work,
TransactionConfig config)
Execute given unit of asynchronous work in a
read asynchronous transaction with
the specified configuration. |
CompletionStage<StatementResultCursor> |
AsyncSession.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> |
AsyncSession.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> |
AsyncSession.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> CompletionStage<T> |
AsyncSession.writeTransactionAsync(AsyncTransactionWork<CompletionStage<T>> work,
TransactionConfig config)
Execute given unit of asynchronous work in a
write asynchronous transaction with
the specified configuration. |
| Modifier and Type | Method and Description |
|---|---|
org.reactivestreams.Publisher<RxTransaction> |
RxSession.beginTransaction(TransactionConfig config)
Begin a new explicit transaction with the specified
configuration. |
<T> org.reactivestreams.Publisher<T> |
RxSession.readTransaction(RxTransactionWork<org.reactivestreams.Publisher<T>> work,
TransactionConfig config)
Execute given unit of reactive work in a
read reactive transaction with
the specified configuration. |
RxStatementResult |
RxSession.run(Statement statement,
TransactionConfig config)
Run a statement in an auto-commit transaction with specified
configuration and return a reactive result stream. |
RxStatementResult |
RxSession.run(String statement,
Map<String,Object> parameters,
TransactionConfig config)
Run a statement with parameters in an auto-commit transaction with specified
TransactionConfig and return a reactive result stream. |
RxStatementResult |
RxSession.run(String statement,
TransactionConfig config)
Run a statement with parameters in an auto-commit transaction with specified
TransactionConfig and return a reactive result stream. |
<T> org.reactivestreams.Publisher<T> |
RxSession.writeTransaction(RxTransactionWork<org.reactivestreams.Publisher<T>> work,
TransactionConfig config)
Execute given unit of reactive work in a
write reactive transaction with
the specified configuration. |
Copyright © 2019. All rights reserved.