Class DelegatingArgumentFactory

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.IdentityHashMap<java.lang.Class<?>,​java.util.function.Function<java.lang.Object,​Argument>> builders  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Optional<Argument> build​(java.lang.reflect.Type expectedType, java.lang.Object value, ConfigRegistry config)
      Returns an Argument for the given value if the factory supports it; empty otherwise.
      java.util.Optional<java.util.function.Function<java.lang.Object,​Argument>> prepare​(java.lang.reflect.Type type, ConfigRegistry config)  
      java.util.Collection<? extends java.lang.reflect.Type> prePreparedTypes()  
      (package private) <T> void register​(java.lang.Class<T> klass, int sqlType, StatementBinder<T> binder)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • builders

        private final java.util.IdentityHashMap<java.lang.Class<?>,​java.util.function.Function<java.lang.Object,​Argument>> builders
    • Constructor Detail

      • DelegatingArgumentFactory

        DelegatingArgumentFactory()