Class SqlQueryHandler

java.lang.Object
org.jdbi.v3.sqlobject.statement.internal.SqlQueryHandler
All Implemented Interfaces:
Handler

public class SqlQueryHandler extends Object
  • Constructor Details

    • SqlQueryHandler

      public SqlQueryHandler(Class<?> sqlObjectType, Method method)
  • Method Details

    • warm

      public void warm(ConfigRegistry config)
      Description copied from interface: Handler
      Called after the method handler is constructed to pre-initialize any important configuration data structures.
      Parameters:
      config - the method configuration to warm
    • invoke

      public Object invoke(Object target, Object[] args, HandleSupplier hs)
      Description copied from interface: Handler
      Executes a SQL Object method, and returns the result.
      Specified by:
      invoke in interface Handler
      Parameters:
      target - the SQL Object instance being invoked
      args - the arguments that were passed to the method.
      hs - a (possibly lazy) Handle supplier.
      Returns:
      the method return value, or null if the method has a void return type.