Package org.jdbi.v3.core.argument
Class BuiltInArgumentFactory
java.lang.Object
org.jdbi.v3.core.argument.BuiltInArgumentFactory
- All Implemented Interfaces:
ArgumentFactory,ArgumentFactory.Preparable
@Deprecated
public class BuiltInArgumentFactory
extends Object
implements ArgumentFactory.Preparable
Deprecated.
will be replaced by a plugin
The BuiltInArgumentFactory provides instances of
Argument for
many core Java types. Generally you should not need to use this
class directly, but instead should bind your object with the
SqlStatement convenience methods.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jdbi.v3.core.argument.ArgumentFactory
ArgumentFactory.Preparable -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild(Type expectedType, Object value, ConfigRegistry config) Deprecated.Returns anArgumentfor the given value if the factory supports it; empty otherwise.prepare(Type type, ConfigRegistry config) Deprecated.Collection<? extends Type>Deprecated.no longer used
-
Field Details
-
INSTANCE
Deprecated.
-
-
Constructor Details
-
BuiltInArgumentFactory
public BuiltInArgumentFactory()Deprecated.
-
-
Method Details
-
prepare
Deprecated.- Specified by:
preparein interfaceArgumentFactory.Preparable
-
build
Deprecated.Description copied from interface:ArgumentFactoryReturns anArgumentfor the given value if the factory supports it; empty otherwise.- Specified by:
buildin interfaceArgumentFactory- Specified by:
buildin interfaceArgumentFactory.Preparable- Parameters:
expectedType- the known type of value. Depending on the situation this may be a full generic signature e.g.ParameterizedType, aClass, or Object.class if no type information is known.value- the value to convert into anArgumentconfig- the config registry, for composition- Returns:
- an argument for the given value if this factory supports it, or
Optional.empty()otherwise. - See Also:
-
prePreparedTypes
Deprecated.no longer used- Specified by:
prePreparedTypesin interfaceArgumentFactory.Preparable
-