Class HStoreArgumentFactory

java.lang.Object
org.jdbi.v3.core.argument.AbstractArgumentFactory<Map>
org.jdbi.v3.postgres.HStoreArgumentFactory
All Implemented Interfaces:
ArgumentFactory, ArgumentFactory.Preparable

public class HStoreArgumentFactory extends AbstractArgumentFactory<Map>
An argument factory which binds Java's Map to Postgres' hstore type.
  • Constructor Details

    • HStoreArgumentFactory

      public HStoreArgumentFactory()
  • Method Details

    • build

      protected Argument build(Map 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<Map>
      Parameters:
      value - the value to convert to an argument
      config - the config registry
      Returns:
      An Argument for the given value. Must not be null!