public class DefaultR2dbcExecutor
extends org.hswebframework.ezorm.rdb.executor.reactive.r2dbc.R2dbcReactiveSqlExecutor
| 构造器和说明 |
|---|
DefaultR2dbcExecutor() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
bind(io.r2dbc.spi.Statement statement,
int index,
Object value) |
protected void |
bindNull(io.r2dbc.spi.Statement statement,
int index,
Class type) |
protected org.hswebframework.ezorm.rdb.executor.SqlRequest |
convertRequest(org.hswebframework.ezorm.rdb.executor.SqlRequest sqlRequest) |
reactor.core.publisher.Mono<Void> |
execute(org.reactivestreams.Publisher<org.hswebframework.ezorm.rdb.executor.SqlRequest> request) |
reactor.core.publisher.Mono<Void> |
execute(org.hswebframework.ezorm.rdb.executor.SqlRequest request) |
String |
getBindSymbol() |
protected reactor.core.publisher.Mono<io.r2dbc.spi.Connection> |
getConnection() |
protected void |
releaseConnection(reactor.core.publisher.SignalType type,
io.r2dbc.spi.Connection connection) |
<E> reactor.core.publisher.Flux<E> |
select(org.reactivestreams.Publisher<org.hswebframework.ezorm.rdb.executor.SqlRequest> request,
org.hswebframework.ezorm.rdb.executor.wrapper.ResultWrapper<E,?> wrapper) |
<E> reactor.core.publisher.Flux<E> |
select(org.hswebframework.ezorm.rdb.executor.SqlRequest sqlRequest,
org.hswebframework.ezorm.rdb.executor.wrapper.ResultWrapper<E,?> wrapper) |
reactor.core.publisher.Flux<Map<String,Object>> |
select(String sql,
Object... args) |
<E> reactor.core.publisher.Flux<E> |
select(String sql,
org.hswebframework.ezorm.rdb.executor.wrapper.ResultWrapper<E,?> wrapper) |
reactor.core.publisher.Mono<Integer> |
update(org.reactivestreams.Publisher<org.hswebframework.ezorm.rdb.executor.SqlRequest> request) |
reactor.core.publisher.Mono<Integer> |
update(org.hswebframework.ezorm.rdb.executor.SqlRequest request) |
reactor.core.publisher.Mono<Integer> |
update(String sql,
Object... args) |
doExecute, getBindFirstIndex, getLogger, prepareStatement, setLogger, toFluxpublic String getBindSymbol()
getBindSymbol 在类中 org.hswebframework.ezorm.rdb.executor.reactive.r2dbc.R2dbcReactiveSqlExecutorprotected org.hswebframework.ezorm.rdb.executor.SqlRequest convertRequest(org.hswebframework.ezorm.rdb.executor.SqlRequest sqlRequest)
convertRequest 在类中 org.hswebframework.ezorm.rdb.executor.reactive.r2dbc.R2dbcReactiveSqlExecutorprotected void bindNull(io.r2dbc.spi.Statement statement,
int index,
Class type)
bindNull 在类中 org.hswebframework.ezorm.rdb.executor.reactive.r2dbc.R2dbcReactiveSqlExecutorprotected void bind(io.r2dbc.spi.Statement statement,
int index,
Object value)
bind 在类中 org.hswebframework.ezorm.rdb.executor.reactive.r2dbc.R2dbcReactiveSqlExecutorprotected reactor.core.publisher.Mono<io.r2dbc.spi.Connection> getConnection()
getConnection 在类中 org.hswebframework.ezorm.rdb.executor.reactive.r2dbc.R2dbcReactiveSqlExecutorprotected void releaseConnection(reactor.core.publisher.SignalType type,
io.r2dbc.spi.Connection connection)
releaseConnection 在类中 org.hswebframework.ezorm.rdb.executor.reactive.r2dbc.R2dbcReactiveSqlExecutor@Transactional(propagation=REQUIRES_NEW,
transactionManager="connectionFactoryTransactionManager")
public reactor.core.publisher.Mono<Void> execute(org.hswebframework.ezorm.rdb.executor.SqlRequest request)
@Transactional(propagation=REQUIRES_NEW,
transactionManager="connectionFactoryTransactionManager")
public reactor.core.publisher.Mono<Void> execute(org.reactivestreams.Publisher<org.hswebframework.ezorm.rdb.executor.SqlRequest> request)
execute 在接口中 org.hswebframework.ezorm.rdb.executor.reactive.ReactiveSqlExecutorexecute 在类中 org.hswebframework.ezorm.rdb.executor.reactive.r2dbc.R2dbcReactiveSqlExecutor@Transactional(transactionManager="connectionFactoryTransactionManager") public reactor.core.publisher.Mono<Integer> update(org.reactivestreams.Publisher<org.hswebframework.ezorm.rdb.executor.SqlRequest> request)
update 在接口中 org.hswebframework.ezorm.rdb.executor.reactive.ReactiveSqlExecutorupdate 在类中 org.hswebframework.ezorm.rdb.executor.reactive.r2dbc.R2dbcReactiveSqlExecutor@Transactional(transactionManager="connectionFactoryTransactionManager") public reactor.core.publisher.Mono<Integer> update(org.hswebframework.ezorm.rdb.executor.SqlRequest request)
@Transactional(transactionManager="connectionFactoryTransactionManager") public reactor.core.publisher.Mono<Integer> update(String sql, Object... args)
@Transactional(readOnly=true,
transactionManager="connectionFactoryTransactionManager")
public <E> reactor.core.publisher.Flux<E> select(org.reactivestreams.Publisher<org.hswebframework.ezorm.rdb.executor.SqlRequest> request,
org.hswebframework.ezorm.rdb.executor.wrapper.ResultWrapper<E,?> wrapper)
select 在接口中 org.hswebframework.ezorm.rdb.executor.reactive.ReactiveSqlExecutorselect 在类中 org.hswebframework.ezorm.rdb.executor.reactive.r2dbc.R2dbcReactiveSqlExecutor@Transactional(readOnly=true,
transactionManager="connectionFactoryTransactionManager")
public reactor.core.publisher.Flux<Map<String,Object>> select(String sql,
Object... args)
@Transactional(readOnly=true,
transactionManager="connectionFactoryTransactionManager")
public <E> reactor.core.publisher.Flux<E> select(String sql,
org.hswebframework.ezorm.rdb.executor.wrapper.ResultWrapper<E,?> wrapper)
@Transactional(readOnly=true,
transactionManager="connectionFactoryTransactionManager")
public <E> reactor.core.publisher.Flux<E> select(org.hswebframework.ezorm.rdb.executor.SqlRequest sqlRequest,
org.hswebframework.ezorm.rdb.executor.wrapper.ResultWrapper<E,?> wrapper)
Copyright © 2016–2022. All rights reserved.