@Preview(value="3.0") public interface RxSqlExecutor
限定符和类型 | 方法和说明 |
---|---|
<T> reactor.core.publisher.Mono<T> |
queryRow(java.lang.Class<T> tClass)
查询并获取行
|
<T> reactor.core.publisher.Mono<T> |
queryRow(RxRowConverter<T> converter)
查询并获取行
|
<T> reactor.core.publisher.Flux<T> |
queryRowList(java.lang.Class<T> tClass)
查询并获取行列表
|
<T> reactor.core.publisher.Flux<T> |
queryRowList(RxRowConverter<T> converter)
查询并获取行列表
|
<T> reactor.core.publisher.Mono<T> |
queryValue(java.lang.Class<T> tClass)
查询并获取值
|
<T> reactor.core.publisher.Flux<T> |
queryValueList(java.lang.Class<T> tClass)
查询并获取值列表
|
reactor.core.publisher.Mono<java.lang.Long> |
update()
更新(插入、或更新、或删除)
|
<S> reactor.core.publisher.Mono<java.lang.Long> |
update(S args,
RxStatementBinder<S> binder)
批量更新(插入、或更新、或删除)
|
reactor.core.publisher.Flux<java.lang.Long> |
updateBatch(java.util.Collection<java.lang.Object[]> argsList)
批量更新(插入、或更新、或删除)
|
<S> reactor.core.publisher.Flux<java.lang.Long> |
updateBatch(java.util.Collection<S> argsList,
RxStatementBinder<S> binder)
批量更新(插入、或更新、或删除)
|
<T> reactor.core.publisher.Mono<T> |
updateReturnKey(java.lang.Class<T> tClass)
更新并返回主键
|
<T,S> reactor.core.publisher.Mono<T> |
updateReturnKey(java.lang.Class<T> tClass,
S args,
RxStatementBinder<S> binder)
更新并返回主键
|
@Nullable <T> reactor.core.publisher.Mono<T> queryValue(java.lang.Class<T> tClass)
@Nullable <T> reactor.core.publisher.Flux<T> queryValueList(java.lang.Class<T> tClass)
@Nullable <T> reactor.core.publisher.Mono<T> queryRow(java.lang.Class<T> tClass)
tClass
- Map.class or T.class@Nullable <T> reactor.core.publisher.Mono<T> queryRow(RxRowConverter<T> converter)
@Nullable <T> reactor.core.publisher.Flux<T> queryRowList(java.lang.Class<T> tClass)
tClass
- Map.class or T.class@Nullable <T> reactor.core.publisher.Flux<T> queryRowList(RxRowConverter<T> converter)
reactor.core.publisher.Mono<java.lang.Long> update()
<S> reactor.core.publisher.Mono<java.lang.Long> update(S args, RxStatementBinder<S> binder)
args
- 参数binder
- 绑定器@Nullable <T> reactor.core.publisher.Mono<T> updateReturnKey(java.lang.Class<T> tClass)
@Nullable <T,S> reactor.core.publisher.Mono<T> updateReturnKey(java.lang.Class<T> tClass, S args, RxStatementBinder<S> binder)
reactor.core.publisher.Flux<java.lang.Long> updateBatch(java.util.Collection<java.lang.Object[]> argsList)
argsList
- 参数集合<S> reactor.core.publisher.Flux<java.lang.Long> updateBatch(java.util.Collection<S> argsList, RxStatementBinder<S> binder)
argsList
- 参数集合binder
- 绑定器