public interface QueryExecutionInfo
| Modifier and Type | Method and Description | 
|---|---|
int | 
getBatchSize()
Get the size of the batch query. 
 | 
int | 
getBindingsSize()
Get the number of the binding. 
 | 
ConnectionInfo | 
getConnectionInfo()
Get the associated  
ConnectionInfo. | 
Object | 
getCurrentMappedResult()
Mapped query result available for each-query-result-callback( 
ProxyExecutionListener.eachQueryResult(QueryExecutionInfo)). | 
int | 
getCurrentResultCount()
Represent Nth  
Result. | 
Duration | 
getExecuteDuration()
Get the time that took queries to execute. 
 | 
Method | 
getMethod()
Get the invoked query execution  
Method. | 
Object[] | 
getMethodArgs()
Get the arguments of the invocation. 
 | 
ProxyEventType | 
getProxyEventType()
Get the proxy event type for query execution. 
 | 
List<QueryInfo> | 
getQueries()
Get the list of  
QueryInfo. | 
long | 
getThreadId()
Get the currently executed thread ID. 
 | 
String | 
getThreadName()
Get the currently executed thread name. 
 | 
Throwable | 
getThrowable()
Get the thrown exception. 
 | 
ExecutionType | 
getType()
Get the type of query execution. 
 | 
ValueStore | 
getValueStore()
Retrieve  
ValueStore which is associated to the scope of before/after method execution. | 
boolean | 
isSuccess()
Indicate whether the query execution was successful or not. 
 | 
Method getMethod()
Method.@Nullable Object[] getMethodArgs()
null when method is invoked with no argument.null if the invoked method did not take any arguments@Nullable Throwable getThrowable()
ProxyExecutionListener.beforeQuery(QueryExecutionInfo) callback or query execution
 did't throw any error, this returns null.ConnectionInfo getConnectionInfo()
ConnectionInfo.boolean isSuccess()
Publisher
 returned from Statement.execute() either received completion
 or at least one element is emitted regardless of it has received cancellation.int getBatchSize()
Batch.add(String).List<QueryInfo> getQueries()
QueryInfo.null.ExecutionType getType()
int getBindingsSize()
Statement.add().Duration getExecuteDuration()
 Duration is only populated in appropriate phase.
 (e.g.: ProxyExecutionListener.afterQuery(QueryExecutionInfo))
String getThreadName()
long getThreadId()
ProxyEventType getProxyEventType()
ProxyEventType.BEFORE_QUERY, ProxyEventType.AFTER_QUERY,
 or ProxyEventType.EACH_QUERY_RESULTint getCurrentResultCount()
Result.
 On each query result callback(ProxyExecutionListener.eachQueryResult(QueryExecutionInfo)),
 this value indicates Nth Result starting from 1.
 (1st query result, 2nd query result, 3rd, 4th,...).
 This returns 0 for before query execution(ProxyExecutionListener.beforeQuery(QueryExecutionInfo)).
 For after query execution(ProxyExecutionListener.afterQuery(QueryExecutionInfo)), this returns
 total number of Result returned by this query execution.@Nullable Object getCurrentMappedResult()
ProxyExecutionListener.eachQueryResult(QueryExecutionInfo)).
 For before and after query execution(ProxyExecutionListener.beforeQuery(QueryExecutionInfo)
 and ProxyExecutionListener.afterQuery(QueryExecutionInfo)), this returns null.ValueStore getValueStore()
ValueStore which is associated to the scope of before/after method execution.
 Mainly used for passing values between ProxyExecutionListener.beforeQuery(QueryExecutionInfo) and
 ProxyExecutionListener.afterQuery(QueryExecutionInfo).Copyright © 2025. All rights reserved.