| 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 unmanaged transaction with
the specified
configuration. |
<T> T |
Session.readTransaction(TransactionWork<T> work,
TransactionConfig config)
Execute a unit of work in a managed
read transaction
with the specified configuration. |
Result |
Session.run(Query query,
TransactionConfig config)
Run a query in a managed auto-commit transaction with the specified
configuration, and return a result stream. |
Result |
Session.run(String query,
Map<String,Object> parameters,
TransactionConfig config)
Run a query with parameters in a managed auto-commit transaction with the
specified
configuration, and return a result stream. |
Result |
Session.run(String query,
TransactionConfig config)
Run a query in a managed auto-commit transaction with the specified
configuration, and return a result stream. |
<T> T |
Session.writeTransaction(TransactionWork<T> work,
TransactionConfig config)
Execute a unit of work in a managed
write transaction
with the specified configuration. |
| Modifier and Type | Method and Description |
|---|---|
CompletionStage<AsyncTransaction> |
AsyncSession.beginTransactionAsync(TransactionConfig config)
Begin a new unmanaged 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<ResultCursor> |
AsyncSession.runAsync(Query query,
TransactionConfig config)
Run a query asynchronously in an auto-commit transaction with the specified
configuration and return a
CompletionStage with a result cursor. |
CompletionStage<ResultCursor> |
AsyncSession.runAsync(String query,
Map<String,Object> parameters,
TransactionConfig config)
Run a query asynchronously in an auto-commit transaction with the specified
configuration and return a
CompletionStage with a result cursor. |
CompletionStage<ResultCursor> |
AsyncSession.runAsync(String query,
TransactionConfig config)
Run a query 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 unmanaged transaction with the specified
configuration. |
<T> org.reactivestreams.Publisher<T> |
RxSession.readTransaction(RxTransactionWork<? extends org.reactivestreams.Publisher<T>> work,
TransactionConfig config)
Execute given unit of reactive work in a
read reactive transaction with
the specified configuration. |
RxResult |
RxSession.run(Query query,
TransactionConfig config)
Run a query in an auto-commit transaction with specified
configuration and return a reactive result stream. |
RxResult |
RxSession.run(String query,
Map<String,Object> parameters,
TransactionConfig config)
Run a query with parameters in an auto-commit transaction with specified
TransactionConfig and return a reactive result stream. |
RxResult |
RxSession.run(String query,
TransactionConfig config)
Run a query with parameters in an auto-commit transaction with specified
TransactionConfig and return a reactive result stream. |
<T> org.reactivestreams.Publisher<T> |
RxSession.writeTransaction(RxTransactionWork<? extends org.reactivestreams.Publisher<T>> work,
TransactionConfig config)
Execute given unit of reactive work in a
write reactive transaction with
the specified configuration. |