| Modifier and Type | Class and Description |
|---|---|
static class |
MockResult.Builder |
Result.Message, Result.OutSegment, Result.RowSegment, Result.Segment, Result.UpdateCount| Modifier and Type | Method and Description |
|---|---|
static MockResult.Builder |
builder() |
static MockResult |
empty() |
Result |
filter(Predicate<Result.Segment> filter) |
<T> Publisher<T> |
flatMap(Function<Result.Segment,? extends Publisher<? extends T>> mappingFunction) |
reactor.core.publisher.Flux<Long> |
getRowsUpdated() |
<T> reactor.core.publisher.Flux<T> |
map(BiFunction<Row,RowMetadata,? extends T> mappingFunction) |
<T> Publisher<T> |
map(Function<? super Readable,? extends T> mappingFunction) |
static Result.OutSegment |
outParameters(OutParameters parameters) |
static Result.RowSegment |
row(Row row) |
String |
toString() |
static Result.UpdateCount |
updateCount(long value) |
public static MockResult.Builder builder()
public static MockResult empty()
public reactor.core.publisher.Flux<Long> getRowsUpdated()
getRowsUpdated in interface Resultpublic <T> reactor.core.publisher.Flux<T> map(BiFunction<Row,RowMetadata,? extends T> mappingFunction)
public Result filter(Predicate<Result.Segment> filter)
public <T> Publisher<T> flatMap(Function<Result.Segment,? extends Publisher<? extends T>> mappingFunction)
public static Result.UpdateCount updateCount(long value)
public static Result.RowSegment row(Row row)
public static Result.OutSegment outParameters(OutParameters parameters)
Copyright © 2022. All rights reserved.