Class PGobjectArgumentFactory

java.lang.Object
org.jdbi.v3.core.argument.AbstractArgumentFactory<org.postgresql.util.PGobject>
org.jdbi.v3.postgres.PGobjectArgumentFactory
All Implemented Interfaces:
ArgumentFactory, ArgumentFactory.Preparable

class PGobjectArgumentFactory extends AbstractArgumentFactory<org.postgresql.util.PGobject>
Argument factory for PGobject.
  • Constructor Details

    • PGobjectArgumentFactory

      PGobjectArgumentFactory()
  • Method Details

    • build

      protected Argument build(org.postgresql.util.PGobject value, ConfigRegistry config)
      Description copied from class: AbstractArgumentFactory
      Produce an argument object for the given value. When the implementation class has accepted a given type, it must then produce an argument instance or throw an exception.
      Specified by:
      build in class AbstractArgumentFactory<org.postgresql.util.PGobject>
      Parameters:
      value - the value to convert to an argument
      config - the config registry
      Returns:
      An Argument for the given value. Must not be null!