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 interface
ArgumentFactory extension interface that allows preparing arguments for efficient batch binding.Classes in org.jdbi.v3.core.argument that implement ArgumentFactoryModifier and TypeClassDescriptionclass
AnArgumentFactory
base class for arguments of typeT
.class
Deprecated.will be replaced by a pluginclass
AnArgumentFactory
for arguments that implementCharSequence
.class
class
class
Argument factory that matches a specified type and binds it as anObjectArgument
.class
Factory that usesPreparedStatement.setObject(int, Object, int)
to bind values.Fields in org.jdbi.v3.core.argument declared as ArgumentFactoryModifier and TypeFieldDescriptionstatic final ArgumentFactory
BuiltInArgumentFactory.INSTANCE
Deprecated.Methods in org.jdbi.v3.core.argument that return ArgumentFactoryModifier and TypeMethodDescriptionstatic ArgumentFactory
Match the given type and bind as an object without SQL type information.static ArgumentFactory
Match the given type and bind as an object with the given SQL type informationstatic ArgumentFactory
SetObjectArgumentFactory.forClasses
(Map<Class<?>, Integer> types) Creates a newArgumentFactory
that maps objects toTypes
values.Methods in org.jdbi.v3.core.argument with parameters of type ArgumentFactoryModifier and TypeMethodDescriptionstatic QualifiedArgumentFactory
QualifiedArgumentFactory.adapt
(ConfigRegistry config, ArgumentFactory factory) Adapts anArgumentFactory
into 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 TypeClassDescriptionclass
Bind a Java array orCollection
to a SQL array using theSqlArrayTypeFactory
for 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 This
Configurable.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 ArgumentFactory
GuavaArguments.factory()
Returns anArgumentFactory
which 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 TypeClassDescriptionclass
Postgres version of argument factory forDuration
.class
An argument factory which binds Java'sMap
to Postgres' hstore type.class
Postgres version of argument factory forInetAddress
.class
class
Postgres version of argument factory forPeriod
.class
Defaultjdbi
behavior is to bindEnum
subclasses as a string, which Postgres won't implicitly convert to an enum type.class
Bind UUID arguments as an Object.