- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface Handler
Implements the contract of a SQL Object method.
Method SummaryModifier and TypeMethodDescriptionExecutes a SQL Object method, and returns the result.
default voidCalled after the method handler is constructed to pre-initialize any important configuration data structures.
invokeExecutes a SQL Object method, and returns the result.
target- the SQL Object instance being invoked
args- the arguments that were passed to the method.
handleSupplier- a (possibly lazy) Handle supplier.
- the method return value, or null if the method has a void return type.
Exception- any exception thrown by the method.
warmCalled after the method handler is constructed to pre-initialize any important configuration data structures.
config- the method configuration to warm