Package org.jdbi.v3.core.argument
The argument classes translate Java types into JDBC parameters.
Depending on the static and sometimes the dynamic type, the ArgumentFactory
will select an appropriate representation and JDBC type and create an Argument
that binds a value to the Statement.
-
Interface Summary Interface Description AbstractArgumentFactory.ArgumentPredicate Argument Represents an argument to a prepared statement.ArgumentFactory Inspect a value with optional static type information and produce anArgumentthat binds the value to a prepared statement.ArgumentFactory.Preparable ArgumentFactory extension interface that allows preparing arguments for efficient batch binding.NamedArgumentFinder Returns an Argument based on a name.QualifiedArgumentFactory Inspect a value with optional static qualified type information and produce anArgumentthat binds the value to a prepared statement.QualifiedArgumentFactory.Preparable QualifiedArgumentFactory extension interface that allows preparing arguments for efficient batch binding. -
Class Summary Class Description AbstractArgumentFactory<T> AnArgumentFactorybase class for arguments of typeT.Arguments A registry for ArgumentFactory instances.BeanPropertyArguments Deprecated. this should never have been public APIBoxedArgumentFactory BuiltInArgumentFactory Deprecated. will be replaced by a pluginBuiltInArgumentFactory.LegacyEnumByNameArgumentFactory CharacterStreamArgument Bind aReaderas a character stream parameter.CharSequenceArgumentFactory AnArgumentFactoryfor arguments that implementCharSequence.DelegatingArgumentFactory DirectArgumentFactory EnumArgumentFactory EssentialsArgumentFactory InputStreamArgument Bind an input stream as either an ASCII (discouraged) or binary stream.InternetArgumentFactory JavaTimeArgumentFactory JavaTimeZoneIdArgumentFactory MapArguments Deprecated. useSqlStatement.bindMap(Map)insteadNullArgument A typed SQL null argument.NVarcharArgumentFactory Argument factory for@NVarchar Stringqualified type.ObjectArgument An Argument which usessetObjectto support vendor specific types.ObjectArgumentFactory Argument factory that matches a specified type and binds it as anObjectArgument.ObjectFieldArguments Deprecated. this functionality will remain supported, but this class should not be APIObjectMethodArguments Deprecated. this functionality will remain supported, but this class should not be APIOptionalArgumentFactory PrimitivesArgumentFactory SetObjectArgumentFactory Factory that usesPreparedStatement.setObject(int, Object, int)to bind values.SqlArgumentFactory SqlTimeArgumentFactory ToStringBinder<T> UntypedNullArgumentFactory