@FunctionalInterface public interface ResultRowConverter
Row#get(...) methods.| Modifier and Type | Interface and Description |
|---|---|
static interface |
ResultRowConverter.GetOperation
Represent
Row#get(...) operation. |
| Modifier and Type | Method and Description |
|---|---|
static ResultRowConverter |
create()
Create a default
ResultRowConverter. |
Object |
onGet(io.r2dbc.spi.Row proxyRow,
Method method,
Object[] args,
ResultRowConverter.GetOperation getOperation)
Callback method for
Row#get(...) before performing the original Row#get(...) method. |
static ResultRowConverter create()
ResultRowConverter.@Nullable Object onGet(io.r2dbc.spi.Row proxyRow, Method method, Object[] args, ResultRowConverter.GetOperation getOperation)
Row#get(...) before performing the original Row#get(...) method.
Implementation of this method can modify the actual behavior. For example, the callback can modify arguments and return value, determine whether to call the original method or alternative methods, etc.
To perform the original Row#get(...) method, invoke getOperation.proceed().
proxyRow - proxy Rowmethod - invoked methodargs - arguments of the original Row#get(...) callgetOperation - perform Row#get(...) operation and returns its resultRow#get(...) operationCopyright © 2024. All rights reserved.