@Test public void getRowsUpdatedTest() { StepVerifier.create( ((Mono) new SpannerResult(this.resultSet,Mono.just(2)).getRowsUpdated())) .expectNext(2) .verifyComplete(); }
@Override public Mono<Integer> getRowsUpdated() { return this.rowsUpdated; }
SpannerResult implements Result { @Override public Mono<Integer> getRowsUpdated() { return this.rowsUpdated; } }
SpannerResult implements Result { @Override public Mono<Integer> getRowsUpdated() { return this.rowsUpdated; } SpannerResult(Flux<SpannerRow> resultRows, Mono<Integer> rowsUpdated); }
SpannerResult implements Result { @Override public Mono<Integer> getRowsUpdated() { return this.rowsUpdated; } SpannerResult(Flux<SpannerRow> resultRows, Mono<Integer> rowsUpdated); @Override Mono<Integer> getRowsUpdated(); @Override Flux<T> map(BiFunction<Row, RowMetadata, ? extends T> f); }
SpannerResult implements Result { @Override public Mono<Integer> getRowsUpdated() { return this.rowsUpdated; } SpannerResult(Flux<SpannerRow> resultRows, Mono<Integer> rowsUpdated); @Override Mono<Integer> getRowsUpdated(); @Override Flux<T> map(BiFunction<Row, RowMetadata, ? extends T> f);  }