Uses of Interface
org.jdbi.v3.core.argument.ArgumentFactory
Packages that use ArgumentFactory
Package
Description
The
argument classes translate Java types into JDBC parameters.
The
array package binds Java arrays and collections to SQL arrays, and
handles mapping array result types back to Java arrays and collections.
The
config classes define a configuration registry starting from
each Jdbi instance.guava provides extra types that are commonly needed beyond built
in JDK types.joda-time provides improved date and time types to pre-Java 8 applications.
The
postgres plugin provides improved support for
java.time, hstore, uuid, and enum
types when configured with a recent Postgres database server.-
Uses of ArgumentFactory in org.jdbi.v3.core.argument
Subinterfaces of ArgumentFactory in org.jdbi.v3.core.argumentModifier and TypeInterfaceDescriptionstatic interfaceArgumentFactory extension interface that allows preparing arguments for efficient batch binding.Classes in org.jdbi.v3.core.argument that implement ArgumentFactoryModifier and TypeClassDescriptionclassAnArgumentFactorybase class for arguments of typeT.classDeprecated.will be replaced by a pluginclassAnArgumentFactoryfor arguments that implementCharSequence.classclassclassArgument factory that matches a specified type and binds it as anObjectArgument.classFactory that usesPreparedStatement.setObject(int, Object, int)to bind values.Fields in org.jdbi.v3.core.argument declared as ArgumentFactoryModifier and TypeFieldDescriptionstatic final ArgumentFactoryBuiltInArgumentFactory.INSTANCEDeprecated.Methods in org.jdbi.v3.core.argument that return ArgumentFactoryModifier and TypeMethodDescriptionstatic ArgumentFactoryMatch the given type and bind as an object without SQL type information.static ArgumentFactoryMatch the given type and bind as an object with the given SQL type informationstatic ArgumentFactorySetObjectArgumentFactory.forClasses(Map<Class<?>, Integer> types) Creates a newArgumentFactorythat maps objects toTypesvalues.Methods in org.jdbi.v3.core.argument with parameters of type ArgumentFactoryModifier and TypeMethodDescriptionstatic QualifiedArgumentFactoryQualifiedArgumentFactory.adapt(ConfigRegistry config, ArgumentFactory factory) Adapts anArgumentFactoryinto a QualifiedArgumentFactory.Arguments.register(ArgumentFactory factory) Registers the given argument factory. -
Uses of ArgumentFactory in org.jdbi.v3.core.array
Classes in org.jdbi.v3.core.array that implement ArgumentFactoryModifier and TypeClassDescriptionclassBind a Java array orCollectionto a SQL array using theSqlArrayTypeFactoryfor the given type information. -
Uses of ArgumentFactory in org.jdbi.v3.core.config
Methods in org.jdbi.v3.core.config with parameters of type ArgumentFactoryModifier and TypeMethodDescriptiondefault ThisConfigurable.registerArgument(ArgumentFactory factory) Convenience method forgetConfig(Arguments.class).register(factory) -
Uses of ArgumentFactory in org.jdbi.v3.guava
Methods in org.jdbi.v3.guava that return ArgumentFactoryModifier and TypeMethodDescriptionstatic ArgumentFactoryGuavaArguments.factory()Returns anArgumentFactorywhich understands Guava types. -
Uses of ArgumentFactory in org.jdbi.v3.jodatime2
Classes in org.jdbi.v3.jodatime2 that implement ArgumentFactory -
Uses of ArgumentFactory in org.jdbi.v3.postgres
Classes in org.jdbi.v3.postgres that implement ArgumentFactoryModifier and TypeClassDescriptionclassPostgres version of argument factory forDuration.classAn argument factory which binds Java'sMapto Postgres' hstore type.classPostgres version of argument factory forInetAddress.classclassPostgres version of argument factory forPeriod.classDefaultjdbibehavior is to bindEnumsubclasses as a string, which Postgres won't implicitly convert to an enum type.classBind UUID arguments as an Object.