FetchSpec implementation.
| Modifier and Type | Field and Description |
|---|---|
| private final ConnectionAccessor | |
| private final Function | |
| private final ResultFunction | |
| private final Function |
| Access | Constructor and Description |
|---|---|
| pack-priv | DefaultFetchSpec(ConnectionAccessor connectionAccessor, ResultFunction resultFunction, Function<Connection, Mono<Long>> updatedRowsFunction, Function<Result, Publisher<T>> resultAdapter)
|
| Modifier and Type | Method and Description |
|---|---|
| public Flux | |
| public Mono | |
| public Mono | |
| public Mono | rowsUpdated()
Implements org. |
| connectionAccessor | back to summary |
|---|---|
| private final ConnectionAccessor connectionAccessor | |
| resultAdapter | back to summary |
|---|---|
| private final Function<Result, Publisher<T>> resultAdapter | |
| resultFunction | back to summary |
|---|---|
| private final ResultFunction resultFunction | |
| updatedRowsFunction | back to summary |
|---|---|
| private final Function<Connection, Mono<Long>> updatedRowsFunction | |
| DefaultFetchSpec | back to summary |
|---|---|
| pack-priv DefaultFetchSpec(ConnectionAccessor connectionAccessor, ResultFunction resultFunction, Function<Connection, Mono<Long>> updatedRowsFunction, Function<Result, Publisher<T>> resultAdapter) | |
| all | back to summary |
|---|---|
| public Flux Implements org. Doc from org. Get all matching elements. | |
| first | back to summary |
|---|---|
| public Mono Implements org. Doc from org. Get the first or no result.
| |
| one | back to summary |
|---|---|
| public Mono Implements org. Doc from org. Get exactly zero or one result.
| |
| rowsUpdated | back to summary |
|---|---|
| public Mono Implements org. Doc from org. Get the number of updated rows. | |