public interface DatabaseClient
Use one of the static factory methods create(ConnectionFactory)
or obtain a builder()
to create an instance.
Modifier and Type | Interface and Description |
---|---|
static interface |
DatabaseClient.BindSpec<S extends DatabaseClient.BindSpec<S>>
Contract for specifying parameter bindings.
|
static interface |
DatabaseClient.Builder
A mutable builder for creating a
DatabaseClient . |
static interface |
DatabaseClient.DeleteFromSpec
Contract for specifying
DELETE options leading to the exchange. |
static interface |
DatabaseClient.DeleteMatchingSpec
Contract for specifying
DELETE options leading to the exchange. |
static interface |
DatabaseClient.DeleteSpec
Contract for specifying
DELETE options leading to the exchange. |
static interface |
DatabaseClient.GenericExecuteSpec
Contract for specifying a SQL call along with options leading to the exchange.
|
static interface |
DatabaseClient.GenericInsertSpec<T>
Contract for specifying
INSERT options leading to the exchange. |
static interface |
DatabaseClient.GenericSelectSpec
Contract for specifying
SELECT options leading to the exchange. |
static interface |
DatabaseClient.GenericUpdateSpec
Contract for specifying
UPDATE options leading to the exchange. |
static interface |
DatabaseClient.InsertIntoSpec
Contract for specifying
INSERT options leading to the exchange. |
static interface |
DatabaseClient.InsertSpec<T>
Contract for specifying
INSERT options leading to the exchange. |
static interface |
DatabaseClient.SelectFromSpec
Contract for specifying
SELECT options leading to the exchange. |
static interface |
DatabaseClient.SelectSpec<S extends DatabaseClient.SelectSpec<S>>
Contract for specifying
SELECT options leading to the exchange. |
static interface |
DatabaseClient.SqlSpec
Contract for specifying a SQL call along with options leading to the exchange.
|
static interface |
DatabaseClient.TypedDeleteSpec<T>
Contract for specifying
DELETE options leading to the exchange. |
static interface |
DatabaseClient.TypedExecuteSpec<T>
Contract for specifying a SQL call along with options leading to the exchange.
|
static interface |
DatabaseClient.TypedInsertSpec<T>
Contract for specifying
INSERT options leading the exchange. |
static interface |
DatabaseClient.TypedSelectSpec<T>
Contract for specifying
SELECT options leading to the exchange. |
static interface |
DatabaseClient.TypedUpdateSpec<T>
Contract for specifying
UPDATE options leading to the exchange. |
static interface |
DatabaseClient.UpdateMatchingSpec
Contract for specifying
UPDATE options leading to the exchange. |
static interface |
DatabaseClient.UpdateSpec
Contract for specifying
UPDATE options leading to the exchange. |
static interface |
DatabaseClient.UpdateTableSpec
Contract for specifying
UPDATE options leading to the exchange. |
Modifier and Type | Method and Description |
---|---|
static DatabaseClient.Builder |
builder()
Obtain a
DatabaseClient builder. |
static DatabaseClient |
create(io.r2dbc.spi.ConnectionFactory factory)
Creates a
DatabaseClient that will use the provided ConnectionFactory . |
DatabaseClient.DeleteFromSpec |
delete()
Prepare an SQL DELETE call.
|
DatabaseClient.SqlSpec |
execute()
Prepare an SQL call returning a result.
|
DatabaseClient.InsertIntoSpec |
insert()
Prepare an SQL INSERT call.
|
DatabaseClient.Builder |
mutate()
Return a builder to mutate properties of this database client.
|
DatabaseClient.SelectFromSpec |
select()
Prepare an SQL SELECT call.
|
DatabaseClient.UpdateTableSpec |
update()
Prepare an SQL UPDATE call.
|
DatabaseClient.SqlSpec execute()
DatabaseClient.SelectFromSpec select()
DatabaseClient.InsertIntoSpec insert()
DatabaseClient.UpdateTableSpec update()
DatabaseClient.DeleteFromSpec delete()
DatabaseClient.Builder mutate()
static DatabaseClient create(io.r2dbc.spi.ConnectionFactory factory)
DatabaseClient
that will use the provided ConnectionFactory
.factory
- The ConnectionFactory
to use for obtaining connections.DatabaseClient
. Guaranteed to be not null.static DatabaseClient.Builder builder()
DatabaseClient
builder.Copyright © 2018–2019 Pivotal Software, Inc.. All rights reserved.