Class BindMapFactory

java.lang.Object
org.jdbi.v3.sqlobject.customizer.internal.BindMapFactory
All Implemented Interfaces:
SqlStatementCustomizerFactory

public class BindMapFactory extends Object implements SqlStatementCustomizerFactory
  • Constructor Details

    • BindMapFactory

      public BindMapFactory()
  • Method Details

    • createForParameter

      public SqlStatementParameterCustomizer createForParameter(Annotation a, Class<?> sqlObjectType, Method method, Parameter param, int index, Type type)
      Description copied from interface: SqlStatementCustomizerFactory
      Used to create customizers for annotations on parameters
      Specified by:
      createForParameter in interface SqlStatementCustomizerFactory
      Parameters:
      a - the annotation which lead to the method being called
      sqlObjectType - sql object class (interface)
      method - the method which was annotated
      param - the parameter which was annotated
      index - the method parameter index
      type - the type of the parameter
      Returns:
      the customizer which will be applied to the generated statement