Class SqlBatchHandler

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

public class SqlBatchHandler extends Object
  • Constructor Details

    • SqlBatchHandler

      public SqlBatchHandler(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 h)
      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.
      h - a (possibly lazy) Handle supplier.
      Returns:
      the method return value, or null if the method has a void return type.