Uses of Interface
org.jdbi.v3.core.argument.Argument
-
Packages that use Argument Package Description org.jdbi.v3.core.argument Theargumentclasses translate Java types into JDBC parameters.org.jdbi.v3.core.argument.internal org.jdbi.v3.core.argument.internal.strategies org.jdbi.v3.core.array Thearraypackage binds Java arrays and collections to SQL arrays, and handles mapping array result types back to Java arrays and collections.org.jdbi.v3.core.codec org.jdbi.v3.core.statement Thestatementpackage provides most of the Fluent API to drive statement execution.org.jdbi.v3.guava guavaprovides extra types that are commonly needed beyond built in JDK types.org.jdbi.v3.jodatime2 joda-timeprovides improved date and time types to pre-Java 8 applications.org.jdbi.v3.json.internal org.jdbi.v3.postgis org.jdbi.v3.postgres Thepostgresplugin provides improved support forjava.time,hstore,uuid, andenumtypes when configured with a recent Postgres database server.org.jdbi.v3.postgres.internal org.jdbi.v3.sqlite3 Thesqliteplugin provides improved support forjava.net.URL.org.jdbi.v3.vavr vavris 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 Argument Modifier and Type Class Description classCharacterStreamArgumentBind aReaderas a character stream parameter.classInputStreamArgumentBind an input stream as either an ASCII (discouraged) or binary stream.classNullArgumentA typed SQL null argument.classObjectArgumentAn Argument which usessetObjectto support vendor specific types.Fields in org.jdbi.v3.core.argument declared as Argument Modifier and Type Field Description private ArgumentArguments. untypedNullArgumentFields in org.jdbi.v3.core.argument with type parameters of type Argument Modifier and Type Field Description private java.util.IdentityHashMap<java.lang.Class<?>,java.util.function.Function<java.lang.Object,Argument>>DelegatingArgumentFactory. buildersprivate java.util.Map<QualifiedType<?>,java.util.function.Function<java.lang.Object,Argument>>Arguments. preparedFactoriesMethods in org.jdbi.v3.core.argument that return Argument Modifier and Type Method Description protected abstract ArgumentAbstractArgumentFactory. build(T value, ConfigRegistry config)Produce an argument object for the given value.protected ArgumentCharSequenceArgumentFactory. build(java.lang.CharSequence value, ConfigRegistry config)protected ArgumentJavaTimeZoneIdArgumentFactory. build(java.time.ZoneId value, ConfigRegistry config)protected ArgumentNVarcharArgumentFactory. build(java.lang.String value, ConfigRegistry config)ArgumentArguments. getUntypedNullArgument()Returns the untyped null argument.private ArgumentAbstractArgumentFactory. innerBuild(java.lang.reflect.Type type, java.lang.Object value, ConfigRegistry config)static ArgumentObjectArgument. of(java.lang.Object value)Bind a vendor-supported object with the given SQL type.static ArgumentObjectArgument. of(java.lang.Object value, java.lang.Integer sqlType)Bind a vendor-supported object with the given SQL type.Methods in org.jdbi.v3.core.argument that return types with arguments of type Argument Modifier and Type Method Description java.util.Optional<Argument>AbstractArgumentFactory. build(java.lang.reflect.Type type, java.lang.Object value, ConfigRegistry config)java.util.Optional<Argument>ArgumentFactory. build(java.lang.reflect.Type type, java.lang.Object value, ConfigRegistry config)Returns anArgumentfor the given value if the factory supports it; empty otherwise.default java.util.Optional<Argument>ArgumentFactory.Preparable. build(java.lang.reflect.Type type, java.lang.Object value, ConfigRegistry config)java.util.Optional<Argument>BuiltInArgumentFactory. build(java.lang.reflect.Type expectedType, java.lang.Object value, ConfigRegistry config)Deprecated.java.util.Optional<Argument>BuiltInArgumentFactory.LegacyEnumByNameArgumentFactory. build(java.lang.reflect.Type expectedType, java.lang.Object rawValue, ConfigRegistry config)java.util.Optional<Argument>DelegatingArgumentFactory. build(java.lang.reflect.Type expectedType, java.lang.Object value, ConfigRegistry config)java.util.Optional<Argument>DirectArgumentFactory. build(java.lang.reflect.Type expectedType, java.lang.Object value, ConfigRegistry config)java.util.Optional<Argument>EnumArgumentFactory. build(QualifiedType<?> givenType, java.lang.Object value, ConfigRegistry config)java.util.Optional<Argument>ObjectArgumentFactory. build(java.lang.reflect.Type expectedType, java.lang.Object value, ConfigRegistry config)java.util.Optional<Argument>OptionalArgumentFactory. build(java.lang.reflect.Type expectedType, java.lang.Object value, ConfigRegistry config)java.util.Optional<Argument>PrimitivesArgumentFactory. build(java.lang.reflect.Type expectedType, java.lang.Object value, ConfigRegistry config)java.util.Optional<Argument>QualifiedArgumentFactory. build(QualifiedType<?> type, java.lang.Object value, ConfigRegistry config)Returns anArgumentfor the given value if the factory supports it; empty otherwise.java.util.Optional<Argument>UntypedNullArgumentFactory. build(java.lang.reflect.Type expectedType, java.lang.Object value, ConfigRegistry config)private static <E extends java.lang.Enum<E>>
java.util.Optional<Argument>EnumArgumentFactory. byName(E value, ConfigRegistry config)private static <E extends java.lang.Enum<E>>
java.util.Optional<Argument>EnumArgumentFactory. byOrdinal(E value, ConfigRegistry config)java.util.Optional<Argument>MapArguments. find(java.lang.String name, StatementContext ctx)Deprecated.java.util.Optional<Argument>NamedArgumentFinder. find(java.lang.String name, StatementContext ctx)java.util.Optional<Argument>Arguments. findFor(java.lang.reflect.Type type, java.lang.Object value)Obtain an argument for given value in the given contextjava.util.Optional<Argument>Arguments. findFor(QualifiedType<?> type, java.lang.Object value)Obtain an argument for given value in the given context.private static <A,E extends java.lang.Enum<E>>
java.util.Optional<Argument>EnumArgumentFactory. makeArgument(int nullType, java.lang.Class<A> attributeType, E value, java.util.function.Function<E,A> transform, ConfigRegistry config)private static <E extends java.lang.Enum<E>>
java.util.Optional<Argument>EnumArgumentFactory. makeEnumArgument(QualifiedType<E> givenType, E value, ConfigRegistry config)java.util.Optional<java.util.function.Function<java.lang.Object,Argument>>AbstractArgumentFactory. prepare(java.lang.reflect.Type type, ConfigRegistry config)java.util.Optional<java.util.function.Function<java.lang.Object,Argument>>ArgumentFactory.Preparable. prepare(java.lang.reflect.Type type, ConfigRegistry config)java.util.Optional<java.util.function.Function<java.lang.Object,Argument>>BuiltInArgumentFactory.LegacyEnumByNameArgumentFactory. prepare(java.lang.reflect.Type type, ConfigRegistry config)java.util.Optional<java.util.function.Function<java.lang.Object,Argument>>BuiltInArgumentFactory. prepare(java.lang.reflect.Type type, ConfigRegistry config)Deprecated.java.util.Optional<java.util.function.Function<java.lang.Object,Argument>>DelegatingArgumentFactory. prepare(java.lang.reflect.Type type, ConfigRegistry config)java.util.Optional<java.util.function.Function<java.lang.Object,Argument>>ObjectArgumentFactory. prepare(java.lang.reflect.Type expectedType, ConfigRegistry config)java.util.Optional<java.util.function.Function<java.lang.Object,Argument>>OptionalArgumentFactory. prepare(java.lang.reflect.Type type, ConfigRegistry config)java.util.Optional<java.util.function.Function<java.lang.Object,Argument>>PrimitivesArgumentFactory. prepare(java.lang.reflect.Type type, ConfigRegistry config)java.util.Optional<java.util.function.Function<java.lang.Object,Argument>>QualifiedArgumentFactory.Preparable. prepare(QualifiedType<?> type, ConfigRegistry config)java.util.Optional<java.util.function.Function<java.lang.Object,Argument>>SetObjectArgumentFactory. prepare(java.lang.reflect.Type type, ConfigRegistry config)java.util.Optional<java.util.function.Function<java.lang.Object,Argument>>UntypedNullArgumentFactory. prepare(java.lang.reflect.Type type, ConfigRegistry config)java.util.Optional<java.util.function.Function<java.lang.Object,Argument>>Arguments. prepareFor(java.lang.reflect.Type type)Obtain a prepared argument function for given type in the given context.java.util.Optional<java.util.function.Function<java.lang.Object,Argument>>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 Argument Modifier and Type Method Description voidArguments. 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 Argument Modifier and Type Method Description java.util.Optional<Argument>ObjectPropertyNamedArgumentFinder. find(java.lang.String name, StatementContext ctx)(package private) java.util.function.Function<java.lang.String,java.util.Optional<java.util.function.Function<java.lang.Object,Argument>>>NamedArgumentFinderFactory.Pojo. forPojoProps(java.util.function.Function<QualifiedType<?>,java.util.function.Function<java.lang.Object,Argument>> argumentFactoryLookup, PojoPropertyArguments ppa)java.util.function.Function<java.lang.String,java.util.Optional<java.util.function.Function<java.lang.Object,Argument>>>NamedArgumentFinderFactory.Bean. prepareFor(ConfigRegistry config, java.util.function.Function<QualifiedType<?>,java.util.function.Function<java.lang.Object,Argument>> argumentFactoryLookup, java.lang.String prefix, java.lang.Object example, java.lang.reflect.Type type)java.util.function.Function<java.lang.String,java.util.Optional<java.util.function.Function<java.lang.Object,Argument>>>NamedArgumentFinderFactory.Pojo. prepareFor(ConfigRegistry config, java.util.function.Function<QualifiedType<?>,java.util.function.Function<java.lang.Object,Argument>> argumentFactoryLookup, java.lang.String prefix, java.lang.Object example, java.lang.reflect.Type type)java.util.function.Function<java.lang.String,java.util.Optional<java.util.function.Function<java.lang.Object,Argument>>>NamedArgumentFinderFactory. prepareFor(ConfigRegistry config, java.util.function.Function<QualifiedType<?>,java.util.function.Function<java.lang.Object,Argument>> argumentFactoryLookup, java.lang.String prefix, java.lang.Object example, java.lang.reflect.Type type)java.util.function.Function<java.lang.String,java.util.Optional<java.util.function.Function<java.lang.Object,Argument>>>NamedArgumentFinderFactory.ReflectionBase. prepareFor(ConfigRegistry config, java.util.function.Function<QualifiedType<?>,java.util.function.Function<java.lang.Object,Argument>> argumentFactoryLookup, java.lang.String prefix, java.lang.Object example, java.lang.reflect.Type type)Method parameters in org.jdbi.v3.core.argument.internal with type arguments of type Argument Modifier and Type Method Description (package private) java.util.function.Function<java.lang.String,java.util.Optional<java.util.function.Function<java.lang.Object,Argument>>>NamedArgumentFinderFactory.Pojo. forPojoProps(java.util.function.Function<QualifiedType<?>,java.util.function.Function<java.lang.Object,Argument>> argumentFactoryLookup, PojoPropertyArguments ppa)java.util.function.Function<java.lang.String,java.util.Optional<java.util.function.Function<java.lang.Object,Argument>>>NamedArgumentFinderFactory.Bean. prepareFor(ConfigRegistry config, java.util.function.Function<QualifiedType<?>,java.util.function.Function<java.lang.Object,Argument>> argumentFactoryLookup, java.lang.String prefix, java.lang.Object example, java.lang.reflect.Type type)java.util.function.Function<java.lang.String,java.util.Optional<java.util.function.Function<java.lang.Object,Argument>>>NamedArgumentFinderFactory.Pojo. prepareFor(ConfigRegistry config, java.util.function.Function<QualifiedType<?>,java.util.function.Function<java.lang.Object,Argument>> argumentFactoryLookup, java.lang.String prefix, java.lang.Object example, java.lang.reflect.Type type)java.util.function.Function<java.lang.String,java.util.Optional<java.util.function.Function<java.lang.Object,Argument>>>NamedArgumentFinderFactory. prepareFor(ConfigRegistry config, java.util.function.Function<QualifiedType<?>,java.util.function.Function<java.lang.Object,Argument>> argumentFactoryLookup, java.lang.String prefix, java.lang.Object example, java.lang.reflect.Type type)java.util.function.Function<java.lang.String,java.util.Optional<java.util.function.Function<java.lang.Object,Argument>>>NamedArgumentFinderFactory.ReflectionBase. prepareFor(ConfigRegistry config, java.util.function.Function<QualifiedType<?>,java.util.function.Function<java.lang.Object,Argument>> argumentFactoryLookup, java.lang.String prefix, java.lang.Object example, java.lang.reflect.Type type) -
Uses of Argument in org.jdbi.v3.core.argument.internal.strategies
Classes in org.jdbi.v3.core.argument.internal.strategies that implement Argument Modifier and Type Class Description classLoggableBinderArgument<T>Methods in org.jdbi.v3.core.argument.internal.strategies that return Argument Modifier and Type Method Description static ArgumentLoggableBinderArgument. bindAsString(java.lang.Object obj) -
Uses of Argument in org.jdbi.v3.core.array
Classes in org.jdbi.v3.core.array that implement Argument Modifier and Type Class Description (package private) classSqlArrayArgument<T>Methods in org.jdbi.v3.core.array that return Argument Modifier and Type Method Description private ArgumentSqlArrayArgumentFactory. arrayArgument(java.lang.Object value, SqlArrayType<?> arrayType)Methods in org.jdbi.v3.core.array that return types with arguments of type Argument Modifier and Type Method Description java.util.Optional<java.util.function.Function<java.lang.Object,Argument>>SqlArrayArgumentFactory. prepare(java.lang.reflect.Type type, ConfigRegistry config) -
Uses of Argument in org.jdbi.v3.core.codec
Methods in org.jdbi.v3.core.codec that return types with arguments of type Argument Modifier and Type Method Description java.util.Optional<Argument>CodecFactory. build(QualifiedType<?> type, java.lang.Object value, ConfigRegistry config)default java.util.function.Function<T,Argument>Codec. getArgumentFunction()Returns aFunctionthat creates anArgumentto map an attribute value onto the database column.default java.util.function.Function<T,Argument>Codec. getArgumentFunction(ConfigRegistry configRegistry)Returns aFunctionthat creates anArgumentto map an attribute value onto the database column.java.util.Optional<java.util.function.Function<java.lang.Object,Argument>>CodecFactory. prepare(QualifiedType<?> type, ConfigRegistry config) -
Uses of Argument in org.jdbi.v3.core.statement
Classes in org.jdbi.v3.core.statement that implement Argument Modifier and Type Class Description private classCall.OutParamArgument(package private) classDescribedArgumentFields in org.jdbi.v3.core.statement declared as Argument Modifier and Type Field Description private ArgumentDescribedArgument. argprivate ArgumentArgumentBinder. nullArgumentFields in org.jdbi.v3.core.statement with type parameters of type Argument Modifier and Type Field Description (package private) java.util.Map<QualifiedType<?>,java.util.function.Function<java.lang.Object,Argument>>ArgumentBinder. argumentFactoryByType(package private) java.util.Map<NamedArgumentFinderFactory.PrepareKey,java.util.function.Function<java.lang.String,java.util.Optional<java.util.function.Function<java.lang.Object,Argument>>>>PreparedBatch. preparedFindersMethods in org.jdbi.v3.core.statement that return Argument Modifier and Type Method Description (package private) ArgumentArgumentBinder. toArgument(java.lang.Object found)Deprecated.prepare the argument by type insteadstatic ArgumentDescribedArgument. wrap(StatementContext ctx, Argument arg, java.lang.Object value)Methods in org.jdbi.v3.core.statement that return types with arguments of type Argument Modifier and Type Method Description (package private) java.util.function.Function<java.lang.Object,Argument>ArgumentBinder. argumentFactoryForType(QualifiedType<?> type)(package private) java.util.function.Function<java.lang.Object,Argument>PreparedBatch. buildArgument(QualifiedType<?> type)java.util.Optional<Argument>StatementContext. findArgumentFor(java.lang.reflect.Type type, java.lang.Object value)Obtain an argument for given value in this contextjava.util.Optional<Argument>StatementContext. findArgumentFor(QualifiedType<?> type, java.lang.Object value)Obtain an argument for given value in this contextjava.util.Optional<Argument>Binding. findForName(java.lang.String name, StatementContext ctx2)Deprecated.don't inspect a Binding: keep your own state!java.util.Optional<Argument>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 Argument Modifier and Type Method Description voidBinding. addNamed(java.lang.String name, Argument argument)Bind a named parameter for the given name.voidBinding. addPositional(int position, Argument argument)Bind a positional parameter at the given index (0-based).ThisSqlStatement. bind(int position, Argument argument)Used if you need to have some exotic parameter bound.ThisSqlStatement. bind(java.lang.String name, Argument argument)Used if you need to have some exotic parameter bound.(package private) voidDefineNamedBindingsStatementCustomizer.SetNullHandler. define(java.lang.String name, Argument arg)static ArgumentDescribedArgument. wrap(StatementContext ctx, Argument arg, java.lang.Object value)Constructors in org.jdbi.v3.core.statement with parameters of type Argument Constructor Description DescribedArgument(Argument arg, java.lang.Object value) -
Uses of Argument in org.jdbi.v3.guava
Methods in org.jdbi.v3.guava that return types with arguments of type Argument Modifier and Type Method Description java.util.Optional<Argument>GuavaArguments.Factory. build(java.lang.reflect.Type expectedType, java.lang.Object value, ConfigRegistry config) -
Uses of Argument in org.jdbi.v3.jodatime2
Methods in org.jdbi.v3.jodatime2 that return Argument Modifier and Type Method Description protected 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 Modifier and Type Method Description java.util.Optional<Argument>JsonArgumentFactory. build(java.lang.reflect.Type type, java.lang.Object value, ConfigRegistry config) -
Uses of Argument in org.jdbi.v3.postgis
Methods in org.jdbi.v3.postgis that return types with arguments of type Argument Modifier and Type Method Description java.util.function.Function<org.locationtech.jts.geom.Geometry,Argument>PostgisCodec. getArgumentFunction() -
Uses of Argument in org.jdbi.v3.postgres
Classes in org.jdbi.v3.postgres that implement Argument Modifier and Type Class Description (package private) static classBlobInputStreamArgumentFactory.LobInputStreamArgumentMethods in org.jdbi.v3.postgres that return Argument Modifier and Type Method Description protected ArgumentBlobInputStreamArgumentFactory. build(java.io.InputStream value, ConfigRegistry config)protected ArgumentClobReaderArgumentFactory. build(java.io.Reader value, ConfigRegistry config)ArgumentDurationArgumentFactory. build(java.time.Duration duration, ConfigRegistry config)protected ArgumentHStoreArgumentFactory. build(java.util.Map value, ConfigRegistry config)protected ArgumentInetArgumentFactory. build(java.net.InetAddress value, ConfigRegistry config)protected ArgumentJsonArgumentFactory. build(java.lang.String value, ConfigRegistry config)protected ArgumentMacAddrArgumentFactory. build(java.lang.String value, ConfigRegistry config)ArgumentPeriodArgumentFactory. build(java.time.Period period, ConfigRegistry config)protected ArgumentPGobjectArgumentFactory. build(org.postgresql.util.PGobject value, ConfigRegistry config)protected ArgumentTypedEnumArgumentFactory. build(java.lang.Enum value, ConfigRegistry config) -
Uses of Argument in org.jdbi.v3.postgres.internal
Classes in org.jdbi.v3.postgres.internal that implement Argument Modifier and Type Class Description classBitStringEnumSetArgument<E extends java.lang.Enum<E>>Methods in org.jdbi.v3.postgres.internal that return types with arguments of type Argument Modifier and Type Method Description private static <E extends java.lang.Enum<E>>
java.util.function.Function<java.lang.Object,Argument>BitStringEnumSetArgumentFactory. buildGeneric(java.lang.reflect.Type type)java.util.Optional<java.util.function.Function<java.lang.Object,Argument>>BitStringEnumSetArgumentFactory. prepare(java.lang.reflect.Type type, ConfigRegistry config) -
Uses of Argument in org.jdbi.v3.sqlite3
Methods in org.jdbi.v3.sqlite3 that return Argument Modifier and Type Method Description protected ArgumentURLArgumentFactory. build(java.net.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 Argument Modifier and Type Method Description java.util.Optional<Argument>VavrValueArgumentFactory. build(java.lang.reflect.Type type, java.lang.Object value, ConfigRegistry config)private static java.util.Optional<Argument>VavrValueArgumentFactory. buildValueArgument(java.lang.reflect.Type type, ConfigRegistry config, io.vavr.Value<?> value)
-