public class DefaultReactiveQuery<T> extends DefaultQuery<T,ReactiveQuery<T>> implements ReactiveQuery<T>
TermTypeConditionalSupport.Accepter<T,O>, TermTypeConditionalSupport.SimpleAccepter<T,O>accepter, columnMapping, currentTermType, operator, orders, param, tableMetadata, wrapper| 构造器和说明 |
|---|
DefaultReactiveQuery(TableOrViewMetadata tableMetadata,
EntityColumnMapping mapping,
DMLOperator operator,
ResultWrapper<T,?> wrapper,
java.util.function.Function<reactor.util.context.Context,reactor.util.context.Context> context,
ContextKeyValue<?>... keyValues) |
| 限定符和类型 | 方法和说明 |
|---|---|
ReactiveQuery<T> |
copy()
复制当前查询对象,在需要多次设置查询条件时,可以使用此方法复制一个新的查询对象
|
reactor.core.publisher.Mono<Integer> |
count()
执行count查询,并返回count查询结果.
|
reactor.core.publisher.Flux<T> |
fetch()
执行查询并获取返回数据流,如果未查询到结果将返回
Flux.empty() |
reactor.core.publisher.Mono<T> |
fetchOne()
执行查询并返回单个数据
|
accept, and, and, context, context, forUpdate, getAccepter, getParam, getSelectColumn, getSortOrder, nest, or, or, orderBy, orderBy, orNest, paging, select, select, select, selectExcludes, selectExcludes, selectExcludes, setParamclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcontext, context, forUpdate, getParam, orderBy, orderBy, paging, select, select, select, selectExcludes, selectExcludes, selectExcludes, setParam$like, $like, $like, $like$, $like$, $like$, accept, accept, accept, accept, accept, and, and, and, and, and, and, and, and, between, between, between, getAccepter, gt, gt, gt, gte, gte, gte, in, in, in, in, in, in, in, is, is, is, isEmpty, isEmpty, isNull, isNull, like, like, like, like$, like$, like$, lt, lt, lt, lte, lte, lte, nest, nest, not, not, not, notBetween, notBetween, notBetween, notEmpty, notEmpty, notIn, notIn, notIn, notIn, notIn, notIn, notIn, notLike, notLike, notLike, notNull, notNull, or, or, or, or, or, or, or, or, orNest, where, where, where, where, wherepublic DefaultReactiveQuery(TableOrViewMetadata tableMetadata, EntityColumnMapping mapping, DMLOperator operator, ResultWrapper<T,?> wrapper, java.util.function.Function<reactor.util.context.Context,reactor.util.context.Context> context, ContextKeyValue<?>... keyValues)
public ReactiveQuery<T> copy()
ReactiveQuerycopy 在接口中 ReactiveQuery<T>public reactor.core.publisher.Flux<T> fetch()
ReactiveQueryFlux.empty()fetch 在接口中 ReactiveQuery<T>public reactor.core.publisher.Mono<T> fetchOne()
ReactiveQueryfetchOne 在接口中 ReactiveQuery<T>Mono.empty()public reactor.core.publisher.Mono<Integer> count()
ReactiveQuerycount 在接口中 ReactiveQuery<T>Copyright © 2025. All rights reserved.