public static interface DatabaseClient.TypedInsertSpec<T>
INSERT
options leading the exchange.Modifier and Type | Method and Description |
---|---|
DatabaseClient.TypedInsertSpec<T> |
table(org.springframework.data.relational.core.sql.SqlIdentifier tableName)
Use the given
tableName as insert target. |
default DatabaseClient.TypedInsertSpec<T> |
table(String tableName)
Use the given
tableName as insert target. |
DatabaseClient.InsertSpec<Map<String,Object>> |
using(org.reactivestreams.Publisher<T> objectToInsert)
Insert the given
Publisher to insert one or more objects. |
DatabaseClient.InsertSpec<Map<String,Object>> |
using(T objectToInsert)
Insert the given
objectToInsert . |
DatabaseClient.InsertSpec<Map<String,Object>> using(T objectToInsert)
objectToInsert
.objectToInsert
- the object of which the attributes will provide the values for the insert. Must not be
null.DatabaseClient.InsertSpec
for further configuration of the insert. Guaranteed to be not null.default DatabaseClient.TypedInsertSpec<T> table(String tableName)
tableName
as insert target.tableName
- must not be null or empty.DatabaseClient.TypedInsertSpec
for further configuration of the insert. Guaranteed to be not null.SqlIdentifier.unquoted(String)
DatabaseClient.TypedInsertSpec<T> table(org.springframework.data.relational.core.sql.SqlIdentifier tableName)
tableName
as insert target.tableName
- must not be null or empty.DatabaseClient.TypedInsertSpec
for further configuration of the insert. Guaranteed to be not null.DatabaseClient.InsertSpec<Map<String,Object>> using(org.reactivestreams.Publisher<T> objectToInsert)
Publisher
to insert one or more objects. Inserts only a single object when calling
RowsFetchSpec.one()
or RowsFetchSpec.first()
.objectToInsert
- a publisher providing the objects of which the attributes will provide the values for the
insert. Must not be null.DatabaseClient.InsertSpec
for further configuration of the insert. Guaranteed to be not null.DatabaseClient.InsertSpec.fetch()
Copyright © 2018–2022 Pivotal Software, Inc.. All rights reserved.