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.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.
The
sqlite plugin provides improved support for
java.net.URL.vavr is a functional programming library for the JVM.-
Uses of Argument in org.jdbi.v3.core.argument
Classes in org.jdbi.v3.core.argument that implement ArgumentModifier and TypeClassDescriptionclassBind aReaderas a character stream parameter.classBind an input stream as either an ASCII (discouraged) or binary stream.classA typed SQL null argument.classAn Argument which usessetObjectto support vendor specific types.Fields in org.jdbi.v3.core.argument declared as ArgumentFields in org.jdbi.v3.core.argument with type parameters of type ArgumentModifier and TypeFieldDescriptionprivate final IdentityHashMap<Class<?>,Function<Object, Argument>> DelegatingArgumentFactory.buildersprivate final Map<QualifiedType<?>,Function<Object, Argument>> Arguments.preparedFactoriesMethods in org.jdbi.v3.core.argument that return ArgumentModifier and TypeMethodDescriptionprotected abstract ArgumentAbstractArgumentFactory.build(T value, ConfigRegistry config) Produce an argument object for the given value.protected ArgumentCharSequenceArgumentFactory.build(CharSequence value, ConfigRegistry config) protected ArgumentJavaTimeZoneIdArgumentFactory.build(ZoneId value, ConfigRegistry config) protected ArgumentNVarcharArgumentFactory.build(String value, ConfigRegistry config) Arguments.getUntypedNullArgument()Returns the untyped null argument.private ArgumentAbstractArgumentFactory.innerBuild(Type type, Object value, ConfigRegistry config) static ArgumentBind a vendor-supported object with the given SQL type.static ArgumentBind 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 anArgumentfor 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.BuiltInArgumentFactory.LegacyEnumByNameArgumentFactory.build(Type expectedType, Object rawValue, ConfigRegistry config) DelegatingArgumentFactory.build(Type expectedType, Object value, ConfigRegistry config) DirectArgumentFactory.build(Type expectedType, Object value, ConfigRegistry config) EnumArgumentFactory.build(QualifiedType<?> givenType, Object value, ConfigRegistry config) ObjectArgumentFactory.build(Type expectedType, Object value, ConfigRegistry config) OptionalArgumentFactory.build(Type expectedType, Object value, ConfigRegistry config) PrimitivesArgumentFactory.build(Type expectedType, Object value, ConfigRegistry config) QualifiedArgumentFactory.build(QualifiedType<?> type, Object value, ConfigRegistry config) Returns anArgumentfor the given value if the factory supports it; empty otherwise.UntypedNullArgumentFactory.build(Type expectedType, Object value, ConfigRegistry config) EnumArgumentFactory.byName(E value, ConfigRegistry config) EnumArgumentFactory.byOrdinal(E value, ConfigRegistry config) 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.EnumArgumentFactory.makeArgument(int nullType, Class<A> attributeType, E value, Function<E, A> transform, ConfigRegistry config) EnumArgumentFactory.makeEnumArgument(QualifiedType<E> givenType, E value, ConfigRegistry config) AbstractArgumentFactory.prepare(Type type, ConfigRegistry config) ArgumentFactory.Preparable.prepare(Type type, ConfigRegistry config) BuiltInArgumentFactory.LegacyEnumByNameArgumentFactory.prepare(Type type, ConfigRegistry config) BuiltInArgumentFactory.prepare(Type type, ConfigRegistry config) Deprecated.DelegatingArgumentFactory.prepare(Type type, ConfigRegistry config) ObjectArgumentFactory.prepare(Type expectedType, ConfigRegistry config) OptionalArgumentFactory.prepare(Type type, ConfigRegistry config) PrimitivesArgumentFactory.prepare(Type type, ConfigRegistry config) QualifiedArgumentFactory.Preparable.prepare(QualifiedType<?> type, ConfigRegistry config) SetObjectArgumentFactory.prepare(Type type, ConfigRegistry config) UntypedNullArgumentFactory.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 TypeMethodDescriptionvoidArguments.setUntypedNullArgument(Argument untypedNullArgument) Configure theArgumentto use when binding a null we don't have a type for. -
Uses of Argument in org.jdbi.v3.core.argument.internal
Methods in org.jdbi.v3.core.argument.internal that return types with arguments of type ArgumentModifier and TypeMethodDescriptionObjectPropertyNamedArgumentFinder.find(String name, StatementContext ctx) NamedArgumentFinderFactory.Pojo.forPojoProps(Function<QualifiedType<?>, Function<Object, Argument>> argumentFactoryLookup, PojoPropertyArguments ppa) NamedArgumentFinderFactory.Bean.prepareFor(ConfigRegistry config, Function<QualifiedType<?>, Function<Object, Argument>> argumentFactoryLookup, String prefix, Object example, Type type) NamedArgumentFinderFactory.Pojo.prepareFor(ConfigRegistry config, Function<QualifiedType<?>, Function<Object, Argument>> argumentFactoryLookup, String prefix, Object example, Type type) NamedArgumentFinderFactory.prepareFor(ConfigRegistry config, Function<QualifiedType<?>, Function<Object, Argument>> argumentFactoryLookup, String prefix, Object example, Type type) NamedArgumentFinderFactory.ReflectionBase.prepareFor(ConfigRegistry config, Function<QualifiedType<?>, Function<Object, Argument>> argumentFactoryLookup, String prefix, Object example, Type type) Method parameters in org.jdbi.v3.core.argument.internal with type arguments of type ArgumentModifier and TypeMethodDescriptionNamedArgumentFinderFactory.Pojo.forPojoProps(Function<QualifiedType<?>, Function<Object, Argument>> argumentFactoryLookup, PojoPropertyArguments ppa) NamedArgumentFinderFactory.Bean.prepareFor(ConfigRegistry config, Function<QualifiedType<?>, Function<Object, Argument>> argumentFactoryLookup, String prefix, Object example, Type type) NamedArgumentFinderFactory.Pojo.prepareFor(ConfigRegistry config, Function<QualifiedType<?>, Function<Object, Argument>> argumentFactoryLookup, String prefix, Object example, Type type) NamedArgumentFinderFactory.prepareFor(ConfigRegistry config, Function<QualifiedType<?>, Function<Object, Argument>> argumentFactoryLookup, String prefix, Object example, Type type) NamedArgumentFinderFactory.ReflectionBase.prepareFor(ConfigRegistry config, Function<QualifiedType<?>, Function<Object, Argument>> argumentFactoryLookup, String prefix, Object example, Type type) -
Uses of Argument in org.jdbi.v3.core.argument.internal.strategies
Classes in org.jdbi.v3.core.argument.internal.strategies that implement ArgumentMethods in org.jdbi.v3.core.argument.internal.strategies that return ArgumentModifier and TypeMethodDescriptionstatic ArgumentLoggableBinderArgument.bindAsString(Object obj) -
Uses of Argument in org.jdbi.v3.core.array
Classes in org.jdbi.v3.core.array that implement ArgumentMethods in org.jdbi.v3.core.array that return ArgumentModifier and TypeMethodDescriptionprivate ArgumentSqlArrayArgumentFactory.arrayArgument(Object value, SqlArrayType<?> arrayType) 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
Classes in org.jdbi.v3.core.statement that implement ArgumentModifier and TypeClassDescriptionprivate class(package private) classFields in org.jdbi.v3.core.statement declared as ArgumentModifier and TypeFieldDescriptionprivate final ArgumentDescribedArgument.argprivate final ArgumentArgumentBinder.nullArgumentFields in org.jdbi.v3.core.statement with type parameters of type ArgumentModifier and TypeFieldDescription(package private) final Map<QualifiedType<?>,Function<Object, Argument>> ArgumentBinder.argumentFactoryByType(package private) final Map<NamedArgumentFinderFactory.PrepareKey,Function<String, Optional<Function<Object, Argument>>>> PreparedBatch.preparedFindersMethods in org.jdbi.v3.core.statement that return ArgumentModifier and TypeMethodDescription(package private) ArgumentArgumentBinder.toArgument(Object found) Deprecated.prepare the argument by type insteadstatic ArgumentDescribedArgument.wrap(StatementContext ctx, Argument arg, Object value) Methods in org.jdbi.v3.core.statement that return types with arguments of type ArgumentModifier and TypeMethodDescriptionArgumentBinder.argumentFactoryForType(QualifiedType<?> type) PreparedBatch.buildArgument(QualifiedType<?> type) StatementContext.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 TypeMethodDescriptionvoidBind a named parameter for the given name.voidBinding.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.(package private) voidstatic ArgumentDescribedArgument.wrap(StatementContext ctx, Argument arg, Object value) Constructors in org.jdbi.v3.core.statement with parameters of type Argument -
Uses of Argument in org.jdbi.v3.guava
Methods in org.jdbi.v3.guava that return types with arguments of type Argument -
Uses of Argument in org.jdbi.v3.jodatime2
Methods in org.jdbi.v3.jodatime2 that return ArgumentModifier and TypeMethodDescriptionprotected ArgumentDateTimeArgumentFactory.build(org.joda.time.DateTime value, ConfigRegistry config) -
Uses of Argument in org.jdbi.v3.json.internal
Methods in org.jdbi.v3.json.internal that return types with arguments of type Argument -
Uses of Argument in org.jdbi.v3.postgis
Methods in org.jdbi.v3.postgis that return types with arguments of type Argument -
Uses of Argument in org.jdbi.v3.postgres
Classes in org.jdbi.v3.postgres that implement ArgumentModifier and TypeClassDescription(package private) static classMethods in org.jdbi.v3.postgres that return ArgumentModifier and TypeMethodDescriptionprotected ArgumentBlobInputStreamArgumentFactory.build(InputStream value, ConfigRegistry config) protected ArgumentClobReaderArgumentFactory.build(Reader value, ConfigRegistry config) DurationArgumentFactory.build(Duration duration, ConfigRegistry config) protected ArgumentHStoreArgumentFactory.build(Map value, ConfigRegistry config) protected ArgumentInetArgumentFactory.build(InetAddress value, ConfigRegistry config) protected ArgumentJsonArgumentFactory.build(String value, ConfigRegistry config) protected ArgumentMacAddrArgumentFactory.build(String value, ConfigRegistry config) PeriodArgumentFactory.build(Period period, ConfigRegistry config) protected ArgumentPGobjectArgumentFactory.build(org.postgresql.util.PGobject value, ConfigRegistry config) protected ArgumentTypedEnumArgumentFactory.build(Enum value, ConfigRegistry config) -
Uses of Argument in org.jdbi.v3.postgres.internal
Classes in org.jdbi.v3.postgres.internal that implement ArgumentMethods in org.jdbi.v3.postgres.internal that return types with arguments of type Argument -
Uses of Argument in org.jdbi.v3.sqlite3
Methods in org.jdbi.v3.sqlite3 that return ArgumentModifier and TypeMethodDescriptionprotected ArgumentURLArgumentFactory.build(URL url, ConfigRegistry config) -
Uses of Argument in org.jdbi.v3.vavr
Methods in org.jdbi.v3.vavr that return types with arguments of type ArgumentModifier and TypeMethodDescriptionVavrValueArgumentFactory.build(Type type, Object value, ConfigRegistry config) VavrValueArgumentFactory.buildValueArgument(Type type, ConfigRegistry config, io.vavr.Value<?> value)