| Package | Description |
|---|---|
| net.ttddyy.dsproxy.r2dbc | |
| net.ttddyy.dsproxy.r2dbc.core | |
| net.ttddyy.dsproxy.r2dbc.proxy | |
| net.ttddyy.dsproxy.r2dbc.support |
| Modifier and Type | Method and Description |
|---|---|
ProxyConnectionFactoryBuilder |
ProxyConnectionFactoryBuilder.onAfterQuery(Consumer<reactor.core.publisher.Mono<QueryExecutionInfo>> consumer) |
ProxyConnectionFactoryBuilder |
ProxyConnectionFactoryBuilder.onBeforeQuery(Consumer<reactor.core.publisher.Mono<QueryExecutionInfo>> consumer) |
ProxyConnectionFactoryBuilder |
ProxyConnectionFactoryBuilder.onEachQueryResult(Consumer<reactor.core.publisher.Mono<QueryExecutionInfo>> consumer) |
ProxyConnectionFactoryBuilder |
ProxyConnectionFactoryBuilder.onQueryExecution(Consumer<reactor.core.publisher.Mono<QueryExecutionInfo>> consumer) |
| Modifier and Type | Method and Description |
|---|---|
void |
CompositeProxyExecutionListener.afterQuery(QueryExecutionInfo execInfo) |
default void |
ProxyExecutionListener.afterQuery(QueryExecutionInfo execInfo)
Called after execution of query.
|
void |
CompositeProxyExecutionListener.beforeQuery(QueryExecutionInfo execInfo) |
default void |
ProxyExecutionListener.beforeQuery(QueryExecutionInfo execInfo)
Called before execution of query.
|
void |
CompositeProxyExecutionListener.eachQueryResult(QueryExecutionInfo execInfo) |
default void |
ProxyExecutionListener.eachQueryResult(QueryExecutionInfo execInfo)
Called on processing each query
Result. |
void |
CompositeProxyExecutionListener.onQueryExecution(QueryExecutionInfo executionInfo) |
default void |
ProxyExecutionListener.onQueryExecution(QueryExecutionInfo executionInfo)
Called before and after execution of query.
|
| Modifier and Type | Method and Description |
|---|---|
protected reactor.core.publisher.Flux<? extends io.r2dbc.spi.Result> |
CallbackSupport.interceptQueryExecution(org.reactivestreams.Publisher<? extends io.r2dbc.spi.Result> flux,
ProxyExecutionListener listener,
QueryExecutionInfo executionInfo)
Augment query execution result to hook up listener lifecycle.
|
| Modifier and Type | Field and Description |
|---|---|
BiConsumer<QueryExecutionInfo,StringBuilder> |
QueryExecutionInfoFormatter.onBindings
Default implementation for formatting bindings.
|
| Modifier and Type | Method and Description |
|---|---|
QueryExecutionInfo |
LastExecutionAwareListener.getAfterQueryExecutionInfo() |
QueryExecutionInfo |
LastExecutionAwareListener.getBeforeQueryExecutionInfo() |
QueryExecutionInfo |
LastExecutionAwareListener.getEachQueryResultExecutionInfo() |
| Modifier and Type | Method and Description |
|---|---|
default void |
LifeCycleListener.afterExecuteOnBatch(QueryExecutionInfo queryExecutionInfo) |
default void |
LifeCycleListener.afterExecuteOnStatement(QueryExecutionInfo queryExecutionInfo) |
void |
LifeCycleExecutionListener.afterQuery(QueryExecutionInfo execInfo) |
void |
LastExecutionAwareListener.afterQuery(QueryExecutionInfo execInfo) |
String |
QueryExecutionInfoFormatter.apply(QueryExecutionInfo executionInfo) |
default void |
LifeCycleListener.beforeExecuteOnBatch(QueryExecutionInfo queryExecutionInfo) |
default void |
LifeCycleListener.beforeExecuteOnStatement(QueryExecutionInfo queryExecutionInfo) |
void |
LifeCycleExecutionListener.beforeQuery(QueryExecutionInfo execInfo) |
void |
LastExecutionAwareListener.beforeQuery(QueryExecutionInfo execInfo) |
void |
LifeCycleExecutionListener.eachQueryResult(QueryExecutionInfo execInfo) |
void |
LastExecutionAwareListener.eachQueryResult(QueryExecutionInfo execInfo) |
String |
QueryExecutionInfoFormatter.format(QueryExecutionInfo executionInfo) |
default void |
LifeCycleListener.onEachQueryResult(QueryExecutionInfo queryExecutionInfo) |
Copyright © 2018. All rights reserved.