Uses of Interface
org.jdbi.v3.core.argument.Argument
Packages that use Argument
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
statement
package provides most of the Fluent API
to drive statement execution.
The
postgres
plugin provides improved support for
java.time
, hstore
, uuid
, and enum
types when configured with a recent Postgres database server.-
Uses of Argument in org.jdbi.v3.core.argument
Classes in org.jdbi.v3.core.argument that implement ArgumentModifier and TypeClassDescriptionclass
Bind aReader
as a character stream parameter.class
Bind an input stream as either an ASCII (discouraged) or binary stream.class
A typed SQL null argument.class
An Argument which usessetObject
to support vendor specific types.Methods in org.jdbi.v3.core.argument that return ArgumentModifier and TypeMethodDescriptionArguments.getUntypedNullArgument()
Returns the untyped null argument.static Argument
Bind a vendor-supported object with the given SQL type.static Argument
Bind a vendor-supported object with the given SQL type.Methods in org.jdbi.v3.core.argument that return types with arguments of type ArgumentModifier and TypeMethodDescriptionAbstractArgumentFactory.build
(Type type, Object value, ConfigRegistry config) ArgumentFactory.build
(Type type, Object value, ConfigRegistry config) Returns anArgument
for the given value if the factory supports it; empty otherwise.ArgumentFactory.Preparable.build
(Type type, Object value, ConfigRegistry config) BuiltInArgumentFactory.build
(Type expectedType, Object value, ConfigRegistry config) Deprecated.DirectArgumentFactory.build
(Type expectedType, Object value, ConfigRegistry config) ObjectArgumentFactory.build
(Type expectedType, Object value, ConfigRegistry config) QualifiedArgumentFactory.build
(QualifiedType<?> type, Object value, ConfigRegistry config) Returns anArgument
for the given value if the factory supports it; empty otherwise.MapArguments.find
(String name, StatementContext ctx) Deprecated.NamedArgumentFinder.find
(String name, StatementContext ctx) Obtain an argument for given value in the given contextArguments.findFor
(QualifiedType<?> type, Object value) Obtain an argument for given value in the given context.AbstractArgumentFactory.prepare
(Type type, ConfigRegistry config) ArgumentFactory.Preparable.prepare
(Type type, ConfigRegistry config) BuiltInArgumentFactory.prepare
(Type type, ConfigRegistry config) Deprecated.ObjectArgumentFactory.prepare
(Type expectedType, ConfigRegistry config) QualifiedArgumentFactory.Preparable.prepare
(QualifiedType<?> type, ConfigRegistry config) SetObjectArgumentFactory.prepare
(Type type, ConfigRegistry config) Arguments.prepareFor
(Type type) Obtain a prepared argument function for given type in the given context.Arguments.prepareFor
(QualifiedType<?> type) Obtain a prepared argument function for given type in the given context.Methods in org.jdbi.v3.core.argument with parameters of type ArgumentModifier and TypeMethodDescriptionvoid
Arguments.setUntypedNullArgument
(Argument untypedNullArgument) Configure theArgument
to use when binding a null we don't have a type for. -
Uses of Argument in org.jdbi.v3.core.array
Methods in org.jdbi.v3.core.array that return types with arguments of type Argument -
Uses of Argument in org.jdbi.v3.core.codec
Methods in org.jdbi.v3.core.codec that return types with arguments of type ArgumentModifier and TypeMethodDescriptionCodecFactory.build
(QualifiedType<?> type, Object value, ConfigRegistry config) Codec.getArgumentFunction()
Codec.getArgumentFunction
(ConfigRegistry configRegistry) CodecFactory.prepare
(QualifiedType<?> type, ConfigRegistry config) -
Uses of Argument in org.jdbi.v3.core.statement
Methods in org.jdbi.v3.core.statement that return types with arguments of type ArgumentModifier and TypeMethodDescriptionStatementContext.findArgumentFor
(Type type, Object value) Obtain an argument for given value in this contextStatementContext.findArgumentFor
(QualifiedType<?> type, Object value) Obtain an argument for given value in this contextBinding.findForName
(String name, StatementContext ctx2) Deprecated.don't inspect a Binding: keep your own state!Binding.findForPosition
(int position) Deprecated.don't inspect a Binding: keep your own state!Methods in org.jdbi.v3.core.statement with parameters of type ArgumentModifier and TypeMethodDescriptionvoid
Bind a named parameter for the given name.void
Binding.addPositional
(int position, Argument argument) Bind a positional parameter at the given index (0-based).Used if you need to have some exotic parameter bound.Used if you need to have some exotic parameter bound. -
Uses of Argument in org.jdbi.v3.postgres
Methods in org.jdbi.v3.postgres that return ArgumentModifier and TypeMethodDescriptionDurationArgumentFactory.build
(Duration duration, ConfigRegistry config) PeriodArgumentFactory.build
(Period period, ConfigRegistry config)