public static interface DatabaseClient.TypedExecuteSpec<T> extends DatabaseClient.BindSpec<DatabaseClient.TypedExecuteSpec<T>>, DatabaseClient.StatementFilterSpec<DatabaseClient.TypedExecuteSpec<T>>
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<T> |
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–2023 Pivotal Software, Inc.. All rights reserved.