public class RepeatableReadResultSetProxyLogic extends ProxyLogicSupport implements ResultSetProxyLogic
ResultSet to be consumed more than once.ResultSetInvocationHandler| Modifier and Type | Class and Description |
|---|---|
static class |
RepeatableReadResultSetProxyLogic.Builder |
COMMON_METHOD_NAMES| Constructor and Description |
|---|
RepeatableReadResultSetProxyLogic() |
| Modifier and Type | Method and Description |
|---|---|
Object |
invoke(Object proxy,
Method method,
Object[] args) |
protected boolean |
isNullValue(Object value,
Method method,
Object[] args)
Determine whether the retrieved value is
null for wasNull. |
protected Object |
performProxyLogic(Object proxy,
Method method,
Object[] args,
MethodExecutionContext methodContext) |
handleCommonMethod, isCommonMethod, proceedExecution, proceedMethodExecutionpublic Object invoke(Object proxy, Method method, Object[] args) throws Throwable
invoke in interface ResultSetProxyLogicThrowableprotected Object performProxyLogic(Object proxy, Method method, Object[] args, MethodExecutionContext methodContext) throws Throwable
performProxyLogic in class ProxyLogicSupportThrowableprotected boolean isNullValue(Object value, Method method, Object[] args)
null for wasNull.
Subclass may override this method to provide more sophisticated wasNull check.
value - result valuemethod - getX methodargs - method argumentstrue if value is considered as null.Copyright © 2024. All rights reserved.