public static interface DatabaseClient.GenericExecuteSpec extends DatabaseClient.BindSpec<DatabaseClient.GenericExecuteSpec>, DatabaseClient.StatementFilterSpec<DatabaseClient.GenericExecuteSpec>
Modifier and Type | Method and Description |
---|---|
<R> DatabaseClient.TypedExecuteSpec<R> |
as(Class<R> resultType)
Define the target type the result should be mapped to.
|
FetchSpec<Map<String,Object>> |
fetch()
Perform the SQL call and retrieve the result.
|
<R> RowsFetchSpec<R> |
map(BiFunction<Row,RowMetadata,R> mappingFunction)
Configure a result mapping
function . |
<R> RowsFetchSpec<R> |
map(Function<Row,R> mappingFunction)
Configure a result mapping
function . |
reactor.core.publisher.Mono<Void> |
then()
Perform the SQL call and return a
Mono that completes without result on statement completion. |
bind, bind, bindNull, bindNull
filter, filter
<R> DatabaseClient.TypedExecuteSpec<R> as(Class<R> resultType)
R
- result type.resultType
- must not be null.<R> RowsFetchSpec<R> map(Function<Row,R> mappingFunction)
function
.R
- result type.mappingFunction
- must not be null.FetchSpec
for configuration what to fetch. Guaranteed to be not null.<R> RowsFetchSpec<R> map(BiFunction<Row,RowMetadata,R> mappingFunction)
function
.R
- result type.mappingFunction
- must not be null.FetchSpec
for configuration what to fetch. Guaranteed to be not null.reactor.core.publisher.Mono<Void> then()
Mono
that completes without result on statement completion.Mono
ignoring its payload (actively dropping).Copyright © 2018–2022 Pivotal Software, Inc.. All rights reserved.