Class JsonbArgumentFactory<T>

  • All Implemented Interfaces:
    org.jdbi.v3.core.argument.ArgumentFactory

    public class JsonbArgumentFactory<T>
    extends java.lang.Object
    implements org.jdbi.v3.core.argument.ArgumentFactory
    • Constructor Summary

      Constructors 
      Constructor Description
      JsonbArgumentFactory​(java.lang.Class<T> clz, com.fasterxml.jackson.databind.ObjectMapper objectMapper)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Optional<org.jdbi.v3.core.argument.Argument> build​(java.lang.reflect.Type type, java.lang.Object value, org.jdbi.v3.core.config.ConfigRegistry config)  
      protected org.jdbi.v3.core.argument.Argument build​(T value, org.jdbi.v3.core.config.ConfigRegistry config)  
      • Methods inherited from class java.lang.Object

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

      • JsonbArgumentFactory

        public JsonbArgumentFactory​(java.lang.Class<T> clz,
                                    com.fasterxml.jackson.databind.ObjectMapper objectMapper)
    • Method Detail

      • build

        protected org.jdbi.v3.core.argument.Argument build​(T value,
                                                           org.jdbi.v3.core.config.ConfigRegistry config)
      • build

        public java.util.Optional<org.jdbi.v3.core.argument.Argument> build​(java.lang.reflect.Type type,
                                                                            java.lang.Object value,
                                                                            org.jdbi.v3.core.config.ConfigRegistry config)
        Specified by:
        build in interface org.jdbi.v3.core.argument.ArgumentFactory