Uses of Interface
org.jdbi.v3.core.argument.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
Modifier 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.Modifier 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.Modifier 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.Modifier 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
-
Uses of Argument in org.jdbi.v3.core.codec
Modifier 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
Modifier 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!Modifier 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
Modifier and TypeMethodDescriptionDurationArgumentFactory.build
(Duration duration, ConfigRegistry config) PeriodArgumentFactory.build
(Period period, ConfigRegistry config)