Uses of Interface
io.r2dbc.proxy.core.QueryExecutionInfo
Packages that use QueryExecutionInfo
Package
Description
Proxy related classes
Listener classes
Misc support classes
Utility classes for testing
-
Uses of QueryExecutionInfo in io.r2dbc.proxy
Method parameters in io.r2dbc.proxy with type arguments of type QueryExecutionInfoModifier and TypeMethodDescriptionProxyConnectionFactory.Builder.onAfterQuery
(Consumer<QueryExecutionInfo> consumer) Register a callback consumer for after query execution.ProxyConnectionFactory.Builder.onBeforeQuery
(Consumer<QueryExecutionInfo> consumer) Register a callback consumer for before query execution.ProxyConnectionFactory.Builder.onEachQueryResult
(Consumer<QueryExecutionInfo> consumer) Register a callback consumer for processing each query result. -
Uses of QueryExecutionInfo in io.r2dbc.proxy.callback
Methods in io.r2dbc.proxy.callback with parameters of type QueryExecutionInfoModifier and TypeMethodDescriptionProxyFactory.wrapResult
(Result result, QueryExecutionInfo executionInfo, QueriesExecutionContext queriesExecutionContext) Create a proxyResult
.ProxyFactory.wrapRow
(Row row, QueryExecutionInfo executionInfo) Create a proxyRow
.ProxyFactory.wrapRowSegment
(Result.RowSegment rowSegment, QueryExecutionInfo executionInfo) Create a proxyResult.RowSegment
.Constructors in io.r2dbc.proxy.callback with parameters of type QueryExecutionInfoModifierConstructorDescriptionResultCallbackHandler
(Result result, QueryExecutionInfo queryExecutionInfo, ProxyConfig proxyConfig, QueriesExecutionContext queriesExecutionContext) Callback handler logic forResult
.RowCallbackHandler
(Row row, QueryExecutionInfo queryExecutionInfo, ProxyConfig proxyConfig) Callback handler logic forRow
.RowSegmentCallbackHandler
(Result.RowSegment rowSegment, QueryExecutionInfo queryExecutionInfo, ProxyConfig proxyConfig) Callback handler logic forRow
. -
Uses of QueryExecutionInfo in io.r2dbc.proxy.listener
Methods in io.r2dbc.proxy.listener that return QueryExecutionInfoModifier and TypeMethodDescriptionLastExecutionAwareListener.getAfterQueryExecutionInfo()
Get the last usedQueryExecutionInfo
inProxyExecutionListener.afterQuery(QueryExecutionInfo)
.LastExecutionAwareListener.getBeforeQueryExecutionInfo()
Get the last usedQueryExecutionInfo
inProxyExecutionListener.beforeQuery(QueryExecutionInfo)
.LastExecutionAwareListener.getEachQueryResultExecutionInfo()
Get the last usedQueryExecutionInfo
inProxyExecutionListener.eachQueryResult(QueryExecutionInfo)
.Methods in io.r2dbc.proxy.listener with parameters of type QueryExecutionInfoModifier and TypeMethodDescriptiondefault void
ProxyMethodExecutionListener.afterExecuteOnBatch
(QueryExecutionInfo queryExecutionInfo) Query execution callback that is invoked afterBatch.execute()
is called.default void
ProxyMethodExecutionListener.afterExecuteOnStatement
(QueryExecutionInfo queryExecutionInfo) Query execution callback that is invoked afterStatement.execute()
is called.void
CompositeProxyExecutionListener.afterQuery
(QueryExecutionInfo execInfo) void
LastExecutionAwareListener.afterQuery
(QueryExecutionInfo execInfo) default void
ProxyExecutionListener.afterQuery
(QueryExecutionInfo execInfo) Called after executing a query (Batch.execute()
orStatement.execute()
).void
ProxyMethodExecutionListenerAdapter.afterQuery
(QueryExecutionInfo execInfo) default void
ProxyMethodExecutionListener.beforeExecuteOnBatch
(QueryExecutionInfo queryExecutionInfo) Query execution callback that is invoked beforeBatch.execute()
is called.default void
ProxyMethodExecutionListener.beforeExecuteOnStatement
(QueryExecutionInfo queryExecutionInfo) Query execution callback that is invoked beforeStatement.execute()
is called.void
CompositeProxyExecutionListener.beforeQuery
(QueryExecutionInfo execInfo) void
LastExecutionAwareListener.beforeQuery
(QueryExecutionInfo execInfo) default void
ProxyExecutionListener.beforeQuery
(QueryExecutionInfo execInfo) Called before executing a query (Batch.execute()
orStatement.execute()
).void
ProxyMethodExecutionListenerAdapter.beforeQuery
(QueryExecutionInfo execInfo) void
CompositeProxyExecutionListener.eachQueryResult
(QueryExecutionInfo execInfo) void
LastExecutionAwareListener.eachQueryResult
(QueryExecutionInfo execInfo) default void
ProxyExecutionListener.eachQueryResult
(QueryExecutionInfo execInfo) Called on processing each queryResult
.void
ProxyMethodExecutionListenerAdapter.eachQueryResult
(QueryExecutionInfo execInfo) -
Uses of QueryExecutionInfo in io.r2dbc.proxy.observation
Methods in io.r2dbc.proxy.observation with parameters of type QueryExecutionInfoModifier and TypeMethodDescriptionvoid
ObservationProxyExecutionListener.afterQuery
(QueryExecutionInfo executionInfo) void
ObservationProxyExecutionListener.beforeQuery
(QueryExecutionInfo executionInfo) void
ObservationProxyExecutionListener.eachQueryResult
(QueryExecutionInfo executionInfo) -
Uses of QueryExecutionInfo in io.r2dbc.proxy.support
Classes in io.r2dbc.proxy.support that implement interfaces with type arguments of type QueryExecutionInfoFields in io.r2dbc.proxy.support with type parameters of type QueryExecutionInfoModifier and TypeFieldDescriptionQueryExecutionInfoFormatter.onBindings
Default implementation for formatting bindings.Methods in io.r2dbc.proxy.support with parameters of type QueryExecutionInfoModifier and TypeMethodDescriptionQueryExecutionInfoFormatter.apply
(QueryExecutionInfo executionInfo) QueryExecutionInfoFormatter.format
(QueryExecutionInfo executionInfo) Convert the givenQueryExecutionInfo
toString
using registered consumers.Method parameters in io.r2dbc.proxy.support with type arguments of type QueryExecutionInfoModifier and TypeMethodDescriptionQueryExecutionInfoFormatter.addConsumer
(BiConsumer<QueryExecutionInfo, StringBuilder> consumer) -
Uses of QueryExecutionInfo in io.r2dbc.proxy.test
Classes in io.r2dbc.proxy.test that implement QueryExecutionInfoModifier and TypeClassDescriptionfinal class
Mock implementation ofQueryExecutionInfo
for testing.