Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractArgumentFactory<T> - Class in org.jdbi.v3.core.argument
-
An
ArgumentFactorybase class for arguments of typeT. - AbstractJdbiExecutor - Class in org.jdbi.v3.core.async
- AbstractJdbiExecutor() - Constructor for class org.jdbi.v3.core.async.AbstractJdbiExecutor
- AbstractSeparatorCharColumnNameMatcher - Class in org.jdbi.v3.core.mapper.reflect
- accepts(Class<?>) - Method in interface org.jdbi.v3.core.extension.ExtensionFactory
-
Returns true if the factory can process the given extension type.
- accepts(Class<?>, Method) - Method in interface org.jdbi.v3.core.extension.ExtensionHandlerFactory
-
Determines whether the factory can create an
ExtensionHandlerfor combination of extension type and method. - accepts(Type) - Method in class org.jdbi.v3.core.collector.BuiltInCollectorFactory
-
Deprecated.
- accepts(Type) - Method in interface org.jdbi.v3.core.collector.CollectorFactory
-
Accept a
Typeas a collector. - AccessibleObjectStrategy - Enum in org.jdbi.v3.core.mapper.reflect
- accumulate(C, RowView) - Method in interface org.jdbi.v3.core.result.RowReducer
-
Accumulate data from the current row into the result container.
- adapt(ConfigRegistry, ArgumentFactory) - Static method in interface org.jdbi.v3.core.argument.QualifiedArgumentFactory
-
Adapts an
ArgumentFactoryinto a QualifiedArgumentFactory. - adapt(ConfigRegistry, ArgumentFactory.Preparable) - Static method in interface org.jdbi.v3.core.argument.QualifiedArgumentFactory
-
Adapts an
ArgumentFactory.Preparableinto a QualifiedArgumentFactory.Preparable. - adapt(ConfigRegistry, ArgumentFactory.Preparable) - Static method in interface org.jdbi.v3.core.argument.QualifiedArgumentFactory.Preparable
-
Adapts an
ArgumentFactory.Preparableinto a QualifiedArgumentFactory.Preparable The returned factory only matches qualified types with zero qualifiers. - adapt(ColumnMapperFactory) - Static method in interface org.jdbi.v3.core.mapper.QualifiedColumnMapperFactory
-
Adapts a
ColumnMapperFactoryinto a QualifiedColumnMapperFactory. - add() - Method in class org.jdbi.v3.core.statement.PreparedBatch
-
Add the current binding as a saved batch and clear the binding.
- add(Object...) - Method in class org.jdbi.v3.core.statement.PreparedBatch
-
Bind arguments positionally, add the binding as a saved batch, and then clear the current binding.
- add(String) - Method in class org.jdbi.v3.core.statement.Batch
-
Add a statement to the batch
- add(Map<String, ?>) - Method in class org.jdbi.v3.core.statement.PreparedBatch
-
Bind arguments from a Map, add the binding as a saved batch, then clear the current binding.
- addCleanable(Cleanable) - Method in class org.jdbi.v3.core.Handle
-
Registers a
Cleanableto be invoked when the handle is closed. - addCleanable(Cleanable) - Method in class org.jdbi.v3.core.statement.StatementContext
-
Registers a
Cleanableto be invoked when the statement context is closed. - addCodec(Type, Codec<?>) - Method in class org.jdbi.v3.core.codec.CodecFactory.Builder
-
Add a codec for a
Type. - addCodec(GenericType<?>, Codec<?>) - Method in class org.jdbi.v3.core.codec.CodecFactory.Builder
-
Add a codec for a
GenericType. - addCodec(QualifiedType<?>, Codec<?>) - Method in class org.jdbi.v3.core.codec.CodecFactory.Builder
-
Add a codec for a
QualifiedType. - addConfigCustomizerFactory(ConfigCustomizerFactory) - Method in class org.jdbi.v3.core.extension.ExtensionMetadata.Builder
-
Adds an
ConfigCustomizerFactorythat will be used to find configuration customizers when theExtensionMetadata.Builder.build()} method is called. - addContextListener(StatementContextListener) - Method in class org.jdbi.v3.core.statement.SqlStatements
- addCustomizer(StatementCustomizer) - Method in interface org.jdbi.v3.core.config.Configurable
- addCustomizer(StatementCustomizer) - Method in class org.jdbi.v3.core.statement.SqlStatements
-
Provides a means for custom statement modification.
- addExtensionHandlerCustomizer(ExtensionHandlerCustomizer) - Method in class org.jdbi.v3.core.extension.ExtensionMetadata.Builder
-
Adds an
ExtensionHandlerCustomizerthat will be used to customize extension handlers when theExtensionMetadata.Builder.build()} method is called. - addExtensionHandlerFactory(ExtensionHandlerFactory) - Method in class org.jdbi.v3.core.extension.ExtensionMetadata.Builder
-
Adds an
ExtensionHandlerFactorythat will be used to find extension handlers when theExtensionMetadata.Builder.build()} method is called. - addFirst(JdbiInterceptor<S, T>) - Method in class org.jdbi.v3.core.interceptor.JdbiInterceptionChainHolder
-
Registers a new interceptor at the beginning of the chain.
- addHandleListener(HandleListener) - Method in class org.jdbi.v3.core.Handle
-
Add a specific
HandleListenerwhich is called for specific events for this Handle. - addInstanceConfigCustomizer(ConfigCustomizer) - Method in class org.jdbi.v3.core.extension.ExtensionMetadata.Builder
-
Add an instance specific configuration customizer.
- addLast(JdbiInterceptor<S, T>) - Method in class org.jdbi.v3.core.interceptor.JdbiInterceptionChainHolder
-
Registers a new interceptor at the end of the chain.
- addListener(HandleListener) - Method in class org.jdbi.v3.core.Handles
-
Add a
HandleListenerwhich is called for specific events. - addMethodConfigCustomizer(Method, ConfigCustomizer) - Method in class org.jdbi.v3.core.extension.ExtensionMetadata.Builder
-
Add a method specific configuration customizer.
- addMethodHandler(Method, ExtensionHandler) - Method in class org.jdbi.v3.core.extension.ExtensionMetadata.Builder
-
Adds a new extension handler for a method.
- addNamed(String, Object) - Method in class org.jdbi.v3.core.statement.Binding
-
Bind a named parameter for the given name.
- addNamed(String, Object, QualifiedType<?>) - Method in class org.jdbi.v3.core.statement.Binding
-
Bind a named parameter for the given name.
- addNamed(String, Argument) - Method in class org.jdbi.v3.core.statement.Binding
-
Bind a named parameter for the given name.
- addNamedArgumentFinder(NamedArgumentFinder) - Method in class org.jdbi.v3.core.statement.Binding
-
Bind a named argument finder.
- addPositional(int, Object) - Method in class org.jdbi.v3.core.statement.Binding
-
Bind a positional parameter at the given index (0-based).
- addPositional(int, Object, QualifiedType<?>) - Method in class org.jdbi.v3.core.statement.Binding
-
Bind a positional parameter at the given index (0-based).
- addPositional(int, Argument) - Method in class org.jdbi.v3.core.statement.Binding
-
Bind a positional parameter at the given index (0-based).
- addPropertyNamePrefix(String, String) - Static method in class org.jdbi.v3.core.mapper.reflect.ReflectionMapperUtil
-
Add a prefix separated with '.' to a java bean property name.
- afterCommit(Runnable) - Method in class org.jdbi.v3.core.Handle
-
Execute an action the next time this Handle commits, unless it is rolled back first.
- afterExecution(PreparedStatement, StatementContext) - Method in interface org.jdbi.v3.core.statement.StatementCustomizer
-
This will be invoked after execution of the prepared statement, but before any results are accessed.
- afterRollback(Runnable) - Method in class org.jdbi.v3.core.Handle
-
Execute an action the next time this Handle rolls back, unless it is committed first.
- allowNoResults(boolean) - Method in class org.jdbi.v3.core.result.ResultProducers
-
Normally a query that doesn't return a result set throws an exception.
- Alpha - Annotation Type in org.jdbi.v3.meta
-
Signifies that a public API (public class, method or field) is subject to incompatible changes, or even removal, in a future release.
- anyColumnsStartWithPrefix(Collection<String>, String, List<ColumnNameMatcher>) - Static method in class org.jdbi.v3.core.mapper.reflect.ReflectionMapperUtil
-
Returns whether any of the given column names begin with the given prefix, according to the list of column name matchers.
- append(String) - Method in class org.jdbi.v3.core.statement.ParsedSql.Builder
-
Appends the given SQL fragment to the SQL string.
- appendNamedParameter(String) - Method in class org.jdbi.v3.core.statement.ParsedSql.Builder
-
Records a named parameter with the given name, and appends a
? - appendPositionalParameter() - Method in class org.jdbi.v3.core.statement.ParsedSql.Builder
-
Records a positional parameters, and appends a
? - apply(int, PreparedStatement, StatementContext) - Method in interface org.jdbi.v3.core.argument.Argument
-
Apply the argument to the given prepared statement.
- apply(int, PreparedStatement, StatementContext) - Method in class org.jdbi.v3.core.argument.CharacterStreamArgument
- apply(int, PreparedStatement, StatementContext) - Method in class org.jdbi.v3.core.argument.InputStreamArgument
- apply(int, PreparedStatement, StatementContext) - Method in class org.jdbi.v3.core.argument.NullArgument
- apply(int, PreparedStatement, StatementContext) - Method in class org.jdbi.v3.core.argument.ObjectArgument
- apply(StatementException) - Method in enum org.jdbi.v3.core.statement.StatementExceptions.MessageRendering
- apply(T, ResultSet, StatementContext) - Method in interface org.jdbi.v3.core.result.ResultSetAccumulator
-
Extract a single row from the result set, and combine it with the accumulator to produce a result.
- Argument - Interface in org.jdbi.v3.core.argument
-
Represents an argument to a prepared statement.
- ArgumentFactory - Interface in org.jdbi.v3.core.argument
-
Inspect a value with optional static type information and produce an
Argumentthat binds the value to a prepared statement. - ArgumentFactory.Preparable - Interface in org.jdbi.v3.core.argument
-
ArgumentFactory extension interface that allows preparing arguments for efficient batch binding.
- Arguments - Class in org.jdbi.v3.core.argument
-
A registry for ArgumentFactory instances.
- Arguments(ConfigRegistry) - Constructor for class org.jdbi.v3.core.argument.Arguments
- arrayType(Type) - Static method in class org.jdbi.v3.core.generic.GenericTypes
-
Returns the element type for an Array Type.
- asCallback() - Method in interface org.jdbi.v3.core.HandleConsumer
- attach(Class<E>, HandleSupplier) - Method in interface org.jdbi.v3.core.extension.ExtensionFactory
-
Attaches an extension type.
- attach(Class<T>) - Method in class org.jdbi.v3.core.Handle
-
Create a Jdbi extension object of the specified type bound to this handle.
- attachToHandleForCleanup() - Method in class org.jdbi.v3.core.statement.Batch
-
Registers with the handle for cleaning when the handle is closed.
- attachToHandleForCleanup() - Method in class org.jdbi.v3.core.statement.Call
-
Registers with the handle for cleaning when the handle is closed.
- attachToHandleForCleanup() - Method in class org.jdbi.v3.core.statement.MetaData
-
Registers with the handle for cleaning when the handle is closed.
- attachToHandleForCleanup() - Method in class org.jdbi.v3.core.statement.PreparedBatch
-
Registers with the handle for cleaning when the handle is closed.
- attachToHandleForCleanup() - Method in class org.jdbi.v3.core.statement.Query
-
Registers with the handle for cleaning when the handle is closed.
- attachToHandleForCleanup() - Method in class org.jdbi.v3.core.statement.Script
-
Registers with the handle for cleaning when the handle is closed.
- attachToHandleForCleanup() - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Registers with the handle for cleaning when the handle is closed.
- attachToHandleForCleanup() - Method in class org.jdbi.v3.core.statement.Update
-
Registers with the handle for cleaning when the handle is closed.
B
- Batch - Class in org.jdbi.v3.core.statement
-
Represents a group of non-prepared statements to be sent to the RDMBS in one "request".
- Batch(Handle) - Constructor for class org.jdbi.v3.core.statement.Batch
- BatchResultBearing - Class in org.jdbi.v3.core.result
-
Extends the
ResultBearingclass to provide access to the per-batch row modification counts. - BatchResultBearing(ResultBearing, Supplier<int[]>) - Constructor for class org.jdbi.v3.core.result.BatchResultBearing
- BatchResultIterable<T> - Interface in org.jdbi.v3.core.result
-
Extend the
ResultIterablefor batch operations. - BeanMapper<T> - Class in org.jdbi.v3.core.mapper.reflect
-
A row mapper which maps the columns in a statement into a JavaBean.
- BeanPropertyArguments - Class in org.jdbi.v3.core.argument
-
Deprecated.this should never have been public API
- BeanPropertyArguments(String, Object) - Constructor for class org.jdbi.v3.core.argument.BeanPropertyArguments
-
Deprecated.
- BeanPropertyArguments(String, Object, ConfigRegistry) - Constructor for class org.jdbi.v3.core.argument.BeanPropertyArguments
-
Deprecated.
- beforeBinding(PreparedStatement, StatementContext) - Method in interface org.jdbi.v3.core.statement.StatementCustomizer
-
Invoked prior to applying bound parameters to the
PreparedStatement. - beforeExecution(PreparedStatement, StatementContext) - Method in interface org.jdbi.v3.core.statement.StatementCustomizer
-
Make the changes you need to inside this method.
- beforeTemplating(PreparedStatement, StatementContext) - Method in interface org.jdbi.v3.core.statement.StatementCustomizer
-
Invoked prior to using the TemplateEngine to render sql from definitions.
- begin() - Method in class org.jdbi.v3.core.Handle
-
Start a transaction.
- begin(Handle) - Method in class org.jdbi.v3.core.transaction.CMTTransactionHandler
-
Called when a transaction is started
- begin(Handle) - Method in class org.jdbi.v3.core.transaction.DelegatingTransactionHandler
- begin(Handle) - Method in class org.jdbi.v3.core.transaction.LocalTransactionHandler
- begin(Handle) - Method in interface org.jdbi.v3.core.transaction.TransactionHandler
-
Begin a transaction.
- Beta - Annotation Type in org.jdbi.v3.meta
-
Signifies that a public API (public class, method or field) is subject to incompatible changes, or even removal, in a future release.
- bind() - Element in annotation type org.jdbi.v3.core.annotation.JdbiProperty
-
Returns true if the property is bound as an argument.
- bind(int, boolean) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument positionally
- bind(int, byte) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument positionally
- bind(int, byte[]) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument positionally
- bind(int, char) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument positionally
- bind(int, double) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument positionally
- bind(int, float) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument positionally
- bind(int, int) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument positionally
- bind(int, long) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument positionally
- bind(int, short) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument positionally
- bind(int, Reader, int) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument positionally
- bind(int, Boolean) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument positionally
- bind(int, Byte) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument positionally
- bind(int, Character) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument positionally
- bind(int, Double) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument positionally
- bind(int, Float) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument positionally
- bind(int, Integer) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument positionally
- bind(int, Long) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument positionally
- bind(int, Object) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument positionally
- bind(int, Short) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument positionally
- bind(int, String) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument positionally
- bind(int, BigDecimal) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument positionally
- bind(int, URI) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument positionally
- bind(int, URL) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument positionally
- bind(int, Blob) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument positionally
- bind(int, Clob) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument positionally
- bind(int, Date) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument positionally
- bind(int, Time) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument positionally
- bind(int, Timestamp) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument positionally
- bind(int, Date) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument positionally
- bind(int, UUID) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument positionally
- bind(int, Argument) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Used if you need to have some exotic parameter bound.
- bind(String, boolean) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument by name
- bind(String, byte) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument by name
- bind(String, byte[]) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument by name
- bind(String, char) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument by name
- bind(String, double) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument by name
- bind(String, float) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument by name
- bind(String, int) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument by name
- bind(String, long) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument by name
- bind(String, short) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument by name
- bind(String, Reader, int) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument by name
- bind(String, Boolean) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument by name
- bind(String, Byte) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument by name
- bind(String, Character) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument by name
- bind(String, Double) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument by name
- bind(String, Float) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument by name
- bind(String, Integer) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument by name
- bind(String, Long) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument by name
- bind(String, Object) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument by name
- bind(String, Short) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument by name
- bind(String, String) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument by name
- bind(String, BigDecimal) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument by name
- bind(String, URI) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument by name
- bind(String, URL) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument by name
- bind(String, Blob) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument by name
- bind(String, Clob) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument by name
- bind(String, Date) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument by name
- bind(String, Time) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument by name
- bind(String, Timestamp) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument by name
- bind(String, Date) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument by name
- bind(String, UUID) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument by name
- bind(String, Argument) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Used if you need to have some exotic parameter bound.
- bindArray(int, Type, Iterable<?>) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an Iterable as a SQL array.
- bindArray(int, Type, Object...) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind a Java array as a SQL array, casting each element to a new type.
- bindArray(int, Type, Iterator<?>) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an Iterator as a SQL array.
- bindArray(int, T...) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind a Java array as a SQL array.
- bindArray(String, Type, Iterable<?>) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an Iterable as a SQL array.
- bindArray(String, Type, Object...) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind a Java array as a SQL array, casting each element to a new type.
- bindArray(String, Type, Iterator<?>) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an Iterator as a SQL array.
- bindArray(String, T...) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind a Java array as a SQL array.
- bindASCIIStream(int, InputStream, int) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument positionally
- bindASCIIStream(String, InputStream, int) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument by name
- bindBean(Object) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Binds named parameters from JavaBean properties on the argument.
- bindBean(String, Object) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Binds named parameters from JavaBean properties on the bean argument, with the given prefix.
- bindBeanList(String, List<?>, List<String>) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind a parameter for each value in the given list * number of property names, and defines an attribute as the comma-separated list of parameter references (using colon prefix).
- bindBinaryStream(int, InputStream, int) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument positionally
- bindBinaryStream(String, InputStream, int) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument by name
- bindBySqlType(int, Object, int) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind a value using a specific type from
java.sql.Typesvia PreparedStatement#setObject(int, Object, int) - bindBySqlType(String, Object, int) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind a value using a specific type from
java.sql.Typesvia PreparedStatement#setObject(int, Object, int) - bindByType(int, Object, Type) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument dynamically by the type passed in.
- bindByType(int, Object, GenericType<?>) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument dynamically by the generic type passed in.
- bindByType(int, Object, QualifiedType<?>) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument dynamically by the qualified type passed in.
- bindByType(String, Object, Type) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument dynamically by the type passed in.
- bindByType(String, Object, GenericType<?>) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument dynamically by the generic type passed in.
- bindByType(String, Object, QualifiedType<?>) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument dynamically by the type passed in.
- bindFields(Object) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Binds public fields of the specified object as arguments for the query.
- bindFields(String, Object) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Binds public fields of the specified object as arguments for the query.
- binding() - Static method in class org.jdbi.v3.core.transaction.LocalTransactionHandler
- Binding - Class in org.jdbi.v3.core.statement
-
Represents the arguments bound to a particular statement.
- bindList(String, Iterable<?>) - Method in class org.jdbi.v3.core.statement.SqlStatement
- bindList(String, Object...) - Method in class org.jdbi.v3.core.statement.SqlStatement
- bindList(String, Iterator<?>) - Method in class org.jdbi.v3.core.statement.SqlStatement
- bindList(BiConsumer<SqlStatement, String>, String, Iterable<?>) - Method in class org.jdbi.v3.core.statement.SqlStatement
- bindList(BiConsumer<SqlStatement, String>, String, Object...) - Method in class org.jdbi.v3.core.statement.SqlStatement
- bindList(BiConsumer<SqlStatement, String>, String, Iterator<?>) - Method in class org.jdbi.v3.core.statement.SqlStatement
- bindList(BiConsumer<SqlStatement, String>, String, List<?>) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind a parameter for each value in the given list, and defines an attribute as the comma-separated list of parameter references (using colon prefix).
- bindMap(Map<String, ?>) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Binds named parameters from a map of String to Object instances
- bindMethods(Object) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Binds methods with no parameters on the argument.
- bindMethods(String, Object) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Binds methods with no parameters on the argument, with the given prefix.
- bindMethodsList(String, Iterable<?>, List<String>) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
For each value given, create a tuple by invoking each given method in order, and bind the tuple into a
VALUES (...)format insert clause. - bindNamedArgumentFinder(NamedArgumentFinder) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Binds a new
NamedArgumentFinder. - bindNull(int, int) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind NULL to be set for a given argument.
- bindNull(String, int) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind NULL to be set for a given argument.
- bindNVarchar(int, String) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind a
Stringargument positionally, asNVARCHARtype. - bindNVarchar(String, String) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind a
Stringargument by name, asNVARCHARtype. - bindPojo(Object) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Binds named parameters from object properties on the argument.
- bindPojo(Object, Type) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Binds named parameters from object properties on the argument.
- bindPojo(Object, GenericType<?>) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Binds named parameters from object properties on the argument.
- bindPojo(String, Object) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Binds named parameters from object properties on the bean argument, with the given prefix.
- bindPojo(String, Object, Type) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Binds named parameters from object properties on the bean argument, with the given prefix.
- bindPojo(String, Object, GenericType<?>) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Binds named parameters from object properties on the bean argument, with the given prefix.
- BLANK - Enum constant in enum org.jdbi.v3.core.statement.EmptyHandling
-
Render nothing in the query.
- box(Type) - Static method in class org.jdbi.v3.core.generic.GenericTypes
-
Perform boxing conversion on a
Type, if it is a primitive type. - build() - Method in interface org.jdbi.v3.core.cache.JdbiCacheBuilder
-
Creates an cache instance from the values in the builder.
- build() - Method in class org.jdbi.v3.core.codec.CodecFactory.Builder
- build() - Method in class org.jdbi.v3.core.extension.ExtensionMetadata.Builder
-
Creates a new
ExtensionMetadataobject. - build() - Method in class org.jdbi.v3.core.statement.ParsedSql.Builder
-
Returns the finalized
ParsedSqlobject. - build(Type) - Method in class org.jdbi.v3.core.collector.BuiltInCollectorFactory
-
Deprecated.
- build(Type) - Method in interface org.jdbi.v3.core.collector.CollectorFactory
-
Creates a collector for a given container type.
- build(Type, Object, ConfigRegistry) - Method in class org.jdbi.v3.core.argument.AbstractArgumentFactory
- build(Type, Object, ConfigRegistry) - Method in interface org.jdbi.v3.core.argument.ArgumentFactory
-
Returns an
Argumentfor the given value if the factory supports it; empty otherwise. - build(Type, Object, ConfigRegistry) - Method in interface org.jdbi.v3.core.argument.ArgumentFactory.Preparable
- build(Type, Object, ConfigRegistry) - Method in class org.jdbi.v3.core.argument.BuiltInArgumentFactory
-
Deprecated.
- build(Type, Object, ConfigRegistry) - Method in class org.jdbi.v3.core.argument.DirectArgumentFactory
- build(Type, Object, ConfigRegistry) - Method in class org.jdbi.v3.core.argument.ObjectArgumentFactory
- build(Type, ConfigRegistry) - Method in class org.jdbi.v3.core.array.SqlArrayMapperFactory
- build(Type, ConfigRegistry) - Method in interface org.jdbi.v3.core.array.SqlArrayTypeFactory
-
Returns an
SqlArrayTypefor the givenelementTypeif this factory supports it; empty otherwise. - build(Type, ConfigRegistry) - Method in class org.jdbi.v3.core.mapper.BuiltInMapperFactory
-
Deprecated.
- build(Type, ConfigRegistry) - Method in interface org.jdbi.v3.core.mapper.ColumnMapperFactory
-
Supplies a column mapper which will map columns to type if the factory supports it; empty otherwise.
- build(Type, ConfigRegistry) - Method in class org.jdbi.v3.core.mapper.EnumByNameMapperFactory
-
Deprecated.
- build(Type, ConfigRegistry) - Method in class org.jdbi.v3.core.mapper.EnumByOrdinalMapperFactory
-
Deprecated.
- build(Type, ConfigRegistry) - Method in class org.jdbi.v3.core.mapper.GenericMapMapperFactory
- build(Type, ConfigRegistry) - Method in class org.jdbi.v3.core.mapper.GetObjectColumnMapperFactory
- build(Type, ConfigRegistry) - Method in interface org.jdbi.v3.core.mapper.RowMapperFactory
-
Supplies a row mapper which will map result set rows to type if the factory supports it; empty otherwise.
- build(QualifiedType<?>, Object, ConfigRegistry) - Method in interface org.jdbi.v3.core.argument.QualifiedArgumentFactory
-
Returns an
Argumentfor the given value if the factory supports it; empty otherwise. - build(QualifiedType<?>, Object, ConfigRegistry) - Method in class org.jdbi.v3.core.codec.CodecFactory
- build(QualifiedType<?>, ConfigRegistry) - Method in class org.jdbi.v3.core.codec.CodecFactory
- build(QualifiedType<?>, ConfigRegistry) - Method in interface org.jdbi.v3.core.mapper.QualifiedColumnMapperFactory
-
Supplies a column mapper which will map columns to type if the factory supports it; empty otherwise.
- builder() - Static method in class org.jdbi.v3.core.codec.CodecFactory
-
Returns a builder for fluent API.
- builder() - Static method in class org.jdbi.v3.core.statement.ParsedSql
-
Creates a new ParsedSql builder.
- builder(Class<?>) - Static method in class org.jdbi.v3.core.extension.ExtensionMetadata
-
Returns a new
ExtensionMetadata.Builderinstance. - Builder(Function<Map<QualifiedType<?>, Codec<?>>, CodecFactory>) - Constructor for class org.jdbi.v3.core.codec.CodecFactory.Builder
- buildExtensionMetadata(ExtensionMetadata.Builder) - Method in interface org.jdbi.v3.core.extension.ExtensionFactory
-
Receives the
ExtensionMetadata.Builderwhen theExtensionMetadataobject for this extension is created. - buildWithLoader(JdbiCacheLoader<K, V>) - Method in interface org.jdbi.v3.core.cache.JdbiCacheBuilder
-
Creates an cache instance from the values in the builder and a supplied cache loader.
- BuiltInArgumentFactory - Class in org.jdbi.v3.core.argument
-
Deprecated.will be replaced by a plugin
- BuiltInArgumentFactory() - Constructor for class org.jdbi.v3.core.argument.BuiltInArgumentFactory
-
Deprecated.
- BuiltInCollectorFactory - Class in org.jdbi.v3.core.collector
-
Deprecated.will be replaced by plugin
- BuiltInCollectorFactory() - Constructor for class org.jdbi.v3.core.collector.BuiltInCollectorFactory
-
Deprecated.
- BuiltInMapperFactory - Class in org.jdbi.v3.core.mapper
-
Deprecated.will be replaced by an opt-out plugin to give the core no hardwired behavior
- BuiltInMapperFactory() - Constructor for class org.jdbi.v3.core.mapper.BuiltInMapperFactory
-
Deprecated.
- BY_NAME - Enum constant in enum org.jdbi.v3.core.enums.EnumStrategy
- BY_ORDINAL - Enum constant in enum org.jdbi.v3.core.enums.EnumStrategy
- byName(Class<E>) - Static method in class org.jdbi.v3.core.mapper.EnumMapper
-
Map database string values to enum names.
- byOrdinal(Class<E>) - Static method in class org.jdbi.v3.core.mapper.EnumMapper
-
Map database integer values to enum ordinal values.
C
- cacheSize() - Method in interface org.jdbi.v3.core.cache.JdbiCacheStats
-
Returns the current size of the cache.
- cacheStats() - Method in class org.jdbi.v3.core.statement.CachingSqlParser
-
Returns cache statistics for the internal sql parser cache.
- cacheStats() - Method in class org.jdbi.v3.core.statement.SqlStatements
-
Returns cache statistics for the internal template cache.
- CachingSqlParser - Class in org.jdbi.v3.core.statement
- call(Runnable) - Method in class org.jdbi.v3.core.extension.ExtensionMetadata.ExtensionHandlerInvoker
-
Invoke a runnable in the extension context.
- call(Callable<?>) - Method in class org.jdbi.v3.core.extension.ExtensionMetadata.ExtensionHandlerInvoker
-
Invoke a callable in the extension context.
- Call - Class in org.jdbi.v3.core.statement
-
Used for invoking stored procedures.
- Call(Handle, CharSequence) - Constructor for class org.jdbi.v3.core.statement.Call
- Call(Handle, String) - Constructor for class org.jdbi.v3.core.statement.Call
-
Backwards compatible constructor that takes an explicit string argument.
- CallableStatementMapper - Interface in org.jdbi.v3.core.statement
-
Map an
OUTparameter in a callable statement to a result type. - CaseInsensitiveColumnNameMatcher - Class in org.jdbi.v3.core.mapper.reflect
-
Matches column names with identical java names, ignoring case.
- CaseInsensitiveColumnNameMatcher() - Constructor for class org.jdbi.v3.core.mapper.reflect.CaseInsensitiveColumnNameMatcher
- CaseStrategy - Enum in org.jdbi.v3.core.mapper
-
Strategies for comparing case sensitive strings.
- CharacterStreamArgument - Class in org.jdbi.v3.core.argument
-
Bind a
Readeras a character stream parameter. - CharacterStreamArgument(Reader, int) - Constructor for class org.jdbi.v3.core.argument.CharacterStreamArgument
- charAt(int) - Method in class org.jdbi.v3.core.Sql
- CharSequenceArgumentFactory - Class in org.jdbi.v3.core.argument
-
An
ArgumentFactoryfor arguments that implementCharSequence. - CharSequenceArgumentFactory() - Constructor for class org.jdbi.v3.core.argument.CharSequenceArgumentFactory
- checkPropagateNullAnnotation(Field) - Static method in class org.jdbi.v3.core.mapper.reflect.FieldMapper
- ClasspathSqlLocator - Class in org.jdbi.v3.core.locator
-
Locates SQL in
.sqlfiles on the classpath. - clean() - Method in class org.jdbi.v3.core.Handle
-
Release any database resource that may be held by the handle.
- Cleanable - Interface in org.jdbi.v3.core.statement
-
Cleans up some JDBC resource e.g. after completing execution of a SQL statement.
- cleanableAdded(StatementContext, Cleanable) - Method in interface org.jdbi.v3.core.statement.StatementContextListener
-
A
Cleanableobject was added to this context for cleanup when the context is cleaned. - cleanableRemoved(StatementContext, Cleanable) - Method in interface org.jdbi.v3.core.statement.StatementContextListener
-
A
Cleanableobject was removed from the context. - cleanupHandleCommit() - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Transfer ownership of the handle to the statement: when the statement is closed, commit the handle's transaction (if one exists) and close the handle.
- cleanupHandleRollback() - Method in class org.jdbi.v3.core.statement.SqlStatement
-
When the statement is closed, roll it back then close the owning Handle.
- clear() - Method in interface org.jdbi.v3.core.HandleScope
-
Remove a current
association. - clear() - Method in class org.jdbi.v3.core.statement.Binding
-
Remove all bindings from this Binding.
- close() - Method in interface org.jdbi.v3.core.extension.HandleSupplier
- close() - Method in class org.jdbi.v3.core.Handle
-
Closes the handle, its connection, and any other database resources it is holding.
- close() - Method in class org.jdbi.v3.core.result.ResultIterable.ResultIteratorDelegate
- close() - Method in interface org.jdbi.v3.core.result.ResultIterator
-
Close the underlying result set.
- close() - Method in class org.jdbi.v3.core.statement.Batch
- close() - Method in class org.jdbi.v3.core.statement.Call
- close() - Method in class org.jdbi.v3.core.statement.MetaData
- close() - Method in class org.jdbi.v3.core.statement.PreparedBatch
- close() - Method in class org.jdbi.v3.core.statement.Query
- close() - Method in class org.jdbi.v3.core.statement.Script
- close() - Method in class org.jdbi.v3.core.statement.SqlStatement
- close() - Method in class org.jdbi.v3.core.statement.Update
- close() - Method in interface org.jdbi.v3.core.statement.Cleanable
- close() - Method in class org.jdbi.v3.core.statement.StatementContext
- close(Connection) - Method in interface org.jdbi.v3.core.statement.StatementBuilder
-
Is called when the Handle, to which this StatementBuilder is attached to, is closed.
- close(Connection, String, Statement) - Method in class org.jdbi.v3.core.statement.DefaultStatementBuilder
-
Called to close an individual prepared statement created from this builder.
- close(Connection, String, Statement) - Method in interface org.jdbi.v3.core.statement.StatementBuilder
-
Called to close an individual statement created from this builder.
- closeAndSuppress(Throwable) - Method in interface org.jdbi.v3.core.statement.Cleanable
-
Cleans the underlying resource and appends possible exceptions to the given
Throwable. - closeConnection(Connection) - Method in interface org.jdbi.v3.core.ConnectionFactory
-
Closes a connection.
- CloseException - Exception Class in org.jdbi.v3.core
-
Thrown when an exception occurs while attempting to close a database resource.
- CloseException(String, Throwable) - Constructor for exception class org.jdbi.v3.core.CloseException
- CMTTransactionHandler - Class in org.jdbi.v3.core.transaction
-
Handler designed to behave properly in a J2EE CMT environment.
- CMTTransactionHandler() - Constructor for class org.jdbi.v3.core.transaction.CMTTransactionHandler
- Codec<T> - Interface in org.jdbi.v3.core.codec
-
A Codec provides a convenient way for a bidirectional mapping of an attribute to a database column.
- CodecFactory - Class in org.jdbi.v3.core.codec
-
CodecFactory provides column mappers and arguments for bidirectional mapping types to database columns.
- CodecFactory(Map<QualifiedType<?>, Codec<?>>) - Constructor for class org.jdbi.v3.core.codec.CodecFactory
-
Create a new CodecFactory.
- CodecFactory.Builder - Class in org.jdbi.v3.core.codec
-
Fluent Builder for
CodecFactory. - collect(long, StatementContext) - Method in interface org.jdbi.v3.core.statement.TimingCollector
-
Deprecated.
- collect(Collector<? super T, ?, R>) - Method in interface org.jdbi.v3.core.result.ResultIterable
-
Collect the results into a container specified by a collector.
- collectInto(Class<R>) - Method in class org.jdbi.v3.core.result.BatchResultBearing
- collectInto(Class<R>) - Method in interface org.jdbi.v3.core.result.ResultBearing
-
Collect the results into a container of the given type.
- collectInto(Type) - Method in class org.jdbi.v3.core.result.BatchResultBearing
- collectInto(Type) - Method in interface org.jdbi.v3.core.result.ResultBearing
-
Collect the results into a container of the given type.
- collectInto(Type) - Method in interface org.jdbi.v3.core.result.ResultIterable
-
Collect the results into a container type.
- collectInto(GenericType<R>) - Method in class org.jdbi.v3.core.result.BatchResultBearing
- collectInto(GenericType<R>) - Method in interface org.jdbi.v3.core.result.ResultBearing
-
Collect the results into a container of the given generic type.
- collectInto(GenericType<R>) - Method in interface org.jdbi.v3.core.result.ResultIterable
-
Collect the results into a collection type.
- collectIntoList() - Method in interface org.jdbi.v3.core.result.ResultIterable
-
Returns results in a
List. - collectIntoSet() - Method in interface org.jdbi.v3.core.result.ResultIterable
-
Returns results in a
Set. - collectorFactory(Type, Collector<?, ?, ?>) - Static method in interface org.jdbi.v3.core.collector.CollectorFactory
-
Creates a
CollectorFactoryfrom a container type and a collector. - collectorFactory(GenericType<?>, Collector<?, ?, ?>) - Static method in interface org.jdbi.v3.core.collector.CollectorFactory
-
Creates a
CollectorFactoryfrom a parameterized container type and a collector. - CollectorFactory - Interface in org.jdbi.v3.core.collector
-
Factory for building Collectors to assemble containers of elements.
- collectRows(Collector<RowView, A, R>) - Method in class org.jdbi.v3.core.result.BatchResultBearing
- collectRows(Collector<RowView, A, R>) - Method in interface org.jdbi.v3.core.result.ResultBearing
-
Collect the results using the given collector.
- collectToMap(Function<? super T, ? extends K>, Function<? super T, ? extends V>) - Method in interface org.jdbi.v3.core.result.ResultIterable
-
Collect the results into a Map, using the given functions to compute keys and values.
- ColonPrefixSqlParser - Class in org.jdbi.v3.core.statement
-
SQL parser which recognizes named parameter tokens of the form
:tokenName - ColonPrefixSqlParser() - Constructor for class org.jdbi.v3.core.statement.ColonPrefixSqlParser
- ColonPrefixSqlParser(JdbiCacheBuilder) - Constructor for class org.jdbi.v3.core.statement.ColonPrefixSqlParser
- ColumnMapper<T> - Interface in org.jdbi.v3.core.mapper
-
Maps result set columns to objects.
- ColumnMapperFactory - Interface in org.jdbi.v3.core.mapper
-
Factory interface used to produce column mappers.
- ColumnMappers - Class in org.jdbi.v3.core.mapper
-
Configuration registry for
ColumnMapperFactoryinstances. - ColumnMappers() - Constructor for class org.jdbi.v3.core.mapper.ColumnMappers
- ColumnName - Annotation Type in org.jdbi.v3.core.mapper.reflect
-
Specify the mapping name for a property or parameter explicitly.
- ColumnNameMatcher - Interface in org.jdbi.v3.core.mapper.reflect
-
Strategy for matching SQL column names to Java property, field, or parameter names.
- columnNameMatches(String, String) - Method in class org.jdbi.v3.core.mapper.reflect.AbstractSeparatorCharColumnNameMatcher
- columnNameMatches(String, String) - Method in class org.jdbi.v3.core.mapper.reflect.CaseInsensitiveColumnNameMatcher
- columnNameMatches(String, String) - Method in interface org.jdbi.v3.core.mapper.reflect.ColumnNameMatcher
-
Returns whether the column name fits the given Java identifier name.
- columnNameStartsWith(String, String) - Method in class org.jdbi.v3.core.mapper.reflect.AbstractSeparatorCharColumnNameMatcher
- columnNameStartsWith(String, String) - Method in class org.jdbi.v3.core.mapper.reflect.CaseInsensitiveColumnNameMatcher
- columnNameStartsWith(String, String) - Method in interface org.jdbi.v3.core.mapper.reflect.ColumnNameMatcher
-
Return whether the column name starts with the given prefix, according to the matching strategy of this
ColumnNameMatcher. - commit() - Method in class org.jdbi.v3.core.Handle
-
Commit a transaction.
- commit(Handle) - Method in class org.jdbi.v3.core.transaction.CMTTransactionHandler
-
Called when a transaction is committed
- commit(Handle) - Method in class org.jdbi.v3.core.transaction.DelegatingTransactionHandler
- commit(Handle) - Method in class org.jdbi.v3.core.transaction.LocalTransactionHandler
- commit(Handle) - Method in class org.jdbi.v3.core.transaction.RollbackOnlyTransactionHandler
- commit(Handle) - Method in interface org.jdbi.v3.core.transaction.TransactionHandler
-
Commit the transaction.
- concurrentUpdatable() - Method in class org.jdbi.v3.core.statement.Call
-
Specify that the result set should be concurrent updatable.
- concurrentUpdatable() - Method in class org.jdbi.v3.core.statement.Query
-
Specify that the result set should be concurrent updatable.
- ConfigCustomizer - Interface in org.jdbi.v3.core.config
-
Customizes a given
ConfigRegistry. - ConfigCustomizerFactory - Interface in org.jdbi.v3.core.extension
-
Factory interface to create collections of
ConfigCustomizerinstances. - ConfigRegistry - Class in org.jdbi.v3.core.config
-
A registry of
JdbiConfiginstances by type. - ConfigRegistry() - Constructor for class org.jdbi.v3.core.config.ConfigRegistry
-
Creates a new config registry.
- Configurable<This> - Interface in org.jdbi.v3.core.config
-
A type with access to access and modify arbitrary Jdbi configuration.
- Configuration() - Constructor for class org.jdbi.v3.core.transaction.SerializableTransactionRunner.Configuration
- configure(Class<C>, Consumer<C>) - Method in interface org.jdbi.v3.core.config.Configurable
-
Passes the configuration object of the given type to the configurer, then returns this object.
- configure(ConfigRegistry, Annotation, Class<?>) - Method in class org.jdbi.v3.core.extension.SimpleExtensionConfigurer
-
Updates configuration for the given annotation on an extension type.
- configureForMethod(ConfigRegistry, Annotation, Class<?>, Method) - Method in interface org.jdbi.v3.core.extension.ExtensionConfigurer
-
Configures the config for the given annotation on a extension type method.
- configureForMethod(ConfigRegistry, Annotation, Class<?>, Method) - Method in class org.jdbi.v3.core.extension.SimpleExtensionConfigurer
- configureForType(ConfigRegistry, Annotation, Class<?>) - Method in interface org.jdbi.v3.core.extension.ExtensionConfigurer
-
Updates configuration for the given annotation on an extension type.
- configureForType(ConfigRegistry, Annotation, Class<?>) - Method in class org.jdbi.v3.core.extension.SimpleExtensionConfigurer
- ConfiguringPlugin<C> - Class in org.jdbi.v3.core.config
- ConnectionException - Exception Class in org.jdbi.v3.core
- ConnectionException(Throwable) - Constructor for exception class org.jdbi.v3.core.ConnectionException
- ConnectionFactory - Interface in org.jdbi.v3.core
-
Supplies
Connectioninstances to a createdHandleand allows custom close handling. - ConstructorMapper<T> - Class in org.jdbi.v3.core.mapper.reflect
-
A row mapper which maps the fields in a result set into a constructor.
- container() - Method in interface org.jdbi.v3.core.result.LinkedHashMapRowReducer
- container() - Method in interface org.jdbi.v3.core.result.RowReducer
-
Returns a new, empty result container.
- contextCleaned(StatementContext) - Method in interface org.jdbi.v3.core.statement.StatementContextListener
-
A
StatementContextobject was cleaned. - contextCreated(StatementContext) - Method in interface org.jdbi.v3.core.statement.StatementContextListener
-
A new
StatementContextis created. - convertArrayElement(T) - Method in interface org.jdbi.v3.core.array.SqlArrayType
-
Returns an equivalent value in a type supported by the JDBC vendor.
- create() - Static method in class org.jdbi.v3.core.locator.ClasspathSqlLocator
-
Return a new ClasspathSqlLocator that returns SQL without modifying it.
- create(Class<?>) - Static method in class org.jdbi.v3.core.argument.ObjectArgumentFactory
-
Match the given type and bind as an object without SQL type information.
- create(Class<?>, Integer) - Static method in class org.jdbi.v3.core.argument.ObjectArgumentFactory
-
Match the given type and bind as an object with the given SQL type information
- create(String) - Static method in class org.jdbi.v3.core.Jdbi
-
Creates a new
Jdbiinstance from a database URL. - create(String, String, String) - Static method in class org.jdbi.v3.core.Jdbi
-
Creates a new
Jdbiinstance from a database URL. - create(String, Properties) - Static method in class org.jdbi.v3.core.Jdbi
-
Creates a new
Jdbiinstance from a database URL. - create(Connection) - Static method in class org.jdbi.v3.core.Jdbi
-
Creates a new
Jdbiobject from aConnection. - create(Connection, String, StatementContext) - Method in class org.jdbi.v3.core.statement.DefaultStatementBuilder
-
Create a new DefaultStatementBuilder which will always create a new PreparedStatement from the Connection
- create(Connection, String, StatementContext) - Method in interface org.jdbi.v3.core.statement.StatementBuilder
-
Called each time a prepared statement needs to be created.
- create(Connection, StatementContext) - Method in class org.jdbi.v3.core.statement.DefaultStatementBuilder
- create(Connection, StatementContext) - Method in interface org.jdbi.v3.core.statement.StatementBuilder
-
Called each time a statement needs to be created.
- create(DataSource) - Static method in class org.jdbi.v3.core.Jdbi
-
Creates a new
Jdbiobject from aDataSource. - create(K) - Method in interface org.jdbi.v3.core.cache.JdbiCacheLoader
-
Create a new value for caching from a cache key.
- create(ConnectionFactory) - Static method in class org.jdbi.v3.core.Jdbi
-
Factory used to allow for obtaining a Connection in a customized manner.
- create(Jdbi, Executor) - Static method in interface org.jdbi.v3.core.async.JdbiExecutor
-
Create a
JdbiExecutor. - createBatch() - Method in class org.jdbi.v3.core.Handle
-
Create a non-prepared (no bound parameters, but different SQL) batch statement.
- createCall(CharSequence) - Method in class org.jdbi.v3.core.Handle
-
Create a call to a stored procedure.
- createCall(String) - Method in class org.jdbi.v3.core.Handle
-
Create a call to a stored procedure.
- createCall(Connection, String, StatementContext) - Method in class org.jdbi.v3.core.statement.DefaultStatementBuilder
-
Called each time a Callable statement needs to be created
- createCall(Connection, String, StatementContext) - Method in interface org.jdbi.v3.core.statement.StatementBuilder
-
Called each time a Callable statement needs to be created.
- createCopy() - Method in class org.jdbi.v3.core.argument.Arguments
- createCopy() - Method in class org.jdbi.v3.core.array.SqlArrayTypes
- createCopy() - Method in class org.jdbi.v3.core.collector.JdbiCollectors
- createCopy() - Method in class org.jdbi.v3.core.config.ConfigRegistry
-
Returns a copy of this config registry.
- createCopy() - Method in interface org.jdbi.v3.core.config.JdbiConfig
-
Returns a copy of this configuration object.
- createCopy() - Method in class org.jdbi.v3.core.enums.Enums
- createCopy() - Method in class org.jdbi.v3.core.extension.Extensions
- createCopy() - Method in class org.jdbi.v3.core.Handles
- createCopy() - Method in class org.jdbi.v3.core.mapper.ColumnMappers
- createCopy() - Method in class org.jdbi.v3.core.mapper.freebuilder.JdbiFreeBuilders
- createCopy() - Method in class org.jdbi.v3.core.mapper.immutables.JdbiImmutables
- createCopy() - Method in class org.jdbi.v3.core.mapper.MapEntryMappers
- createCopy() - Method in class org.jdbi.v3.core.mapper.MapMappers
- createCopy() - Method in class org.jdbi.v3.core.mapper.Mappers
- createCopy() - Method in class org.jdbi.v3.core.mapper.reflect.ReflectionMappers
- createCopy() - Method in class org.jdbi.v3.core.mapper.RowMappers
- createCopy() - Method in class org.jdbi.v3.core.qualifier.Qualifiers
- createCopy() - Method in class org.jdbi.v3.core.result.ResultProducers
- createCopy() - Method in class org.jdbi.v3.core.statement.SqlStatements
- createCopy() - Method in class org.jdbi.v3.core.statement.StatementExceptions
- createCopy() - Method in class org.jdbi.v3.core.transaction.SerializableTransactionRunner.Configuration
- createExtensionHandler(Class<?>, Method) - Method in interface org.jdbi.v3.core.extension.ExtensionHandlerFactory
-
Returns an
ExtensionHandlerinstance for a extension type and method combination. - createExtensionHandlerInvoker(E, Method, HandleSupplier, ConfigRegistry) - Method in class org.jdbi.v3.core.extension.ExtensionMetadata
-
Creates an
ExtensionMetadata.ExtensionHandlerInvokerinstance for a specific method. - createForMethod(Method) - Static method in interface org.jdbi.v3.core.extension.ExtensionHandler
-
Create an extension handler and bind it to a method that will be called on the target object when invoked.
- createForMethodHandle(MethodHandle) - Static method in interface org.jdbi.v3.core.extension.ExtensionHandler
-
Create an extension handler and bind it to a
MethodHandleinstance. - createForSpecialMethod(Method) - Static method in interface org.jdbi.v3.core.extension.ExtensionHandler
-
Create an extension handler and bind it to a special method that will be called on the target object when invoked.
- createInstanceConfiguration(ConfigRegistry) - Method in class org.jdbi.v3.core.extension.ExtensionMetadata
-
Create an instance specific configuration based on all instance customizers.
- createMethodConfiguration(Method, ConfigRegistry) - Method in class org.jdbi.v3.core.extension.ExtensionMetadata
-
Create an method specific configuration based on all method customizers.
- createQuery(CharSequence) - Method in class org.jdbi.v3.core.Handle
-
Return a Query instance that executes a statement with bound parameters and maps the result set into Java types.
- createQuery(String) - Method in class org.jdbi.v3.core.Handle
-
Return a Query instance that executes a statement with bound parameters and maps the result set into Java types.
- createResultBearing(Supplier<PreparedStatement>, ResultProducers.ResultSetCreator, StatementContext) - Static method in class org.jdbi.v3.core.result.ResultProducers
-
Create a
ResultBearinginstance backed by aResultSet. - createResultSet(Statement) - Method in interface org.jdbi.v3.core.result.ResultProducers.ResultSetCreator
-
Use the supplied statement to create a ResultSet.
- createScript(CharSequence) - Method in class org.jdbi.v3.core.Handle
-
Creates a Script from the given SQL script.
- createScript(String) - Method in class org.jdbi.v3.core.Handle
-
Create an Insert or Update statement which returns the number of rows modified.
- createStatementBuilder(Connection) - Method in interface org.jdbi.v3.core.statement.StatementBuilderFactory
-
Creates a new
StatementBuilderfrom aConnectionobject. - createUpdate(CharSequence) - Method in class org.jdbi.v3.core.Handle
-
Create an Insert or Update statement which returns the number of rows modified.
- createUpdate(String) - Method in class org.jdbi.v3.core.Handle
-
Create an Insert or Update statement which returns the number of rows modified.
- customize(ConfigRegistry) - Method in interface org.jdbi.v3.core.config.ConfigCustomizer
-
Manipulates the
ConfigRegistryobject. - customize(ExtensionHandler, Class<?>, Method) - Method in interface org.jdbi.v3.core.extension.ExtensionHandlerCustomizer
-
Customize an extension handler.
- customizeConnection(Connection) - Method in interface org.jdbi.v3.core.spi.JdbiPlugin
-
Configure customizations for a newly acquired Connection.
- customizeHandle(Handle) - Method in interface org.jdbi.v3.core.spi.JdbiPlugin
-
Configure customizations for a new Handle instance.
- customizeJdbi(Jdbi) - Method in class org.jdbi.v3.core.config.ConfiguringPlugin
- customizeJdbi(Jdbi) - Method in class org.jdbi.v3.core.h2.H2DatabasePlugin
- customizeJdbi(Jdbi) - Method in interface org.jdbi.v3.core.spi.JdbiPlugin
-
Configure customizations global to any object managed by this Jdbi.
D
- DatabaseValue - Annotation Type in org.jdbi.v3.core.enums
-
Map a value from the database column directly onto an enum value.
- decorate(HandleCallback<R, X>) - Method in interface org.jdbi.v3.core.HandleCallbackDecorator
-
Decorate the given
HandleCallbackinstance. - DefaultStatementBuilder - Class in org.jdbi.v3.core.statement
-
A StatementBuilder which will always create a new PreparedStatement.
- DefaultStatementBuilder() - Constructor for class org.jdbi.v3.core.statement.DefaultStatementBuilder
- define(String, Object) - Method in interface org.jdbi.v3.core.config.Configurable
-
Convenience method for
getConfig(SqlStatements.class).define(key, value) - define(String, Object) - Method in class org.jdbi.v3.core.statement.SqlStatements
-
Define an attribute for
StatementContextfor statements executed by Jdbi. - define(String, Object) - Method in class org.jdbi.v3.core.statement.StatementContext
-
Define an attribute for in this context.
- DEFINE_NULL - Enum constant in enum org.jdbi.v3.core.statement.EmptyHandling
-
Define a
nullvalue, leaving the result up to theTemplateEngineto decide. - DefinedAttributeTemplateEngine - Class in org.jdbi.v3.core.statement
-
Template engine which replaces angle-bracketed tokens like
<name>with the string value of the named attribute. - DefinedAttributeTemplateEngine() - Constructor for class org.jdbi.v3.core.statement.DefinedAttributeTemplateEngine
- defineList(String, Object...) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Define an attribute as the comma-separated
Stringfrom the elements of thevaluesargument. - defineList(String, List<?>) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Define an attribute as the comma-separated
Stringfrom the elements of thevaluesargument. - defineMap(Map<String, ?>) - Method in class org.jdbi.v3.core.statement.SqlStatements
-
Defines attributes for each key/value pair in the Map.
- defineNamedBindings() - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Define all bound arguments that don't already have a definition with a boolean indicating their presence.
- DelegatingTransactionHandler - Class in org.jdbi.v3.core.transaction
-
Simple delegating subclass that just invokes its delegate.
- DelegatingTransactionHandler(TransactionHandler) - Constructor for class org.jdbi.v3.core.transaction.DelegatingTransactionHandler
- describe(int) - Method in class org.jdbi.v3.core.statement.Binding
-
Generate toString but with a maximum length.
- describeJdbiStatementType() - Method in class org.jdbi.v3.core.statement.StatementContext
- DETAIL - Enum constant in enum org.jdbi.v3.core.statement.StatementExceptions.MessageRendering
-
Include all detail.
- DirectArgumentFactory - Class in org.jdbi.v3.core.argument
- DirectArgumentFactory() - Constructor for class org.jdbi.v3.core.argument.DirectArgumentFactory
- disableAccessibleObjectStrategy() - Method in class org.jdbi.v3.core.mapper.reflect.ReflectionMappers
-
Set the strategy Jdbi uses for Java accessibility rules to a no-op.
- DO_NOT_MAKE_ACCESSIBLE - Enum constant in enum org.jdbi.v3.core.mapper.reflect.AccessibleObjectStrategy
-
Do not make non-public methods and constructors accessible.
- DONT_USE_PROXY - Enum constant in enum org.jdbi.v3.core.extension.ExtensionFactory.FactoryFlag
-
Do not wrap the backing object methods into
ExtensionHandlerinstances and return aProxyinstance but return it as is.
E
- elementType(Type) - Method in class org.jdbi.v3.core.collector.BuiltInCollectorFactory
-
Deprecated.
- elementType(Type) - Method in interface org.jdbi.v3.core.collector.CollectorFactory
-
Returns the element type for a given container type.
- ElementTypeNotFoundException - Exception Class in org.jdbi.v3.core.collector
-
Thrown when Jdbi tries to build a Collector, but cannot determine the element type intended for it.
- ElementTypeNotFoundException(String) - Constructor for exception class org.jdbi.v3.core.collector.ElementTypeNotFoundException
- ElementTypeNotFoundException(String, Throwable) - Constructor for exception class org.jdbi.v3.core.collector.ElementTypeNotFoundException
- ElementTypeNotFoundException(Throwable) - Constructor for exception class org.jdbi.v3.core.collector.ElementTypeNotFoundException
- EmptyHandling - Enum in org.jdbi.v3.core.statement
-
describes what should be done if the value passed to
SqlStatement.bindList(java.lang.String, java.lang.Object...)is null or empty - EnumByName - Annotation Type in org.jdbi.v3.core.enums
-
Specifies that an
Enumvalue should be bound or mapped as itsEnum.name(). - EnumByNameMapperFactory - Class in org.jdbi.v3.core.mapper
-
Deprecated.Use
getConfig(Enums.class).setEnumStrategy(BY_NAME)instead. - EnumByNameMapperFactory() - Constructor for class org.jdbi.v3.core.mapper.EnumByNameMapperFactory
-
Deprecated.
- EnumByOrdinal - Annotation Type in org.jdbi.v3.core.enums
-
Specifies that an
Enumvalue should be bound or mapped as itsEnum.ordinal(). - EnumByOrdinalMapperFactory - Class in org.jdbi.v3.core.mapper
-
Deprecated.Use
getConfig(Enums.class).setEnumStrategy(BY_ORDINAL)instead. - EnumByOrdinalMapperFactory() - Constructor for class org.jdbi.v3.core.mapper.EnumByOrdinalMapperFactory
-
Deprecated.
- EnumMapper<E> - Class in org.jdbi.v3.core.mapper
-
Column mapper for Java
enumtypes. - Enums - Class in org.jdbi.v3.core.enums
-
Configuration for behavior related to
Enums. - Enums() - Constructor for class org.jdbi.v3.core.enums.Enums
- EnumStrategy - Enum in org.jdbi.v3.core.enums
- equals(Object) - Method in class org.jdbi.v3.core.Handle
- equals(Object) - Method in class org.jdbi.v3.core.qualifier.QualifiedType
- equals(Object) - Method in class org.jdbi.v3.core.spi.JdbiPlugin.Singleton
- equals(Object) - Method in class org.jdbi.v3.core.Sql
- equals(Object) - Method in class org.jdbi.v3.core.statement.Batch
- equals(Object) - Method in class org.jdbi.v3.core.statement.Call
- equals(Object) - Method in class org.jdbi.v3.core.statement.MetaData
- equals(Object) - Method in class org.jdbi.v3.core.statement.PreparedBatch
- equals(Object) - Method in class org.jdbi.v3.core.statement.Query
- equals(Object) - Method in class org.jdbi.v3.core.statement.Script
- equals(Object) - Method in class org.jdbi.v3.core.statement.SqlStatement
- equals(Object) - Method in class org.jdbi.v3.core.statement.Update
- equals(Object) - Method in class org.jdbi.v3.core.statement.ParsedParameters
- equals(Object) - Method in class org.jdbi.v3.core.statement.ParsedSql
- equals(Object) - Method in class org.jdbi.v3.core.statement.StatementContext
- EQUALS_HANDLER - Static variable in interface org.jdbi.v3.core.extension.ExtensionHandler
-
Implementation for the
Object.equals(Object)method. - execute() - Method in class org.jdbi.v3.core.statement.Batch
-
Execute the batch and return the number of rows affected for each batch part.
- execute() - Method in class org.jdbi.v3.core.statement.MetaData
- execute() - Method in class org.jdbi.v3.core.statement.PreparedBatch
-
Execute the batch and return the number of rows affected for each batch part.
- execute() - Method in class org.jdbi.v3.core.statement.Script
-
Execute this script in a batch statement
- execute() - Method in class org.jdbi.v3.core.statement.Update
-
Executes the statement, returning the update count.
- execute(CharSequence, Object...) - Method in class org.jdbi.v3.core.Handle
-
Execute a SQL statement, and return the number of rows affected by the statement.
- execute(String, Object...) - Method in class org.jdbi.v3.core.Handle
-
Execute a SQL statement, and return the number of rows affected by the statement.
- execute(ResultProducer<R>) - Method in class org.jdbi.v3.core.statement.PreparedBatch
-
Executes the batch, returning the result obtained from the given
ResultProducer. - execute(ResultProducer<R>) - Method in class org.jdbi.v3.core.statement.Query
-
Executes the query, returning the result obtained from the given
ResultProducer. - execute(ResultProducer<R>) - Method in class org.jdbi.v3.core.statement.Update
-
Executes the update, returning the result obtained from the given
ResultProducer. - executeAndGetModCount() - Method in class org.jdbi.v3.core.statement.PreparedBatch
-
Execute the batch and return the mod counts as in
execute, but as a Jdbi result iterator instead of an array. - executeAndReturnGeneratedKeys(String...) - Method in class org.jdbi.v3.core.statement.PreparedBatch
-
Deprecated.Use
PreparedBatch.executePreparedBatch(String...)which has the same functionality but also returns the per-batch modified row counts. - executeAndReturnGeneratedKeys(String...) - Method in class org.jdbi.v3.core.statement.Update
-
Execute the statement and returns any auto-generated keys.
- executeAsSeparateStatements() - Method in class org.jdbi.v3.core.statement.Script
-
Execute this script as a set of separate statements
- executePreparedBatch(String...) - Method in class org.jdbi.v3.core.statement.PreparedBatch
-
Execute the batch and give access to any generated keys returned by the operation.
- ExtensionCallback<R,
E, - Interface in org.jdbi.v3.core.extensionX> - ExtensionConfigurer - Interface in org.jdbi.v3.core.extension
-
Configures
ConfigRegistryinstances. - ExtensionConsumer<E,
X> - Interface in org.jdbi.v3.core.extension - ExtensionContext - Class in org.jdbi.v3.core.extension
-
Accepted by a handle when executing extension code.
- ExtensionContext(ConfigRegistry, ExtensionMethod) - Constructor for class org.jdbi.v3.core.extension.ExtensionContext
- ExtensionFactory - Interface in org.jdbi.v3.core.extension
-
Factory interface used to produce Jdbi extension objects.
- ExtensionFactory.FactoryFlag - Enum in org.jdbi.v3.core.extension
-
Flags that the factory can return to control aspects of the extension framework.
- ExtensionHandler - Interface in org.jdbi.v3.core.extension
-
Provides functionality for a single method on an extension object.
- ExtensionHandlerCustomizationOrder - Annotation Type in org.jdbi.v3.core.extension.annotation
-
Determines the order in which extension method decorators are invoked.
- ExtensionHandlerCustomizer - Interface in org.jdbi.v3.core.extension
-
Supports customization of an extension handler.
- ExtensionHandlerFactory - Interface in org.jdbi.v3.core.extension
-
A factory to create
ExtensionHandlerinstances. - ExtensionMetadata - Class in org.jdbi.v3.core.extension
-
Metadata that was detected when analyzing an extension class before attaching.
- ExtensionMetadata.Builder - Class in org.jdbi.v3.core.extension
-
Builder class for the
ExtensionMetadataobject. - ExtensionMetadata.ExtensionHandlerInvoker - Class in org.jdbi.v3.core.extension
-
Wraps all config customizers and the handler for a specific method execution.
- ExtensionMethod - Class in org.jdbi.v3.core.extension
- ExtensionMethod(Class<?>, Method) - Constructor for class org.jdbi.v3.core.extension.ExtensionMethod
-
Creates a new extension method.
- Extensions - Class in org.jdbi.v3.core.extension
-
Configuration class for defining
Jdbiextensions viaExtensionFactoryinstances. - Extensions() - Constructor for class org.jdbi.v3.core.extension.Extensions
-
Creates a new instance.
- extensionType() - Method in class org.jdbi.v3.core.extension.ExtensionMetadata
F
- factory(Class<?>) - Static method in class org.jdbi.v3.core.mapper.reflect.BeanMapper
-
Returns a mapper factory that maps to the given bean class
- factory(Class<?>) - Static method in class org.jdbi.v3.core.mapper.reflect.ConstructorMapper
-
Use the only declared constructor to map a class.
- factory(Class<?>) - Static method in class org.jdbi.v3.core.mapper.reflect.FieldMapper
-
Returns a mapper factory that maps to the given bean class
- factory(Class<?>, Class<?>) - Static method in class org.jdbi.v3.core.mapper.reflect.ConstructorMapper
-
Use the only declared static factory method to map a class.
- factory(Class<?>, Class<?>, String) - Static method in class org.jdbi.v3.core.mapper.reflect.ConstructorMapper
-
Use the only declared static factory method to map a class.
- factory(Class<?>, String) - Static method in class org.jdbi.v3.core.mapper.reflect.BeanMapper
-
Returns a mapper factory that maps to the given bean class
- factory(Class<?>, String) - Static method in class org.jdbi.v3.core.mapper.reflect.ConstructorMapper
-
Use the only declared constructor to map a class.
- factory(Class<?>, String) - Static method in class org.jdbi.v3.core.mapper.reflect.FieldMapper
-
Returns a mapper factory that maps to the given bean class
- factory(Constructor<?>) - Static method in class org.jdbi.v3.core.mapper.reflect.ConstructorMapper
-
Use a
Constructor<T>to map its declaring type. - factory(Constructor<?>, String) - Static method in class org.jdbi.v3.core.mapper.reflect.ConstructorMapper
-
Use a
Constructor<T>to map its declaring type. - FACTORY - Static variable in class org.jdbi.v3.core.statement.DefaultStatementBuilder
- failFast() - Method in class org.jdbi.v3.core.extension.Extensions
-
Fail fast if any method in an Extension object is misconfigured and can not be warmed.
- fetchSize(int) - Static method in class org.jdbi.v3.core.statement.StatementCustomizers
-
Set the number of rows to fetch from the database in a single batch.
- FieldMapper<T> - Class in org.jdbi.v3.core.mapper.reflect
-
A row mapper which maps the columns in a statement into an object, using reflection to set fields on the object.
- filter(Predicate<? super T>) - Method in interface org.jdbi.v3.core.result.ResultIterable
-
Convenience method to filter the
ResultIterableby applying the specifiedPredicate.
This method has the look and feel ofStream.filter(Predicate)without making use of streams. - find(String, StatementContext) - Method in class org.jdbi.v3.core.argument.MapArguments
-
Deprecated.
- find(String, StatementContext) - Method in interface org.jdbi.v3.core.argument.NamedArgumentFinder
- findArgumentFor(Type, Object) - Method in class org.jdbi.v3.core.statement.StatementContext
-
Obtain an argument for given value in this context
- findArgumentFor(QualifiedType<?>, Object) - Method in class org.jdbi.v3.core.statement.StatementContext
-
Obtain an argument for given value in this context
- findCollectorFor(Type) - Method in class org.jdbi.v3.core.statement.StatementContext
-
Obtain a collector for the given type.
- findColumnIndex(String, List<String>, List<ColumnNameMatcher>, Supplier<String>) - Static method in class org.jdbi.v3.core.mapper.reflect.ReflectionMapperUtil
-
Attempts to find the index of a specified column's mapped parameter in a list of column names
- findColumnMapperFor(Class<T>) - Method in class org.jdbi.v3.core.statement.StatementContext
-
Obtain a column mapper for the given type in this context.
- findColumnMapperFor(Type) - Method in class org.jdbi.v3.core.statement.StatementContext
-
Obtain a column mapper for the given type in this context.
- findColumnMapperFor(GenericType<T>) - Method in class org.jdbi.v3.core.statement.StatementContext
-
Obtain a column mapper for the given type in this context.
- findColumnMapperFor(QualifiedType<T>) - Method in class org.jdbi.v3.core.statement.StatementContext
-
Obtain a column mapper for the given qualified type in this context.
- findConstructorFor(Class<T>) - Static method in class org.jdbi.v3.core.mapper.reflect.JdbiConstructors
-
Find an invokable constructor.
- findElementTypeFor(Type) - Method in class org.jdbi.v3.core.collector.JdbiCollectors
-
Returns the element type for the given container type.
- findElementTypeFor(Type) - Method in class org.jdbi.v3.core.statement.StatementContext
-
Returns the element type for the given container type.
- findFactory(Class<? extends ExtensionFactory>) - Method in class org.jdbi.v3.core.extension.Extensions
-
Find the registered factory of the given type.
- findFirst() - Method in interface org.jdbi.v3.core.result.ResultIterable
-
Returns the first row in the result set, if present.
- findFor(Class<E>, HandleSupplier) - Method in class org.jdbi.v3.core.extension.Extensions
-
Create an extension instance if a factory accepts the extension type.
- findFor(Class<T>) - Method in class org.jdbi.v3.core.mapper.ColumnMappers
-
Obtain a column mapper for the given type.
- findFor(Class<T>) - Method in class org.jdbi.v3.core.mapper.Mappers
-
Obtain a mapper for the given type.
- findFor(Class<T>) - Method in class org.jdbi.v3.core.mapper.RowMappers
-
Obtain a row mapper for the given type in the given context.
- findFor(AnnotatedElement...) - Method in class org.jdbi.v3.core.qualifier.Qualifiers
-
Returns the set of qualifying annotations on the given elements.
- findFor(Type) - Method in class org.jdbi.v3.core.array.SqlArrayTypes
-
Obtain an
SqlArrayTypefor the given array element type in the given context - findFor(Type) - Method in class org.jdbi.v3.core.collector.JdbiCollectors
-
Obtain a collector for the given type.
- findFor(Type) - Method in class org.jdbi.v3.core.mapper.ColumnMappers
-
Obtain a column mapper for the given type.
- findFor(Type) - Method in class org.jdbi.v3.core.mapper.Mappers
-
Obtain a mapper for the given type.
- findFor(Type) - Method in class org.jdbi.v3.core.mapper.RowMappers
-
Obtain a row mapper for the given type in the given context.
- findFor(Type, Object) - Method in class org.jdbi.v3.core.argument.Arguments
-
Obtain an argument for given value in the given context
- findFor(GenericType<T>) - Method in class org.jdbi.v3.core.mapper.ColumnMappers
-
Obtain a column mapper for the given type.
- findFor(GenericType<T>) - Method in class org.jdbi.v3.core.mapper.Mappers
-
Obtain a mapper for the given type.
- findFor(GenericType<T>) - Method in class org.jdbi.v3.core.mapper.RowMappers
-
Obtain a row mapper for the given type in the given context.
- findFor(QualifiedType<?>, Object) - Method in class org.jdbi.v3.core.argument.Arguments
-
Obtain an argument for given value in the given context.
- findFor(QualifiedType<T>) - Method in class org.jdbi.v3.core.mapper.ColumnMappers
-
Obtain a column mapper for the given qualified type.
- findFor(QualifiedType<T>) - Method in class org.jdbi.v3.core.mapper.Mappers
-
Obtain a mapper for the given qualified type.
- findForName(String, StatementContext) - Method in class org.jdbi.v3.core.statement.Binding
-
Deprecated.don't inspect a Binding: keep your own state!
- findForPosition(int) - Method in class org.jdbi.v3.core.statement.Binding
-
Deprecated.don't inspect a Binding: keep your own state!
- findGenericParameter(Type, Class<?>) - Static method in class org.jdbi.v3.core.generic.GenericTypes
-
Same as
GenericTypes.findGenericParameter(Type, Class, int)with n = 0. - findGenericParameter(Type, Class<?>, int) - Static method in class org.jdbi.v3.core.generic.GenericTypes
-
For the given type which extends parameterizedSupertype, returns the nth generic parameter for the parameterized supertype, if concretely expressed.
- findMapperFor(Class<T>) - Method in class org.jdbi.v3.core.statement.StatementContext
-
Obtain a mapper for the given type in this context.
- findMapperFor(Type) - Method in class org.jdbi.v3.core.statement.StatementContext
-
Obtain a mapper for the given type in this context.
- findMapperFor(GenericType<T>) - Method in class org.jdbi.v3.core.statement.StatementContext
-
Obtain a mapper for the given type in this context.
- findMapperFor(QualifiedType<T>) - Method in class org.jdbi.v3.core.statement.StatementContext
-
Obtain a mapper for the given qualified type in this context.
- findMetadata(Class<?>, ExtensionFactory) - Method in class org.jdbi.v3.core.extension.Extensions
-
Retrieves all extension metadata for a specific extension type.
- findOne() - Method in interface org.jdbi.v3.core.result.ResultIterable
-
Returns the only row in the result set, if any.
- findOnly() - Method in interface org.jdbi.v3.core.result.ResultIterable
-
Deprecated.use
ResultIterable.one()orResultIterable.findOne()instead. - findRowMapperFor(Class<T>) - Method in class org.jdbi.v3.core.statement.StatementContext
-
Obtain a row mapper for the given type in this context.
- findRowMapperFor(Type) - Method in class org.jdbi.v3.core.statement.StatementContext
-
Obtain a row mapper for the given type in this context.
- findRowMapperFor(GenericType<T>) - Method in class org.jdbi.v3.core.statement.StatementContext
-
Obtain a row mapper for the given type in this context.
- findSqlArrayTypeFor(Type) - Method in class org.jdbi.v3.core.statement.StatementContext
-
Obtain an
SqlArrayTypefor the given array element type in this context - findSqlOnClasspath(Class<?>, String) - Static method in class org.jdbi.v3.core.locator.ClasspathSqlLocator
-
Deprecated.
ClasspathSqlLocator.create()an instance instead of using static methods - findSqlOnClasspath(String) - Static method in class org.jdbi.v3.core.locator.ClasspathSqlLocator
-
Deprecated.
ClasspathSqlLocator.create()an instance instead of using static methods - first() - Method in interface org.jdbi.v3.core.result.ResultIterable
-
Returns the first row in the result set.
- flatMapType(Function<Type, Optional<Type>>) - Method in class org.jdbi.v3.core.qualifier.QualifiedType
-
Apply the provided mapping function to the type, and if non-empty is returned, return an
Optional<QualifiedType<?>>with the returned type, and the same qualifiers as this instance. - FORCE_MAKE_ACCESSIBLE - Enum constant in enum org.jdbi.v3.core.mapper.reflect.AccessibleObjectStrategy
-
Force non-public methods and constructors to be accessible.
- forClasses(Class<?>...) - Static method in class org.jdbi.v3.core.mapper.GetObjectColumnMapperFactory
-
Creates a
ColumnMapperFactorythat accepts multiple types and maps them by callingResultSet.getObject(int, Class). - forClasses(Map<Class<?>, Integer>) - Static method in class org.jdbi.v3.core.argument.SetObjectArgumentFactory
-
Creates a new
ArgumentFactorythat maps objects toTypesvalues. - forClasses(Set<Class<?>>) - Static method in class org.jdbi.v3.core.mapper.GetObjectColumnMapperFactory
-
Creates a
ColumnMapperFactorythat accepts multiple types and maps them by callingResultSet.getObject(int, Class). - forConfig(ConfigRegistry) - Static method in class org.jdbi.v3.core.extension.ExtensionContext
-
Create an extension context for a configuration only.
- forEach(Consumer<? super T>) - Method in interface org.jdbi.v3.core.result.ResultIterable
- forEachRemaining(Consumer<? super T>) - Method in interface org.jdbi.v3.core.result.ResultIterator
- forEachWithCount(Consumer<? super T>) - Method in interface org.jdbi.v3.core.result.ResultIterable
-
Performs the specified action on each remaining element and returns the iteration i.e. record count.
It is often useful (e.g. for logging) to know the record count while processing result sets. - forExtensionMethod(Class<?>, Method) - Method in interface org.jdbi.v3.core.extension.ConfigCustomizerFactory
-
Creates a collection of
ConfigCustomizerinstances for an extension type method. - forExtensionMethod(ConfigRegistry, Class<?>, Method) - Static method in class org.jdbi.v3.core.extension.ExtensionContext
- forExtensionType(Class<?>) - Method in interface org.jdbi.v3.core.extension.ConfigCustomizerFactory
-
Creates a collection of
ConfigCustomizerinstances for an extension type. - forSingleCodec(QualifiedType<?>, Codec<?>) - Static method in class org.jdbi.v3.core.codec.CodecFactory
- forTypes(Type...) - Static method in class org.jdbi.v3.core.mapper.JoinRowMapper
-
Create a JoinRowMapper that maps each of the given types and returns a
JoinRowwith the resulting values.
G
- GenericMapMapperFactory - Class in org.jdbi.v3.core.mapper
-
Factory for a RowMapper that can map resultset rows to column name/generic value
Maps. - GenericMapMapperFactory() - Constructor for class org.jdbi.v3.core.mapper.GenericMapMapperFactory
- GenericType<T> - Class in org.jdbi.v3.core.generic
- GenericTypes - Class in org.jdbi.v3.core.generic
-
Utilities for working with generic types.
- get() - Method in interface org.jdbi.v3.core.HandleScope
-
Returns a
HandleSupplierthat provides aHandlein the given context. - get(Class<C>) - Method in class org.jdbi.v3.core.config.ConfigRegistry
-
Returns this registry's instance of the given config class.
- get(Class<T>) - Method in class org.jdbi.v3.core.mapper.JoinRow
-
Return the value mapped for a given class.
- get(Type) - Method in class org.jdbi.v3.core.mapper.JoinRow
-
Return the value mapped for a given type.
- get(K) - Method in interface org.jdbi.v3.core.cache.JdbiCache
-
Returns the cached value for a key.
- getArgumentFunction() - Method in interface org.jdbi.v3.core.codec.Codec
- getArgumentFunction(ConfigRegistry) - Method in interface org.jdbi.v3.core.codec.Codec
- getArgumentStrategy() - Method in class org.jdbi.v3.core.array.SqlArrayTypes
-
Returns the strategy used to bind array-type arguments to SQL statements.
- getArrayElementClass() - Method in interface org.jdbi.v3.core.array.SqlArrayType
-
Returns the element class that is used to create the backing array.
- getAttribute(String) - Method in class org.jdbi.v3.core.statement.SqlStatements
-
Obtain the value of an attribute
- getAttribute(String) - Method in class org.jdbi.v3.core.statement.StatementContext
-
Obtain the value of an attribute
- getAttributes() - Method in class org.jdbi.v3.core.statement.SqlStatements
-
Returns the attributes which will be applied to
SQL statementscreated by Jdbi. - getAttributes() - Method in class org.jdbi.v3.core.statement.StatementContext
-
Returns the attributes applied in this context.
- getBinding() - Method in class org.jdbi.v3.core.statement.StatementContext
-
Returns the statement binding.
- getBytes(int) - Method in class org.jdbi.v3.core.statement.OutParameters
-
Retrieves an out parameter as a byte array.
- getBytes(String) - Method in class org.jdbi.v3.core.statement.OutParameters
-
Retrieves an out parameter as a byte array.
- getCaseChange() - Method in class org.jdbi.v3.core.mapper.MapMappers
-
Case change strategy for the database column names.
- getCaseChange() - Method in class org.jdbi.v3.core.mapper.reflect.ReflectionMappers
-
Case change strategy for the database column names.
- getCleanableFor(Connection) - Method in interface org.jdbi.v3.core.ConnectionFactory
-
Returns a
Cleanablethat will close the connection and release all necessary resources. - getCoalesceNullPrimitivesToDefaults() - Method in class org.jdbi.v3.core.mapper.ColumnMappers
-
Returns true if database
NULLvalues should be transformed to the default value for primitives. - getColumn(int, Class<T>) - Method in class org.jdbi.v3.core.result.RowView
-
Use a column mapper to extract a type from the current ResultSet row.
- getColumn(int, Type) - Method in class org.jdbi.v3.core.result.RowView
-
Use a column mapper to extract a type from the current ResultSet row.
- getColumn(int, GenericType<T>) - Method in class org.jdbi.v3.core.result.RowView
-
Use a column mapper to extract a type from the current ResultSet row.
- getColumn(int, QualifiedType<T>) - Method in class org.jdbi.v3.core.result.RowView
-
Use a qualified column mapper to extract a type from the current ResultSet row.
- getColumn(String, Class<T>) - Method in class org.jdbi.v3.core.result.RowView
-
Use a column mapper to extract a type from the current ResultSet row.
- getColumn(String, Type) - Method in class org.jdbi.v3.core.result.RowView
-
Use a column mapper to extract a type from the current ResultSet row.
- getColumn(String, GenericType<T>) - Method in class org.jdbi.v3.core.result.RowView
-
Use a column mapper to extract a type from the current ResultSet row.
- getColumn(String, QualifiedType<T>) - Method in class org.jdbi.v3.core.result.RowView
-
Use a qualified column mapper to extract a type from the current ResultSet row.
- getColumnMapper() - Method in interface org.jdbi.v3.core.codec.Codec
-
Returns a
ColumnMapperthat creates an attribute value from a database column. - getColumnMapper(ConfigRegistry) - Method in interface org.jdbi.v3.core.codec.Codec
-
Returns a
ColumnMapperthat creates an attribute value from a database column. - getColumnNameMatchers() - Method in class org.jdbi.v3.core.mapper.reflect.ReflectionMappers
-
Returns the registered column name mappers.
- getColumnNames(ResultSet) - Static method in class org.jdbi.v3.core.mapper.reflect.ReflectionMapperUtil
-
Deprecated.Use
ReflectionMapperUtil.getColumnNames(ResultSet, UnaryOperator)andCaseStrategyto control name capitalization - getColumnNames(ResultSet, UnaryOperator<String>) - Static method in class org.jdbi.v3.core.mapper.reflect.ReflectionMapperUtil
-
Returns the name of all the columns present in the specified
ResultSet. - getCompletionMoment() - Method in class org.jdbi.v3.core.statement.StatementContext
-
If query execution was successful, returns the query execution end as an
Instant. - getConfig() - Method in interface org.jdbi.v3.core.config.Configurable
-
Returns the configuration registry associated with this object.
- getConfig() - Method in class org.jdbi.v3.core.extension.ExtensionContext
- getConfig() - Method in interface org.jdbi.v3.core.extension.HandleSupplier
-
Returns the current Jdbi config.
- getConfig() - Method in class org.jdbi.v3.core.Handle
-
The current configuration object associated with this handle.
- getConfig() - Method in class org.jdbi.v3.core.Jdbi
- getConfig() - Method in class org.jdbi.v3.core.statement.Batch
- getConfig() - Method in class org.jdbi.v3.core.statement.Call
- getConfig() - Method in class org.jdbi.v3.core.statement.MetaData
- getConfig() - Method in class org.jdbi.v3.core.statement.PreparedBatch
- getConfig() - Method in class org.jdbi.v3.core.statement.Query
- getConfig() - Method in class org.jdbi.v3.core.statement.Script
- getConfig() - Method in class org.jdbi.v3.core.statement.SqlStatement
- getConfig() - Method in class org.jdbi.v3.core.statement.Update
- getConfig() - Method in class org.jdbi.v3.core.statement.StatementContext
-
Returns the
ConfigRegistry. - getConfig(Class<C>) - Method in interface org.jdbi.v3.core.config.Configurable
-
Gets the configuration object of the given type, associated with this object.
- getConfig(Class<C>) - Method in class org.jdbi.v3.core.statement.StatementContext
-
Gets the configuration object of the given type, associated with this context.
- getConfigCustomizerFactories(ConfigRegistry) - Method in interface org.jdbi.v3.core.extension.ExtensionFactory
-
Returns a collection of
ConfigCustomizerFactoryobjects. - getConnection() - Method in class org.jdbi.v3.core.Handle
-
Get the JDBC
Connectionthis Handle uses. - getConnection() - Method in class org.jdbi.v3.core.statement.StatementContext
-
Obtain the JDBC connection being used for this statement
- getContext() - Method in class org.jdbi.v3.core.result.ResultIterable.ResultIteratorDelegate
- getContext() - Method in interface org.jdbi.v3.core.result.ResultIterator
-
Returns the current
StatementContext. - getContext() - Method in class org.jdbi.v3.core.statement.Batch
-
Returns the statement context associated with this statement.
- getContext() - Method in class org.jdbi.v3.core.statement.Call
-
Returns the statement context associated with this statement.
- getContext() - Method in class org.jdbi.v3.core.statement.MetaData
-
Returns the statement context associated with this statement.
- getContext() - Method in class org.jdbi.v3.core.statement.PreparedBatch
-
Returns the statement context associated with this statement.
- getContext() - Method in class org.jdbi.v3.core.statement.Query
-
Returns the statement context associated with this statement.
- getContext() - Method in class org.jdbi.v3.core.statement.Script
-
Returns the statement context associated with this statement.
- getContext() - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Returns the statement context associated with this statement.
- getContext() - Method in class org.jdbi.v3.core.statement.Update
-
Returns the statement context associated with this statement.
- getDate(int) - Method in class org.jdbi.v3.core.statement.OutParameters
-
Retrieves an out parameter as a
Dateobject. - getDate(String) - Method in class org.jdbi.v3.core.statement.OutParameters
-
Retrieves an out parameter as a
Dateobject. - getDefaultColumnMapper() - Static method in interface org.jdbi.v3.core.mapper.ColumnMapper
- getDefaultStrategy() - Method in class org.jdbi.v3.core.enums.Enums
-
Returns the default strategy to use for mapping and binding enums, in the absence of a
EnumByNameorEnumByOrdinalqualifying annotation. - getDouble(int) - Method in class org.jdbi.v3.core.statement.OutParameters
-
Retrieves an out parameter as a Double object.
- getDouble(String) - Method in class org.jdbi.v3.core.statement.OutParameters
-
Retrieves an out parameter as a Double object.
- getDoubleValue(int) - Method in class org.jdbi.v3.core.statement.OutParameters
-
Retrieves an out parameter as a double value.
- getDoubleValue(String) - Method in class org.jdbi.v3.core.statement.OutParameters
-
Retrieves an out parameter as a double value.
- getElapsedTime(ChronoUnit) - Method in class org.jdbi.v3.core.statement.StatementContext
-
Convenience method to measure elapsed time between start of query execution and completion or exception as appropriate.
- getErasedType(Type) - Static method in class org.jdbi.v3.core.generic.GenericTypes
-
Returns the erased class for the given type.
- getExceptionMoment() - Method in class org.jdbi.v3.core.statement.StatementContext
-
If query execution failed, returns the query execution end as an
Instant. - getExecutionMoment() - Method in class org.jdbi.v3.core.statement.StatementContext
-
Returns the query execution start as an
Instant. - getExtensionHandlerCustomizers(ConfigRegistry) - Method in interface org.jdbi.v3.core.extension.ExtensionFactory
-
Returns a collection of
ExtensionHandlerCustomizerobjects. - getExtensionHandlerFactories(ConfigRegistry) - Method in interface org.jdbi.v3.core.extension.ExtensionFactory
-
Returns a collection of
ExtensionHandlerFactoryobjects. - getExtensionMethod() - Method in class org.jdbi.v3.core.extension.ExtensionContext
- getExtensionMethod() - Method in class org.jdbi.v3.core.Handle
-
Returns the extension method currently bound to the handle's context.
- getExtensionMethod() - Method in class org.jdbi.v3.core.statement.StatementContext
- getExtensionMethods() - Method in class org.jdbi.v3.core.extension.ExtensionMetadata
-
Returns a set of all Methods that have
ExtensionHandlerobjects associated with them. - getExtensionType() - Method in class org.jdbi.v3.core.extension.ExtensionMetadata.Builder
-
Returns the extension type from the builder.
- getFactories() - Method in class org.jdbi.v3.core.argument.Arguments
- getFactoryFlags() - Method in interface org.jdbi.v3.core.extension.ExtensionFactory
-
Returns a set of
ExtensionFactory.FactoryFlags that describe the extension factory. - getFloat(int) - Method in class org.jdbi.v3.core.statement.OutParameters
-
Retrieves an out parameter as a Float object.
- getFloat(String) - Method in class org.jdbi.v3.core.statement.OutParameters
-
Retrieves an out parameter as a Float object.
- getFloatValue(int) - Method in class org.jdbi.v3.core.statement.OutParameters
-
Retrieves an out parameter as a float value.
- getFloatValue(String) - Method in class org.jdbi.v3.core.statement.OutParameters
-
Retrieves an out parameter as a float value.
- getGeneratedKeysColumnNames() - Method in class org.jdbi.v3.core.statement.StatementContext
-
Returns the generated key column names or empty if none were generated.
- getHandle() - Method in interface org.jdbi.v3.core.extension.HandleSupplier
-
Returns a handle, possibly creating it lazily.
- getHandle() - Method in class org.jdbi.v3.core.statement.Batch
- getHandle() - Method in class org.jdbi.v3.core.statement.Call
- getHandle() - Method in class org.jdbi.v3.core.statement.MetaData
- getHandle() - Method in class org.jdbi.v3.core.statement.PreparedBatch
- getHandle() - Method in class org.jdbi.v3.core.statement.Query
- getHandle() - Method in class org.jdbi.v3.core.statement.Script
- getHandle() - Method in class org.jdbi.v3.core.statement.SqlStatement
- getHandle() - Method in class org.jdbi.v3.core.statement.Update
- getHandleCallbackDecorator() - Method in class org.jdbi.v3.core.Jdbi
-
Returns the
HandleCallbackDecorator. - getHandleScope() - Method in class org.jdbi.v3.core.Jdbi
-
Returns the internal
HandleScopeobject. - getInferenceInterceptors() - Method in class org.jdbi.v3.core.array.SqlArrayTypes
-
Returns the
JdbiInterceptionChainHolderfor the SqlArrayType inference. - getInferenceInterceptors() - Method in class org.jdbi.v3.core.mapper.ColumnMappers
-
Returns the
JdbiInterceptionChainHolderfor the ColumnMapper inference. - getInferenceInterceptors() - Method in class org.jdbi.v3.core.mapper.RowMappers
-
Returns the
JdbiInterceptionChainHolderfor the RowMapper inference. - getInt(int) - Method in class org.jdbi.v3.core.statement.OutParameters
-
Retrieves an out parameter as a Integer object.
- getInt(String) - Method in class org.jdbi.v3.core.statement.OutParameters
-
Retrieves an out parameter as a Integer object.
- getIntValue(int) - Method in class org.jdbi.v3.core.statement.OutParameters
-
Retrieves an out parameter as a int value.
- getIntValue(String) - Method in class org.jdbi.v3.core.statement.OutParameters
-
Retrieves an out parameter as a int value.
- getJdbi() - Method in interface org.jdbi.v3.core.extension.HandleSupplier
-
Returns the owning Jdbi instance.
- getJdbi() - Method in class org.jdbi.v3.core.Handle
-
Returns the
Jdbiobject used to create this handle. - getJdbiStatementType() - Method in class org.jdbi.v3.core.statement.StatementContext
-
Inspect the type of the statement that owns this statement context.
- getJfrParamMaxLength() - Method in class org.jdbi.v3.core.statement.SqlStatements
-
When recording JFR events, the maximum length of rendered parameters to store in the event record.
- getJfrSqlMaxLength() - Method in class org.jdbi.v3.core.statement.SqlStatements
-
When recording JFR events, the maximum length of rendered SQL to store in the event record.
- getKeyColumn() - Method in interface org.jdbi.v3.core.mapper.MapEntryConfig
- getKeyColumn() - Method in class org.jdbi.v3.core.mapper.MapEntryMappers
- getLengthLimit() - Method in class org.jdbi.v3.core.statement.StatementExceptions
-
Returns the limit hint to use to shorten strings.
- getListeners() - Method in class org.jdbi.v3.core.Handles
-
Returns the collection of
HandleListenerobjects. - getLong(int) - Method in class org.jdbi.v3.core.statement.OutParameters
-
Retrieves an out parameter as a Long object.
- getLong(String) - Method in class org.jdbi.v3.core.statement.OutParameters
-
Retrieves an out parameter as a Long object.
- getLongValue(int) - Method in class org.jdbi.v3.core.statement.OutParameters
-
Retrieves an out parameter as a long value.
- getLongValue(String) - Method in class org.jdbi.v3.core.statement.OutParameters
-
Retrieves an out parameter as a long value.
- getMappedRows() - Method in class org.jdbi.v3.core.statement.StatementContext
-
Retrieve the number of mapped rows.
- getMapperForValueType(Class<T>, ConfigRegistry) - Static method in class org.jdbi.v3.core.mapper.GenericMapMapperFactory
-
Returns a
RowMapperfor a map with the given value type. - getMapperForValueType(GenericType<T>, ConfigRegistry) - Static method in class org.jdbi.v3.core.mapper.GenericMapMapperFactory
-
Returns a
RowMapperfor a map with the given value type. - getMessage() - Method in exception class org.jdbi.v3.core.statement.StatementException
- getMessageRendering() - Method in class org.jdbi.v3.core.statement.StatementExceptions
-
Returns the statement exception message rendering strategy.
- getMethod() - Method in class org.jdbi.v3.core.extension.ExtensionMethod
-
Returns the method invoked.
- getNames() - Method in class org.jdbi.v3.core.argument.MapArguments
-
Deprecated.
- getNames() - Method in interface org.jdbi.v3.core.argument.NamedArgumentFinder
-
Returns the names this named argument finder can find.
- getNames() - Method in class org.jdbi.v3.core.statement.Binding
-
Deprecated.this is expensive to compute, and it's bad practice to inspect a Binding: keep track of your own state!
- getObject(int) - Method in class org.jdbi.v3.core.statement.OutParameters
-
Retrieves an out parameter as an object.
- getObject(int, Class<T>) - Method in class org.jdbi.v3.core.statement.OutParameters
-
Retrieves an out parameter and casts it to a specific type.
- getObject(String) - Method in class org.jdbi.v3.core.statement.OutParameters
-
Retrieves an out parameter as an object.
- getObject(String, Class<T>) - Method in class org.jdbi.v3.core.statement.OutParameters
-
Retrieves an out parameter and casts it to a specific type.
- GetObjectColumnMapperFactory - Class in org.jdbi.v3.core.mapper
-
Factory that uses
ResultSet.getObject(int, Class)to fetch values. - getParameterCount() - Method in class org.jdbi.v3.core.statement.ParsedParameters
-
The number of parameters from the SQL statement.
- getParameterNames() - Method in class org.jdbi.v3.core.statement.ParsedParameters
-
The parameter names from the SQL statement.
- getParameters() - Method in class org.jdbi.v3.core.statement.ParsedSql
-
The set of parameters parsed from the input SQL string.
- getParsedSql() - Method in class org.jdbi.v3.core.statement.StatementContext
-
Obtain the parsed SQL statement
- getQualifiers() - Method in class org.jdbi.v3.core.qualifier.QualifiedType
-
Returns a set of qualifying annotations.
- getQueryTimeout() - Method in class org.jdbi.v3.core.statement.SqlStatements
- getRawSql() - Method in class org.jdbi.v3.core.statement.StatementContext
-
Obtain the initial sql for the statement used to create the statement
- getRenderedSql() - Method in class org.jdbi.v3.core.statement.StatementContext
-
Obtain the rendered SQL statement
- getResource(ClassLoader, String) - Method in class org.jdbi.v3.core.locator.ClasspathSqlLocator
-
Returns resource's contents as a string at the specified path by the specified classloader.
- getResource(String) - Method in class org.jdbi.v3.core.locator.ClasspathSqlLocator
-
Returns resource's contents as a string at the specified path.
- getResourceOnClasspath(ClassLoader, String) - Static method in class org.jdbi.v3.core.locator.ClasspathSqlLocator
-
Deprecated.
ClasspathSqlLocator.create()an instance instead of using static methods - getResourceOnClasspath(String) - Static method in class org.jdbi.v3.core.locator.ClasspathSqlLocator
-
Deprecated.
ClasspathSqlLocator.create()an instance instead of using static methods - getResultSet() - Method in class org.jdbi.v3.core.statement.OutParameters
-
Returns a
ResultBearingbacked by the main result set returned by the procedure. - getRow(Class<T>) - Method in class org.jdbi.v3.core.result.RowView
-
Use a row mapper to extract a type from the current ResultSet row.
- getRow(Type) - Method in class org.jdbi.v3.core.result.RowView
-
Use a row mapper to extract a type from the current ResultSet row.
- getRow(GenericType<T>) - Method in class org.jdbi.v3.core.result.RowView
-
Use a row mapper to extract a type from the current ResultSet row.
- getRowSet(int) - Method in class org.jdbi.v3.core.statement.OutParameters
-
Retrieves a
ResultBearingfor an out parameter. - getRowSet(String) - Method in class org.jdbi.v3.core.statement.OutParameters
-
Retrieves a
ResultBearingfor an out parameter. - getShort(int) - Method in class org.jdbi.v3.core.statement.OutParameters
-
Retrieves an out parameter as a Short object.
- getShort(String) - Method in class org.jdbi.v3.core.statement.OutParameters
-
Retrieves an out parameter as a Short object.
- getShortMessage() - Method in exception class org.jdbi.v3.core.statement.StatementException
- getShortValue(int) - Method in class org.jdbi.v3.core.statement.OutParameters
-
Retrieves an out parameter as a short value.
- getShortValue(String) - Method in class org.jdbi.v3.core.statement.OutParameters
-
Retrieves an out parameter as a short value.
- getSql() - Method in class org.jdbi.v3.core.statement.ParsedSql
-
Returns a SQL string suitable for use with a JDBC
PreparedStatement. - getSqlArrayArgumentStrategy() - Method in class org.jdbi.v3.core.statement.StatementContext
-
Returns the strategy used by this context to bind array-type arguments to SQL statements.
- getSqlLogger() - Method in class org.jdbi.v3.core.statement.SqlStatements
-
Returns the current logger.
- getSqlParser() - Method in class org.jdbi.v3.core.statement.SqlStatements
- getSqlType() - Method in class org.jdbi.v3.core.argument.NullArgument
-
Returns the
Typesvalue that is used. - getStatement() - Method in class org.jdbi.v3.core.statement.StatementContext
-
Obtain the actual prepared statement being used.
- getStatementBuilder() - Method in class org.jdbi.v3.core.Handle
-
Returns the current
StatementBuilderwhich is used to create new JDBCStatementobjects. - getStatementBuilderFactory() - Method in class org.jdbi.v3.core.Jdbi
-
Returns the current
StatementBuilderFactory. - getStatementContext() - Method in exception class org.jdbi.v3.core.statement.StatementException
- getStatements() - Method in class org.jdbi.v3.core.statement.Script
-
Locate the Script and split it into statements.
- getStats() - Method in interface org.jdbi.v3.core.cache.JdbiCache
-
Return implementation specific statistics for the cache object.
- getString(int) - Method in class org.jdbi.v3.core.statement.OutParameters
-
Retrieves an out parameter as a string.
- getString(String) - Method in class org.jdbi.v3.core.statement.OutParameters
-
Retrieves an out parameter as a string.
- getTemplateEngine() - Method in class org.jdbi.v3.core.statement.SqlStatements
-
Returns the
TemplateEnginewhich renders the SQL template. - getter(String, ConfigRegistry) - Method in class org.jdbi.v3.core.argument.ObjectFieldArguments
-
Deprecated.
- getter(String, ConfigRegistry) - Method in class org.jdbi.v3.core.argument.ObjectMethodArguments
-
Deprecated.
- getTimestamp(int) - Method in class org.jdbi.v3.core.statement.OutParameters
-
Retrieves an out parameter as a
Timestampobject. - getTimestamp(String) - Method in class org.jdbi.v3.core.statement.OutParameters
-
Retrieves an out parameter as a
Timestampobject. - getTimingCollector() - Method in class org.jdbi.v3.core.statement.SqlStatements
-
Deprecated.use
SqlStatements.getSqlLogger()instead - getTraceId() - Method in class org.jdbi.v3.core.statement.StatementContext
-
Instrument the telemetry trace id.
- getTransactionHandler() - Method in class org.jdbi.v3.core.Jdbi
-
Returns the
TransactionHandler. - getTransactionIsolationLevel() - Method in class org.jdbi.v3.core.Handle
-
Obtain the current transaction isolation level.
- getType() - Method in class org.jdbi.v3.core.extension.ExtensionMethod
-
Returns the type the method was invoked on.
- getType() - Method in class org.jdbi.v3.core.generic.GenericType
- getType() - Method in class org.jdbi.v3.core.qualifier.QualifiedType
-
Returns the qualified type.
- getTypeName() - Method in interface org.jdbi.v3.core.array.SqlArrayType
-
Returns the vendor-specific SQL type name
Stringfor the element typeT. - getUntypedNullArgument() - Method in class org.jdbi.v3.core.argument.Arguments
-
Returns the untyped null argument.
- getValueColumn() - Method in interface org.jdbi.v3.core.mapper.MapEntryConfig
- getValueColumn() - Method in class org.jdbi.v3.core.mapper.MapEntryMappers
- getWithLoader(K, JdbiCacheLoader<K, V>) - Method in interface org.jdbi.v3.core.cache.JdbiCache
-
Returns a cached value for a key.
H
- H2DatabasePlugin - Class in org.jdbi.v3.core.h2
-
Configure vendor supported types for the H2 Java database implementation
- H2DatabasePlugin() - Constructor for class org.jdbi.v3.core.h2.H2DatabasePlugin
- Handle - Class in org.jdbi.v3.core
-
This represents a connection to the database system.
- HandleCallback<T,
X> - Interface in org.jdbi.v3.core -
Callback that accepts a Handle that remains open for the duration of the callback invocation.
- HandleCallbackDecorator - Interface in org.jdbi.v3.core
-
Decorates the
HandleCallbackinstance forJdbi.useHandle(HandleConsumer),Jdbi.withHandle(HandleCallback),Jdbi.inTransaction(HandleCallback)andJdbi.useTransaction(HandleConsumer). - handleClosed(Handle) - Method in interface org.jdbi.v3.core.HandleListener
-
A handle was closed.
- HandleConsumer<X> - Interface in org.jdbi.v3.core
-
Callback that accepts a
Handleand returns no result. - handleCreated(Handle) - Method in interface org.jdbi.v3.core.HandleListener
-
A handle was created.
- HandleListener - Interface in org.jdbi.v3.core
-
Allows listening to events on the
Handlelifecycle. - Handles - Class in org.jdbi.v3.core
-
Configuration class for handles.
- Handles() - Constructor for class org.jdbi.v3.core.Handles
- HandleScope - Interface in org.jdbi.v3.core
-
Jdbi manages Handles to allow transaction nesting and extension objects to share the same handle as long as they are within a specific scope.
- HandleSupplier - Interface in org.jdbi.v3.core.extension
-
A handle supplier for extension implementors.
- hasExtensionFor(Class<?>) - Method in class org.jdbi.v3.core.extension.Extensions
-
Returns true if an extension is registered for the given extension type.
- hashCode() - Method in class org.jdbi.v3.core.Handle
- hashCode() - Method in class org.jdbi.v3.core.qualifier.QualifiedType
- hashCode() - Method in class org.jdbi.v3.core.spi.JdbiPlugin.Singleton
- hashCode() - Method in class org.jdbi.v3.core.Sql
- hashCode() - Method in class org.jdbi.v3.core.statement.Batch
- hashCode() - Method in class org.jdbi.v3.core.statement.Call
- hashCode() - Method in class org.jdbi.v3.core.statement.MetaData
- hashCode() - Method in class org.jdbi.v3.core.statement.PreparedBatch
- hashCode() - Method in class org.jdbi.v3.core.statement.Query
- hashCode() - Method in class org.jdbi.v3.core.statement.Script
- hashCode() - Method in class org.jdbi.v3.core.statement.SqlStatement
- hashCode() - Method in class org.jdbi.v3.core.statement.Update
- hashCode() - Method in class org.jdbi.v3.core.statement.ParsedParameters
- hashCode() - Method in class org.jdbi.v3.core.statement.ParsedSql
- hashCode() - Method in class org.jdbi.v3.core.statement.StatementContext
- HASHCODE_HANDLER - Static variable in interface org.jdbi.v3.core.extension.ExtensionHandler
-
Implementation for the
Object.hashCode()method. - HashPrefixSqlParser - Class in org.jdbi.v3.core.statement
-
SQL parser which recognizes named parameter tokens of the form
#tokenName. - HashPrefixSqlParser() - Constructor for class org.jdbi.v3.core.statement.HashPrefixSqlParser
- HashPrefixSqlParser(JdbiCacheBuilder) - Constructor for class org.jdbi.v3.core.statement.HashPrefixSqlParser
- hasNext() - Method in class org.jdbi.v3.core.result.ResultIterable.ResultIteratorDelegate
- hasQualifier(Class<? extends Annotation>) - Method in class org.jdbi.v3.core.qualifier.QualifiedType
-
Returns true if this type contains the given qualifier.
I
- id() - Element in annotation type org.jdbi.v3.core.extension.annotation.UseExtensionHandler
-
An extension must declare an id and tag all annotations with it.
- init(ConfigRegistry) - Method in interface org.jdbi.v3.core.mapper.ColumnMapper
-
Allows for initialization of the column mapper instance within a ConfigRegistry scope.
- init(ConfigRegistry) - Method in interface org.jdbi.v3.core.mapper.RowMapper
-
Allows for initialization of the row mapper instance within a ConfigRegistry scope.
- InputStreamArgument - Class in org.jdbi.v3.core.argument
-
Bind an input stream as either an ASCII (discouraged) or binary stream.
- InputStreamArgument(InputStream, int, boolean) - Constructor for class org.jdbi.v3.core.argument.InputStreamArgument
- installPlugin(JdbiPlugin) - Method in class org.jdbi.v3.core.Jdbi
-
Install a given
JdbiPlugininstance that will configure any providedHandleinstances. - installPlugins() - Method in class org.jdbi.v3.core.Jdbi
-
Use the
ServiceLoaderAPI to detect and install plugins automagically. - INSTANCE - Static variable in class org.jdbi.v3.core.argument.BuiltInArgumentFactory
-
Deprecated.
- intercept(S, JdbiInterceptionChain<T>) - Method in interface org.jdbi.v3.core.interceptor.JdbiInterceptor
-
Process a given source object.
- inTransaction(HandleCallback<R, X>) - Method in class org.jdbi.v3.core.async.AbstractJdbiExecutor
- inTransaction(HandleCallback<R, X>) - Method in interface org.jdbi.v3.core.async.JdbiExecutor
-
A convenience function which manages the lifecycle of a handle and yields it to a callback for use by clients.
- inTransaction(HandleCallback<R, X>) - Method in class org.jdbi.v3.core.Handle
-
Executes
callbackin a transaction, and returns the result of the callback. - inTransaction(HandleCallback<R, X>) - Method in class org.jdbi.v3.core.Jdbi
-
A convenience function which manages the lifecycle of a handle and yields it to a callback for use by clients.
- inTransaction(Handle, HandleCallback<R, X>) - Method in class org.jdbi.v3.core.transaction.CMTTransactionHandler
- inTransaction(Handle, HandleCallback<R, X>) - Method in class org.jdbi.v3.core.transaction.DelegatingTransactionHandler
- inTransaction(Handle, HandleCallback<R, X>) - Method in class org.jdbi.v3.core.transaction.LocalTransactionHandler
- inTransaction(Handle, HandleCallback<R, X>) - Method in class org.jdbi.v3.core.transaction.SerializableTransactionRunner
- inTransaction(Handle, HandleCallback<R, X>) - Method in interface org.jdbi.v3.core.transaction.TransactionHandler
-
Run a transaction.
- inTransaction(Handle, TransactionIsolationLevel, HandleCallback<R, X>) - Method in class org.jdbi.v3.core.transaction.CMTTransactionHandler
- inTransaction(Handle, TransactionIsolationLevel, HandleCallback<R, X>) - Method in class org.jdbi.v3.core.transaction.DelegatingTransactionHandler
- inTransaction(Handle, TransactionIsolationLevel, HandleCallback<R, X>) - Method in class org.jdbi.v3.core.transaction.LocalTransactionHandler
- inTransaction(Handle, TransactionIsolationLevel, HandleCallback<R, X>) - Method in class org.jdbi.v3.core.transaction.SerializableTransactionRunner
- inTransaction(Handle, TransactionIsolationLevel, HandleCallback<R, X>) - Method in interface org.jdbi.v3.core.transaction.TransactionHandler
-
Run a transaction.
- inTransaction(TransactionIsolationLevel, HandleCallback<R, X>) - Method in class org.jdbi.v3.core.async.AbstractJdbiExecutor
- inTransaction(TransactionIsolationLevel, HandleCallback<R, X>) - Method in interface org.jdbi.v3.core.async.JdbiExecutor
-
A convenience function which manages the lifecycle of a handle and yields it to a callback for use by clients.
- inTransaction(TransactionIsolationLevel, HandleCallback<R, X>) - Method in class org.jdbi.v3.core.Handle
-
Executes
callbackin a transaction, and returns the result of the callback. - inTransaction(TransactionIsolationLevel, HandleCallback<R, X>) - Method in class org.jdbi.v3.core.Jdbi
-
A convenience function which manages the lifecycle of a handle and yields it to a callback for use by clients.
- intValue() - Method in enum org.jdbi.v3.core.transaction.TransactionIsolationLevel
- invoke() - Method in class org.jdbi.v3.core.statement.Call
-
Invoke the callable statement.
- invoke(Object...) - Method in class org.jdbi.v3.core.extension.ExtensionMetadata.ExtensionHandlerInvoker
-
Invoke the registered extension handler code in the extension context.
- invoke(Consumer<OutParameters>) - Method in class org.jdbi.v3.core.statement.Call
-
Invoke the callable statement and process its
OutParametersresults. - invoke(Function<OutParameters, T>) - Method in class org.jdbi.v3.core.statement.Call
-
Invoke the callable statement and process its
OutParametersresults, returning a computed value of typeT. - invoke(HandleSupplier, Object, Object...) - Method in interface org.jdbi.v3.core.extension.ExtensionHandler
-
Gets invoked to return a value for the method that this handler was bound to.
- invokeInContext(ExtensionContext, Callable<V>) - Method in interface org.jdbi.v3.core.extension.HandleSupplier
-
Bind a new
ExtensionContextto the Handle, invoke the given task, then restore the Handle's extension state. - isAllowProxy() - Method in class org.jdbi.v3.core.extension.Extensions
-
Returns whether Proxy classes are allowed to be used.
- isArray(Type) - Static method in class org.jdbi.v3.core.generic.GenericTypes
-
Checks whether a given
Typeis an Array Type. - isAttachAllStatementsForCleanup() - Method in class org.jdbi.v3.core.statement.SqlStatements
-
If true, all statements created within
Jdbi.withHandle(org.jdbi.v3.core.HandleCallback<R, X>),Jdbi.useHandle(org.jdbi.v3.core.HandleConsumer<X>),Jdbi.inTransaction(org.jdbi.v3.core.HandleCallback<R, X>)andJdbi.useTransaction(org.jdbi.v3.core.HandleConsumer<X>)are attached to theHandleobject for cleanup. - isAttachCallbackStatementsForCleanup() - Method in class org.jdbi.v3.core.statement.SqlStatements
-
If true, statements created within
Jdbi.withHandle(org.jdbi.v3.core.HandleCallback<R, X>),Jdbi.useHandle(org.jdbi.v3.core.HandleConsumer<X>),Jdbi.inTransaction(org.jdbi.v3.core.HandleCallback<R, X>)andJdbi.useTransaction(org.jdbi.v3.core.HandleConsumer<X>)will be attached to theHandleobject in the callback for cleanup. - isBindingNullToPrimitivesPermitted() - Method in class org.jdbi.v3.core.argument.Arguments
-
Returns true if binding
nullto a variable declared as a primitive type is allowed. - isClean() - Method in class org.jdbi.v3.core.Handle
-
Returns true if the Handle currently holds no database resources.
- isClosed() - Method in class org.jdbi.v3.core.Handle
-
Returns true if the
Handlehas been closed. - isConcurrentUpdatable() - Method in class org.jdbi.v3.core.statement.StatementContext
-
Return if the statement should be concurrent updatable.
- isEmpty() - Method in class org.jdbi.v3.core.statement.Binding
-
Returns whether any bindings exist.
- isFailFast() - Method in class org.jdbi.v3.core.extension.Extensions
-
Returns true if misconfigured extension objects fail fast.
- isForceEndTransactions() - Method in class org.jdbi.v3.core.Handles
-
Returns whether to enforce transaction termination discipline when a
Handleis closed. - isInTransaction() - Method in class org.jdbi.v3.core.Handle
-
Returns whether the handle is in a transaction.
- isInTransaction(Handle) - Method in class org.jdbi.v3.core.transaction.CMTTransactionHandler
-
Called to test if a handle is in a transaction
- isInTransaction(Handle) - Method in class org.jdbi.v3.core.transaction.DelegatingTransactionHandler
- isInTransaction(Handle) - Method in class org.jdbi.v3.core.transaction.LocalTransactionHandler
- isInTransaction(Handle) - Method in interface org.jdbi.v3.core.transaction.TransactionHandler
-
Returns whether a given Handle is in the transaction.
- isPositional() - Method in class org.jdbi.v3.core.statement.ParsedParameters
-
Whether the the SQL statement uses positional parameters.
- isPreparedArgumentsEnabled() - Method in class org.jdbi.v3.core.argument.Arguments
-
Returns true if prepared arguments binding is enabled.
- isReadOnly() - Method in class org.jdbi.v3.core.Handle
-
Whether the connection is in read-only mode.
- isReturningGeneratedKeys() - Method in class org.jdbi.v3.core.statement.StatementContext
-
Whether the statement being generated is expected to return generated keys.
- isScriptStatementsNeedSemicolon() - Method in class org.jdbi.v3.core.statement.SqlStatements
-
If true, script statements parsed by a
Scriptobject will have a trailing semicolon. - isStrictMatching() - Method in class org.jdbi.v3.core.mapper.reflect.ReflectionMappers
-
Returns whether strict column name matching is enabled.
- isSuperType(Type, Type) - Static method in class org.jdbi.v3.core.generic.GenericTypes
-
Tests whether a given type is a supertype of another type
- isUnusedBindingAllowed() - Method in class org.jdbi.v3.core.statement.SqlStatements
- iterator() - Method in interface org.jdbi.v3.core.result.ResultIterable
-
Stream all the rows of the result set out with an
Iterator. - IteratorCallback<T,
R, - Interface in org.jdbi.v3.core.resultX> -
Callback for use with
ResultIterable.withIterator(IteratorCallback) - IteratorConsumer<T,
X> - Interface in org.jdbi.v3.core.result -
Callback for use with
ResultIterable.useIterator(IteratorConsumer)
J
- JavaTimeZoneIdArgumentFactory - Class in org.jdbi.v3.core.argument
- JavaTimeZoneIdArgumentFactory() - Constructor for class org.jdbi.v3.core.argument.JavaTimeZoneIdArgumentFactory
- Jdbi - Class in org.jdbi.v3.core
-
Main entry point; configurable wrapper around a JDBC
DataSource. - JdbiCache<K,
V> - Interface in org.jdbi.v3.core.cache -
A generic cache implementation for JDBI internal use.
- JdbiCacheBuilder - Interface in org.jdbi.v3.core.cache
-
Builder class for
JdbiCacheimplementations. - JdbiCacheLoader<K,
V> - Interface in org.jdbi.v3.core.cache -
Creates a new value for a
JdbiCache. - JdbiCacheStats - Interface in org.jdbi.v3.core.cache
-
Simple statistics about a
JdbiCacheinstance. - JdbiCollectors - Class in org.jdbi.v3.core.collector
-
Registry of collector factories.
- JdbiCollectors() - Constructor for class org.jdbi.v3.core.collector.JdbiCollectors
- JdbiConfig<This> - Interface in org.jdbi.v3.core.config
-
Interface for classes that hold configuration.
- JdbiConstructor - Annotation Type in org.jdbi.v3.core.mapper.reflect
-
Indicate to
ConstructorMapperand other reflective mappers how to construct an instance. - JdbiConstructors - Class in org.jdbi.v3.core.mapper.reflect
-
Utilities for
JdbiConstructorannotation. - JdbiException - Exception Class in org.jdbi.v3.core
-
Base unchecked exception for exceptions thrown from jdbi.
- JdbiExecutor - Interface in org.jdbi.v3.core.async
- JdbiFreeBuilders - Class in org.jdbi.v3.core.mapper.freebuilder
-
Configures support for an FreeBuilder generated
Builder)value type. - JdbiFreeBuilders() - Constructor for class org.jdbi.v3.core.mapper.freebuilder.JdbiFreeBuilders
- JdbiImmutables - Class in org.jdbi.v3.core.mapper.immutables
- JdbiImmutables() - Constructor for class org.jdbi.v3.core.mapper.immutables.JdbiImmutables
- JdbiInterceptionChain<T> - Interface in org.jdbi.v3.core.interceptor
-
An instance of an interception chain.
- JdbiInterceptionChainHolder<S,
T> - Class in org.jdbi.v3.core.interceptor -
An interception chain holder to manage transformation operations.
- JdbiInterceptionChainHolder() - Constructor for class org.jdbi.v3.core.interceptor.JdbiInterceptionChainHolder
-
Creates a new chain holder.
- JdbiInterceptionChainHolder(Function<S, T>) - Constructor for class org.jdbi.v3.core.interceptor.JdbiInterceptionChainHolder
-
Creates a new chain holder with a default interceptor.
- JdbiInterceptionChainHolder(JdbiInterceptionChainHolder<S, T>) - Constructor for class org.jdbi.v3.core.interceptor.JdbiInterceptionChainHolder
- JdbiInterceptor<S,
T> - Interface in org.jdbi.v3.core.interceptor -
Generic interface to allow transformation operation interception.
- JdbiPlugin - Interface in org.jdbi.v3.core.spi
-
A plugin is given an opportunity to customize instances of various
Jdbitypes before they are returned from their factories. - JdbiPlugin.Singleton - Class in org.jdbi.v3.core.spi
-
Abstract base class for single-install JdbiPlugins.
- JdbiProperty - Annotation Type in org.jdbi.v3.core.annotation
-
Configure reflective bean and pojo property attributes.
- JdbiStatementEvent - Class in org.jdbi.v3.core.statement
- JdbiStatementEvent() - Constructor for class org.jdbi.v3.core.statement.JdbiStatementEvent
- JoinRow - Class in org.jdbi.v3.core.mapper
-
Holder for a single joined row.
- JoinRowMapper - Class in org.jdbi.v3.core.mapper
-
A
RowMapperimplementation to easily compose existing RowMappers.
L
- length() - Method in class org.jdbi.v3.core.Sql
- LinkedHashMapRowReducer<K,
V> - Interface in org.jdbi.v3.core.result -
A row reducer that uses
LinkedHashMap(which preserves insertion order) as a result container, and returnsmap.values().stream()as the final result. - list() - Method in interface org.jdbi.v3.core.result.ResultIterable
-
Returns results in a
Listusing the JDK specific default implementation ofListas provided byCollectors.toList(). - listPerBatch() - Method in interface org.jdbi.v3.core.result.BatchResultIterable
-
Split the results into per-batch sub-lists.
- LOCALE_LOWER - Enum constant in enum org.jdbi.v3.core.mapper.CaseStrategy
-
All strings to lowercase in system locale.
- LOCALE_UPPER - Enum constant in enum org.jdbi.v3.core.mapper.CaseStrategy
-
All strings to uppercase in system locale.
- LocalTransactionHandler - Class in org.jdbi.v3.core.transaction
-
This
TransactionHandleruses local JDBC transactions demarcated explicitly on the handle and passed through to be handled directly on the JDBC Connection instance. - LocalTransactionHandler() - Constructor for class org.jdbi.v3.core.transaction.LocalTransactionHandler
- locate(Class<?>, String) - Method in class org.jdbi.v3.core.locator.ClasspathSqlLocator
-
Locates SQL for the given type and name.
- locate(String) - Method in class org.jdbi.v3.core.locator.ClasspathSqlLocator
-
Locates SQL for the given fully-qualified name.
- logAfterExecution(StatementContext) - Method in class org.jdbi.v3.core.statement.Slf4JSqlLogger
- logAfterExecution(StatementContext) - Method in interface org.jdbi.v3.core.statement.SqlLogger
-
Will be called after a query has been executed.
- logBeforeExecution(StatementContext) - Method in interface org.jdbi.v3.core.statement.SqlLogger
-
Will be called before a query is executed.
- logException(StatementContext, SQLException) - Method in class org.jdbi.v3.core.statement.Slf4JSqlLogger
- logException(StatementContext, SQLException) - Method in interface org.jdbi.v3.core.statement.SqlLogger
-
Will be called after a query has failed.
- LOWER - Enum constant in enum org.jdbi.v3.core.mapper.CaseStrategy
-
All strings to lowercase in root locale.
M
- makeAccessible(T) - Method in class org.jdbi.v3.core.mapper.reflect.ReflectionMappers
-
Use the accessibility strategy to potentially make a reflective operation accessible.
- map() - Element in annotation type org.jdbi.v3.core.annotation.JdbiProperty
-
Returns true if the property is mapped in a result.
- map(int, CallableStatement) - Method in interface org.jdbi.v3.core.statement.CallableStatementMapper
- map(ResultSet, int, StatementContext) - Method in interface org.jdbi.v3.core.mapper.ColumnMapper
-
Map the given column of the current row of the result set to an Object.
- map(ResultSet, String, StatementContext) - Method in interface org.jdbi.v3.core.mapper.ColumnMapper
-
Map the given column of the current row of the result set to an Object.
- map(ResultSet, StatementContext) - Method in class org.jdbi.v3.core.mapper.JoinRowMapper
- map(ResultSet, StatementContext) - Method in class org.jdbi.v3.core.mapper.MapEntryMapper
- map(ResultSet, StatementContext) - Method in class org.jdbi.v3.core.mapper.MapMapper
- map(ResultSet, StatementContext) - Method in class org.jdbi.v3.core.mapper.reflect.ConstructorMapper
- map(ResultSet, StatementContext) - Method in class org.jdbi.v3.core.mapper.reflect.FieldMapper
- map(ResultSet, StatementContext) - Method in interface org.jdbi.v3.core.mapper.RowMapper
-
Map the current row of the result set.
- map(ResultSet, StatementContext) - Method in interface org.jdbi.v3.core.mapper.RowViewMapper
- map(ResultSet, StatementContext) - Method in class org.jdbi.v3.core.mapper.SingleColumnMapper
- map(Function<? super T, ? extends R>) - Method in interface org.jdbi.v3.core.result.ResultIterable
-
Returns a
ResultIterable<U>derived from thisResultIterable<T>, by transforming elements using the given mapper function. - map(ColumnMapper<T>) - Method in class org.jdbi.v3.core.result.BatchResultBearing
- map(ColumnMapper<T>) - Method in interface org.jdbi.v3.core.result.ResultBearing
-
Maps this result set to a
ResultIterable, using the given column mapper. - map(RowMapper<T>) - Method in class org.jdbi.v3.core.result.BatchResultBearing
- map(RowMapper<T>) - Method in interface org.jdbi.v3.core.result.ResultBearing
-
Maps this result set to a
ResultIterable, using the given row mapper. - map(RowViewMapper<T>) - Method in class org.jdbi.v3.core.result.BatchResultBearing
- map(RowViewMapper<T>) - Method in interface org.jdbi.v3.core.result.ResultBearing
-
Maps this result set to a
ResultIterable, using the givenRowViewMapper. - map(RowView) - Method in interface org.jdbi.v3.core.mapper.RowViewMapper
-
Produce a single result item from the current row of a
RowView. - MapArguments - Class in org.jdbi.v3.core.argument
-
Deprecated.use
SqlStatement.bindMap(Map)instead - MapArguments(Map<String, ?>) - Constructor for class org.jdbi.v3.core.argument.MapArguments
-
Deprecated.
- MapCollectors - Class in org.jdbi.v3.core.collector
- MapEntryConfig<This> - Interface in org.jdbi.v3.core.mapper
- MapEntryMapper<K,
V> - Class in org.jdbi.v3.core.mapper -
Maps rows to
Map.Entry<K, V>, provided there are mappers registered for types K and V. - MapEntryMappers - Class in org.jdbi.v3.core.mapper
-
Configuration class for MapEntryMapper.
- MapEntryMappers() - Constructor for class org.jdbi.v3.core.mapper.MapEntryMappers
- MapMapper - Class in org.jdbi.v3.core.mapper
-
Yo dawg, I heard you like maps, so I made you a mapper that maps rows into
Map<String,Object>. - MapMapper() - Constructor for class org.jdbi.v3.core.mapper.MapMapper
-
Constructs a new MapMapper and delegates case control to MapMappers.
- MapMapper(boolean) - Constructor for class org.jdbi.v3.core.mapper.MapMapper
-
Deprecated.use
MapMappers.setCaseChange(UnaryOperator)instead. - MapMappers - Class in org.jdbi.v3.core.mapper
- MapMappers() - Constructor for class org.jdbi.v3.core.mapper.MapMappers
- Mappers - Class in org.jdbi.v3.core.mapper
-
Configuration class for obtaining row or column mappers.
- Mappers() - Constructor for class org.jdbi.v3.core.mapper.Mappers
- MappingException - Exception Class in org.jdbi.v3.core.mapper
-
Thrown when a mapper fails to map the row to a result type.
- MappingException(String) - Constructor for exception class org.jdbi.v3.core.mapper.MappingException
- MappingException(String, Throwable) - Constructor for exception class org.jdbi.v3.core.mapper.MappingException
- MappingException(Throwable) - Constructor for exception class org.jdbi.v3.core.mapper.MappingException
- mapTo(Class<T>) - Method in class org.jdbi.v3.core.result.BatchResultBearing
- mapTo(Class<T>) - Method in interface org.jdbi.v3.core.result.ResultBearing
-
Maps this result set to a
ResultIterableof the given element type. - mapTo(Type) - Method in class org.jdbi.v3.core.result.BatchResultBearing
- mapTo(Type) - Method in interface org.jdbi.v3.core.result.ResultBearing
-
Maps this result set to a
ResultIterableof the given element type. - mapTo(GenericType<T>) - Method in class org.jdbi.v3.core.result.BatchResultBearing
- mapTo(GenericType<T>) - Method in interface org.jdbi.v3.core.result.ResultBearing
-
Maps this result set to a
ResultIterableof the given element type. - mapTo(QualifiedType<T>) - Method in class org.jdbi.v3.core.result.BatchResultBearing
- mapTo(QualifiedType<T>) - Method in interface org.jdbi.v3.core.result.ResultBearing
-
Maps this result set to a
ResultIterableof the given qualified element type. - mapToBean(Class<T>) - Method in class org.jdbi.v3.core.result.BatchResultBearing
- mapToBean(Class<T>) - Method in interface org.jdbi.v3.core.result.ResultBearing
-
Maps this result set to a
ResultIterableof the given element type, usingBeanMapper. - mapToMap() - Method in class org.jdbi.v3.core.result.BatchResultBearing
- mapToMap() - Method in interface org.jdbi.v3.core.result.ResultBearing
-
Maps this result set to a
ResultIterableofMap<String,Object>. - mapToMap(Class<T>) - Method in class org.jdbi.v3.core.result.BatchResultBearing
- mapToMap(Class<T>) - Method in interface org.jdbi.v3.core.result.ResultBearing
- mapToMap(GenericType<T>) - Method in class org.jdbi.v3.core.result.BatchResultBearing
- mapToMap(GenericType<T>) - Method in interface org.jdbi.v3.core.result.ResultBearing
- mapType(Function<Type, Type>) - Method in class org.jdbi.v3.core.qualifier.QualifiedType
-
Apply the provided mapping function to the type, and if non-empty is returned, return an
Optional<QualifiedType<?>>with the returned type, and the same qualifiers as this instance. - maxFieldSize(int) - Static method in class org.jdbi.v3.core.statement.StatementCustomizers
-
Sets the limit of large variable size types like
VARCHAR. - maxRows(int) - Static method in class org.jdbi.v3.core.statement.StatementCustomizers
-
Limit number of rows returned.
- maxSize() - Method in interface org.jdbi.v3.core.cache.JdbiCacheStats
-
Returns the maximum size of the cache.
- maxSize(int) - Method in interface org.jdbi.v3.core.cache.JdbiCacheBuilder
-
Sets an upper boundary to the cache size.
- MessageFormatTemplateEngine - Class in org.jdbi.v3.core.statement
-
Deprecated.
MessageFormatformats integers with decimal separators, e.g.1000→"1,000". This hindsight realization has led us to discourage its use. - MessageFormatTemplateEngine() - Constructor for class org.jdbi.v3.core.statement.MessageFormatTemplateEngine
-
Deprecated.
- MetaData - Class in org.jdbi.v3.core.statement
-
Access to Database Metadata.
- MetaData(Handle, MetaData.MetaDataValueProvider<?>) - Constructor for class org.jdbi.v3.core.statement.MetaData
- MetaData.MetaDataResultSetProvider - Interface in org.jdbi.v3.core.statement
- MetaData.MetaDataValueProvider<T> - Interface in org.jdbi.v3.core.statement
- missingExtensionHandler(Method) - Static method in interface org.jdbi.v3.core.extension.ExtensionHandler
-
Returns a default handler for missing functionality.
- modifiedRowCounts() - Method in class org.jdbi.v3.core.result.BatchResultBearing
-
Returns the mod counts for the executed
PreparedBatchNote that some database drivers might return special values likeStatement.SUCCESS_NO_INFOorStatement.EXECUTE_FAILED.
N
- NAME - Static variable in class org.jdbi.v3.core.statement.JdbiStatementEvent
- named(List<String>) - Static method in class org.jdbi.v3.core.statement.ParsedParameters
-
A static factory of named
ParsedParametersinstances. - NamedArgumentFinder - Interface in org.jdbi.v3.core.argument
-
Returns an Argument based on a name.
- nameParameter(String, StatementContext) - Method in class org.jdbi.v3.core.statement.ColonPrefixSqlParser
- nameParameter(String, StatementContext) - Method in class org.jdbi.v3.core.statement.HashPrefixSqlParser
- nameParameter(String, StatementContext) - Method in interface org.jdbi.v3.core.statement.SqlParser
-
Convert rawName to a name as recognized by this parser
- Nested - Annotation Type in org.jdbi.v3.core.mapper
-
Signals that the annotated element is a nested mapped type.
- next() - Method in interface org.jdbi.v3.core.interceptor.JdbiInterceptionChain
-
Called from an
JdbiInterceptorto execute the next interceptor on the chain. - NO_OP - Static variable in interface org.jdbi.v3.core.statement.Cleanable
-
A cleanable that does nothing.
- NON_VIRTUAL_FACTORY - Enum constant in enum org.jdbi.v3.core.extension.ExtensionFactory.FactoryFlag
-
The factory provides a concrete instance to back the extension type.
- NONE - Enum constant in enum org.jdbi.v3.core.statement.StatementExceptions.MessageRendering
-
Do not include SQL or parameter information.
- NONE - Enum constant in enum org.jdbi.v3.core.transaction.TransactionIsolationLevel
- NOP - Enum constant in enum org.jdbi.v3.core.mapper.CaseStrategy
-
No case sensitivity.
- NOP - Static variable in interface org.jdbi.v3.core.statement.TemplateEngine
-
Convenience constant that returns the input template.
- NOP_SQL_LOGGER - Static variable in interface org.jdbi.v3.core.statement.SqlLogger
- NOP_TIMING_COLLECTOR - Static variable in interface org.jdbi.v3.core.statement.TimingCollector
-
Deprecated.Use
SqlLogger.NOP_SQL_LOGGERinstead. - NoResultsException - Exception Class in org.jdbi.v3.core.result
-
Thrown when no results were found in a context that requires at least one.
- NoResultsException(String, Throwable, StatementContext) - Constructor for exception class org.jdbi.v3.core.result.NoResultsException
- NoResultsException(String, StatementContext) - Constructor for exception class org.jdbi.v3.core.result.NoResultsException
- NoResultsException(Throwable, StatementContext) - Constructor for exception class org.jdbi.v3.core.result.NoResultsException
- NoSuchCollectorException - Exception Class in org.jdbi.v3.core.collector
-
Thrown when Jdbi tries to produce a result Collector but doesn't have a factory to produce it with.
- NoSuchCollectorException(String) - Constructor for exception class org.jdbi.v3.core.collector.NoSuchCollectorException
- NoSuchCollectorException(String, Throwable) - Constructor for exception class org.jdbi.v3.core.collector.NoSuchCollectorException
- NoSuchCollectorException(Throwable) - Constructor for exception class org.jdbi.v3.core.collector.NoSuchCollectorException
- NoSuchExtensionException - Exception Class in org.jdbi.v3.core.extension
-
Thrown when no
ExtensionFactoryaccepts a given extension type. - NoSuchExtensionException(Class<?>) - Constructor for exception class org.jdbi.v3.core.extension.NoSuchExtensionException
-
Creates an instance with an extension type and the default message.
- NoSuchExtensionException(Class<?>, String) - Constructor for exception class org.jdbi.v3.core.extension.NoSuchExtensionException
-
Creates an instance with an extension type and a custom message.
- NoSuchExtensionException(Class<?>, String, Throwable) - Constructor for exception class org.jdbi.v3.core.extension.NoSuchExtensionException
-
Creates an instance with an extension type and a custom message.
- NoSuchExtensionException(Class<?>, Throwable) - Constructor for exception class org.jdbi.v3.core.extension.NoSuchExtensionException
-
Creates an instance with an extension type and the default message.
- NoSuchMapperException - Exception Class in org.jdbi.v3.core.mapper
-
Thrown when you attempt to map a type that
Jdbidoesn't have a registered mapper factory for. - NoSuchMapperException(String) - Constructor for exception class org.jdbi.v3.core.mapper.NoSuchMapperException
- NoSuchMapperException(String, Throwable) - Constructor for exception class org.jdbi.v3.core.mapper.NoSuchMapperException
- NoSuchMapperException(Throwable) - Constructor for exception class org.jdbi.v3.core.mapper.NoSuchMapperException
- NoTemplateEngine - Class in org.jdbi.v3.core.statement
-
A TemplateEngine that does not do any templating but returns SQL verbatim.
- NoTemplateEngine() - Constructor for class org.jdbi.v3.core.statement.NoTemplateEngine
- NULL_HANDLER - Static variable in interface org.jdbi.v3.core.extension.ExtensionHandler
-
Handler that only returns null independent of any input parameters.
- NULL_KEYWORD - Enum constant in enum org.jdbi.v3.core.statement.EmptyHandling
-
Render the keyword
nullin the query, useful e.g. in postgresql where "in ()" is invalid syntax. - NullArgument - Class in org.jdbi.v3.core.argument
-
A typed SQL null argument.
- NullArgument(int) - Constructor for class org.jdbi.v3.core.argument.NullArgument
- NullArgument(Integer) - Constructor for class org.jdbi.v3.core.argument.NullArgument
- NVarchar - Annotation Type in org.jdbi.v3.core.qualifier
-
Argument qualifier annotation, indicating that the annotated String element should be bound as an
NVARCHARinstead of aVARCHAR.
O
- OBJECT_ARRAY - Enum constant in enum org.jdbi.v3.core.array.SqlArrayArgumentStrategy
-
Bind using
PreparedStatement.setObject(int, Object)with an array object. - ObjectArgument - Class in org.jdbi.v3.core.argument
-
An Argument which uses
setObjectto support vendor specific types. - ObjectArgument(Object, Integer) - Constructor for class org.jdbi.v3.core.argument.ObjectArgument
-
Deprecated.use
ObjectArgument.of(Object, Integer)factory method for more consistentnullhandling - ObjectArgumentFactory - Class in org.jdbi.v3.core.argument
-
Argument factory that matches a specified type and binds it as an
ObjectArgument. - ObjectFieldArguments - Class in org.jdbi.v3.core.argument
-
Deprecated.this functionality will remain supported, but this class should not be API
- ObjectFieldArguments(String, Object) - Constructor for class org.jdbi.v3.core.argument.ObjectFieldArguments
-
Deprecated.
- ObjectMethodArguments - Class in org.jdbi.v3.core.argument
-
Deprecated.this functionality will remain supported, but this class should not be API
- ObjectMethodArguments(String, Object) - Constructor for class org.jdbi.v3.core.argument.ObjectMethodArguments
-
Deprecated.
- of(CharSequence...) - Static method in class org.jdbi.v3.core.Sql
- of(Class<C>, Consumer<C>) - Static method in class org.jdbi.v3.core.config.ConfiguringPlugin
- of(Class<T>) - Static method in class org.jdbi.v3.core.mapper.reflect.BeanMapper
-
Returns a mapper for the given bean class
- of(Class<T>) - Static method in class org.jdbi.v3.core.mapper.reflect.ConstructorMapper
-
Return a ConstructorMapper for the given type.
- of(Class<T>) - Static method in class org.jdbi.v3.core.mapper.reflect.FieldMapper
-
Returns a mapper for the given bean class
- of(Class<T>) - Static method in class org.jdbi.v3.core.qualifier.QualifiedType
-
Creates a
QualifiedType<T>for aClass<T>with no qualifiers. - of(Class<T>, Class<?>) - Static method in class org.jdbi.v3.core.mapper.reflect.ConstructorMapper
-
Return a ConstructorMapper for the given type, based on a static factory method found in the given class.
- of(Class<T>, Class<?>, String) - Static method in class org.jdbi.v3.core.mapper.reflect.ConstructorMapper
-
Return a ConstructorMapper for the given type and prefix, based on a static factory method found in the given class.
- of(Class<T>, String) - Static method in class org.jdbi.v3.core.mapper.reflect.BeanMapper
-
Returns a mapper for the given bean class
- of(Class<T>, String) - Static method in class org.jdbi.v3.core.mapper.reflect.ConstructorMapper
-
Return a ConstructorMapper for the given type and prefix.
- of(Class<T>, String) - Static method in class org.jdbi.v3.core.mapper.reflect.FieldMapper
-
Returns a mapper for the given bean class
- of(Class<T>, String, Function<T, ?>) - Static method in interface org.jdbi.v3.core.array.SqlArrayTypeFactory
-
Create a SqlArrayTypeFactory for the given
elementTypethat binds using a type name and convert function. - of(Iterable<? extends CharSequence>) - Static method in class org.jdbi.v3.core.Sql
- of(Object) - Static method in class org.jdbi.v3.core.argument.ObjectArgument
-
Bind a vendor-supported object with the given SQL type.
- of(Object, Integer) - Static method in class org.jdbi.v3.core.argument.ObjectArgument
-
Bind a vendor-supported object with the given SQL type.
- of(Constructor<T>) - Static method in class org.jdbi.v3.core.mapper.reflect.ConstructorMapper
-
Return a ConstructorMapper using the given constructor
- of(Constructor<T>, String) - Static method in class org.jdbi.v3.core.mapper.reflect.ConstructorMapper
-
Instantiate a ConstructorMapper using the given constructor and prefix
- of(Type) - Static method in class org.jdbi.v3.core.qualifier.QualifiedType
-
Creates a wildcard
QualifiedType<?>for aTypewith no qualifiers. - of(Type, ColumnMapper<?>) - Static method in interface org.jdbi.v3.core.mapper.ColumnMapperFactory
-
Create a ColumnMapperFactory from a given
ColumnMapperthat matches a single Type exactly. - of(Type, RowMapper<?>) - Static method in interface org.jdbi.v3.core.mapper.RowMapperFactory
- of(String, Function<T, ?>) - Static method in interface org.jdbi.v3.core.array.SqlArrayType
-
Create a SqlArrayType from the given type and convert function.
- of(String, ParsedParameters) - Static method in class org.jdbi.v3.core.statement.ParsedSql
-
A static factory of
ParsedSqlinstances. - of(Supplier<ResultSet>, RowMapper<T>, StatementContext) - Static method in interface org.jdbi.v3.core.result.ResultIterable
-
Returns a ResultIterable backed by the given result set supplier, mapper, and context.
- of(Supplier<ResultSet>, StatementContext) - Static method in interface org.jdbi.v3.core.result.ResultBearing
-
Returns a ResultBearing backed by the given result set supplier and context.
- of(GenericType<T>) - Static method in class org.jdbi.v3.core.qualifier.QualifiedType
-
Creates a
QualifiedType<T>for aGenericType<T>with no qualifiers. - of(QualifiedType<T>, ColumnMapper<T>) - Static method in interface org.jdbi.v3.core.mapper.QualifiedColumnMapperFactory
-
Create a QualifiedColumnMapperFactory from a given
ColumnMapperthat matches a singleQualifiedTypeexactly. - of(ResultIterable<U>, Supplier<int[]>) - Static method in interface org.jdbi.v3.core.result.BatchResultIterable
- of(ResultIterator<T>) - Static method in interface org.jdbi.v3.core.result.ResultIterable
-
Returns a ResultIterable backed by the given iterator.
- onCreateProxy() - Method in class org.jdbi.v3.core.extension.Extensions
-
Throw if proxy creation is disallowed.
- onDemand(Class<E>) - Method in class org.jdbi.v3.core.Jdbi
-
Creates an extension instance that uses the current
Jdbiinstance for database operations. - one() - Method in interface org.jdbi.v3.core.result.ResultIterable
-
Returns the only row in the result set.
- one() - Method in class org.jdbi.v3.core.statement.Update
- open() - Method in class org.jdbi.v3.core.Jdbi
-
Obtain a Handle to the data source wrapped by this Jdbi instance.
- open(String) - Static method in class org.jdbi.v3.core.Jdbi
-
Obtain a handle with just a JDBC URL
- open(String, String, String) - Static method in class org.jdbi.v3.core.Jdbi
-
Obtain a handle with just a JDBC URL
- open(String, Properties) - Static method in class org.jdbi.v3.core.Jdbi
-
Obtain a handle with just a JDBC URL
- open(Connection) - Static method in class org.jdbi.v3.core.Jdbi
-
Create a Handle wrapping a particular JDBC Connection
- open(DataSource) - Static method in class org.jdbi.v3.core.Jdbi
-
Convenience method used to obtain a handle from a specific data source
- open(ConnectionFactory) - Static method in class org.jdbi.v3.core.Jdbi
-
Convenience method used to obtain a handle from a
ConnectionFactory. - openConnection() - Method in interface org.jdbi.v3.core.ConnectionFactory
-
Opens a connection.
- OptionalCollectors - Class in org.jdbi.v3.core.collector
-
Factory methods for
collectorsof optional types. - org.jdbi.v3.core - package org.jdbi.v3.core
-
The 'core' package hosts the top level interface into jdbi core.
- org.jdbi.v3.core.annotation - package org.jdbi.v3.core.annotation
- org.jdbi.v3.core.argument - package org.jdbi.v3.core.argument
-
The
argumentclasses translate Java types into JDBC parameters. - org.jdbi.v3.core.array - package org.jdbi.v3.core.array
-
The
arraypackage binds Java arrays and collections to SQL arrays, and handles mapping array result types back to Java arrays and collections. - org.jdbi.v3.core.async - package org.jdbi.v3.core.async
- org.jdbi.v3.core.cache - package org.jdbi.v3.core.cache
-
Pluggable cache interface for Jdbi internal caches.
- org.jdbi.v3.core.codec - package org.jdbi.v3.core.codec
- org.jdbi.v3.core.collector - package org.jdbi.v3.core.collector
-
The
collectorpackage reduces the mapped rows of the result set into a Stream Collector to produce the final aggregated result. - org.jdbi.v3.core.config - package org.jdbi.v3.core.config
-
The
configclasses define a configuration registry starting from eachJdbiinstance. - org.jdbi.v3.core.enums - package org.jdbi.v3.core.enums
- org.jdbi.v3.core.extension - package org.jdbi.v3.core.extension
-
The
extensionclasses allow you to extendJdbi's functionality by declaring interface types that may attach toHandleinstances. - org.jdbi.v3.core.extension.annotation - package org.jdbi.v3.core.extension.annotation
- org.jdbi.v3.core.generic - package org.jdbi.v3.core.generic
-
The
genericpackage holds utility methods and helper types for reflectively working with Java generic types. - org.jdbi.v3.core.h2 - package org.jdbi.v3.core.h2
-
The
h2package adds vendor support for the H2 embeddable pure Java database implementation. - org.jdbi.v3.core.interceptor - package org.jdbi.v3.core.interceptor
- org.jdbi.v3.core.locator - package org.jdbi.v3.core.locator
-
locatorinstances inspect text given toJdbiand provide lookup of the actual SQL to execute. - org.jdbi.v3.core.mapper - package org.jdbi.v3.core.mapper
-
mappers take the JDBC ResultSet and produce Java results. - org.jdbi.v3.core.mapper.freebuilder - package org.jdbi.v3.core.mapper.freebuilder
- org.jdbi.v3.core.mapper.immutables - package org.jdbi.v3.core.mapper.immutables
- org.jdbi.v3.core.mapper.reflect - package org.jdbi.v3.core.mapper.reflect
-
mapper.reflectprovides RowMappers that reflectively construct result types using techniques like constructor injection or JavaBeans setters. - org.jdbi.v3.core.qualifier - package org.jdbi.v3.core.qualifier
- org.jdbi.v3.core.result - package org.jdbi.v3.core.result
-
resultprovides the streaming interface that reads rows from JDBC and drives themapperandcollectorprocesses to produce results. - org.jdbi.v3.core.spi - package org.jdbi.v3.core.spi
-
The
spipackage includes entrypoints to extendingJdbiinstances with your own custom functionality. - org.jdbi.v3.core.statement - package org.jdbi.v3.core.statement
-
The
statementpackage provides most of the Fluent API to drive statement execution. - org.jdbi.v3.core.transaction - package org.jdbi.v3.core.transaction
-
The
transactionpackage implements the strategyJdbiuses to open and close transactions. - org.jdbi.v3.meta - package org.jdbi.v3.meta
- OutParameters - Class in org.jdbi.v3.core.statement
-
Holds all output parameters from a stored procedure call using
Call.
P
- parameterizeClass(Class<?>, Type...) - Static method in class org.jdbi.v3.core.generic.GenericTypes
-
Creates a type of class
clazzwithargumentsas type arguments. - parameters - Variable in class org.jdbi.v3.core.statement.JdbiStatementEvent
- PARAMETERS - Enum constant in enum org.jdbi.v3.core.statement.StatementExceptions.MessageRendering
-
Include bound parameters but not the SQL.
- parse(String, ConfigRegistry) - Method in class org.jdbi.v3.core.statement.DefinedAttributeTemplateEngine
- parse(String, ConfigRegistry) - Method in interface org.jdbi.v3.core.statement.TemplateEngine
-
Parse a SQL template and return a parsed representation ready to apply to a statement.
- parse(String, ConfigRegistry) - Method in interface org.jdbi.v3.core.statement.TemplateEngine.Parsing
- parse(String, StatementContext) - Method in class org.jdbi.v3.core.statement.CachingSqlParser
- parse(String, StatementContext) - Method in interface org.jdbi.v3.core.statement.SqlParser
-
Parses the given SQL statement, and returns the
ParsedSqlfor the statement. - PARSED_SQL_CACHE_SIZE - Static variable in class org.jdbi.v3.core.statement.CachingSqlParser
-
The default size of the parsed SQL cache.
- ParsedParameters - Class in org.jdbi.v3.core.statement
-
The parsed parameters from an SQL statement.
- ParsedSql - Class in org.jdbi.v3.core.statement
-
The SQL and parameters parsed from an SQL statement.
- ParsedSql.Builder - Class in org.jdbi.v3.core.statement
-
Fluent builder for ParsedSql instances.
- positional(int) - Static method in class org.jdbi.v3.core.statement.ParsedParameters
-
A static factory of positional
ParsedParametersinstances. - prepare(Type, ConfigRegistry) - Method in class org.jdbi.v3.core.argument.AbstractArgumentFactory
- prepare(Type, ConfigRegistry) - Method in interface org.jdbi.v3.core.argument.ArgumentFactory.Preparable
- prepare(Type, ConfigRegistry) - Method in class org.jdbi.v3.core.argument.BuiltInArgumentFactory
-
Deprecated.
- prepare(Type, ConfigRegistry) - Method in class org.jdbi.v3.core.argument.ObjectArgumentFactory
- prepare(Type, ConfigRegistry) - Method in class org.jdbi.v3.core.argument.SetObjectArgumentFactory
- prepare(Type, ConfigRegistry) - Method in class org.jdbi.v3.core.array.SqlArrayArgumentFactory
- prepare(QualifiedType<?>, ConfigRegistry) - Method in interface org.jdbi.v3.core.argument.QualifiedArgumentFactory.Preparable
- prepare(QualifiedType<?>, ConfigRegistry) - Method in class org.jdbi.v3.core.codec.CodecFactory
- prepareBatch(CharSequence) - Method in class org.jdbi.v3.core.Handle
-
Prepare a batch to execute.
- prepareBatch(String) - Method in class org.jdbi.v3.core.Handle
-
Prepare a batch to execute.
- PreparedBatch - Class in org.jdbi.v3.core.statement
-
Represents a prepared batch statement.
- PreparedBatch(Handle, CharSequence) - Constructor for class org.jdbi.v3.core.statement.PreparedBatch
- PreparedBatch(Handle, String) - Constructor for class org.jdbi.v3.core.statement.PreparedBatch
-
Backwards compatible constructor that takes an explicit string argument.
- prepareFor(Type) - Method in class org.jdbi.v3.core.argument.Arguments
-
Obtain a prepared argument function for given type in the given context.
- prepareFor(QualifiedType<?>) - Method in class org.jdbi.v3.core.argument.Arguments
-
Obtain a prepared argument function for given type in the given context.
- prePreparedTypes() - Method in class org.jdbi.v3.core.argument.AbstractArgumentFactory
-
Deprecated.no longer used
- prePreparedTypes() - Method in interface org.jdbi.v3.core.argument.ArgumentFactory.Preparable
-
Deprecated.no longer used
- prePreparedTypes() - Method in class org.jdbi.v3.core.argument.BuiltInArgumentFactory
-
Deprecated.no longer used
- prePreparedTypes() - Method in interface org.jdbi.v3.core.argument.QualifiedArgumentFactory.Preparable
-
Deprecated.no longer used
- prePreparedTypes() - Method in class org.jdbi.v3.core.argument.SetObjectArgumentFactory
-
Deprecated.no longer used
- prePreparedTypes() - Method in class org.jdbi.v3.core.codec.CodecFactory
-
Deprecated.no longer used
- process(S) - Method in class org.jdbi.v3.core.interceptor.JdbiInterceptionChainHolder
-
Processes a source object and returns a target object.
- produce(Supplier<PreparedStatement>, StatementContext) - Method in interface org.jdbi.v3.core.result.ResultProducer
-
Produces a statement result from a lazily supplied
PreparedStatement. - PropagateNull - Annotation Type in org.jdbi.v3.core.mapper
-
Signals that the annotated property signals the presence of the mapped type: reflective mappers should map a null bean if this property is null, rather than a present bean with a null property value.
- provideValue(DatabaseMetaData) - Method in interface org.jdbi.v3.core.statement.MetaData.MetaDataResultSetProvider
- provideValue(DatabaseMetaData) - Method in interface org.jdbi.v3.core.statement.MetaData.MetaDataValueProvider
Q
- QualifiedArgumentFactory - Interface in org.jdbi.v3.core.argument
-
Inspect a value with optional static qualified type information and produce an
Argumentthat binds the value to a prepared statement. - QualifiedArgumentFactory.Preparable - Interface in org.jdbi.v3.core.argument
-
QualifiedArgumentFactory extension interface that allows preparing arguments for efficient batch binding.
- QualifiedColumnMapperFactory - Interface in org.jdbi.v3.core.mapper
-
Factory interface used to produce column mappers.
- QualifiedType<T> - Class in org.jdbi.v3.core.qualifier
-
A
Typequalified by a set of qualifier annotations. - qualifiedTypeOf(ELEM) - Method in class org.jdbi.v3.core.qualifier.Qualifiers
- Qualifier - Annotation Type in org.jdbi.v3.core.qualifier
-
Annotation used to identify type qualifying annotations.
- Qualifiers - Class in org.jdbi.v3.core.qualifier
-
Utility class for type qualifiers supported by Jdbi core.
- Qualifiers() - Constructor for class org.jdbi.v3.core.qualifier.Qualifiers
- Query - Class in org.jdbi.v3.core.statement
-
Statement providing convenience result handling for SQL queries.
- Query(Handle, CharSequence) - Constructor for class org.jdbi.v3.core.statement.Query
- Query(Handle, String) - Constructor for class org.jdbi.v3.core.statement.Query
-
Backwards compatible constructor that takes an explicit string argument.
- queryMetadata(MetaData.MetaDataResultSetProvider) - Method in class org.jdbi.v3.core.Handle
-
Access database metadata that returns a
ResultSet. - queryMetadata(MetaData.MetaDataValueProvider<T>) - Method in class org.jdbi.v3.core.Handle
-
Access all database metadata that returns simple values.
R
- READ_COMMITTED - Enum constant in enum org.jdbi.v3.core.transaction.TransactionIsolationLevel
- READ_UNCOMMITTED - Enum constant in enum org.jdbi.v3.core.transaction.TransactionIsolationLevel
- reduce(U, BiFunction<U, T, U>) - Method in interface org.jdbi.v3.core.result.ResultIterable
-
Reduce the results.
- reduceResultSet(U, ResultSetAccumulator<U>) - Method in class org.jdbi.v3.core.result.BatchResultBearing
- reduceResultSet(U, ResultSetAccumulator<U>) - Method in interface org.jdbi.v3.core.result.ResultBearing
-
Reduce the results.
- reduceRows(BiConsumer<Map<K, V>, RowView>) - Method in class org.jdbi.v3.core.result.BatchResultBearing
- reduceRows(BiConsumer<Map<K, V>, RowView>) - Method in interface org.jdbi.v3.core.result.ResultBearing
-
Reduce the result rows using a
Map<K, V>as the result container. - reduceRows(RowReducer<C, R>) - Method in class org.jdbi.v3.core.result.BatchResultBearing
- reduceRows(RowReducer<C, R>) - Method in interface org.jdbi.v3.core.result.ResultBearing
-
Reduce the result rows using the given row reducer.
- reduceRows(U, BiFunction<U, RowView, U>) - Method in class org.jdbi.v3.core.result.BatchResultBearing
- reduceRows(U, BiFunction<U, RowView, U>) - Method in interface org.jdbi.v3.core.result.ResultBearing
-
Reduce the results.
- ReflectionMappers - Class in org.jdbi.v3.core.mapper.reflect
-
Configuration class for reflective mappers.
- ReflectionMappers() - Constructor for class org.jdbi.v3.core.mapper.reflect.ReflectionMappers
-
Create a default configuration that attempts case insensitive and snake_case matching for names.
- ReflectionMapperUtil - Class in org.jdbi.v3.core.mapper.reflect
-
Utilities for reflective mappers.
- register(Class<?>, String) - Method in class org.jdbi.v3.core.array.SqlArrayTypes
-
Register an array element type that is supported by the JDBC vendor.
- register(Type, ColumnMapper<?>) - Method in class org.jdbi.v3.core.mapper.ColumnMappers
- register(Type, RowMapper<?>) - Method in class org.jdbi.v3.core.mapper.RowMappers
-
Register a row mapper for a given type.
- register(ArgumentFactory) - Method in class org.jdbi.v3.core.argument.Arguments
-
Registers the given argument factory.
- register(QualifiedArgumentFactory) - Method in class org.jdbi.v3.core.argument.Arguments
-
Registers the given qualified argument factory.
- register(SqlArrayType<?>) - Method in class org.jdbi.v3.core.array.SqlArrayTypes
-
Register a
SqlArrayTypewhich will have its parameterized type inspected to determine which element type it supports. - register(SqlArrayTypeFactory) - Method in class org.jdbi.v3.core.array.SqlArrayTypes
-
Register a
SqlArrayTypeFactory. - register(CollectorFactory) - Method in class org.jdbi.v3.core.collector.JdbiCollectors
-
Register a new
CollectorFactory. - register(ExtensionFactory) - Method in class org.jdbi.v3.core.extension.Extensions
-
Register a
ExtensionFactoryinstance with the extension framework. - register(GenericType<T>, ColumnMapper<T>) - Method in class org.jdbi.v3.core.mapper.ColumnMappers
-
Register a column mapper for a given explicit
GenericTypeColumn mappers may be reused byRowMapperto map individual columns. - register(GenericType<T>, RowMapper<T>) - Method in class org.jdbi.v3.core.mapper.RowMappers
-
Register a row mapper for a given type.
- register(ColumnMapper<?>) - Method in class org.jdbi.v3.core.mapper.ColumnMappers
-
Register a column mapper which will have its parameterized type inspected to determine what it maps to.
- register(ColumnMapperFactory) - Method in class org.jdbi.v3.core.mapper.ColumnMappers
-
Register a column mapper factory.
- register(QualifiedColumnMapperFactory) - Method in class org.jdbi.v3.core.mapper.ColumnMappers
-
Register a qualified column mapper factory.
- register(RowMapper<?>) - Method in class org.jdbi.v3.core.mapper.RowMappers
-
Register a row mapper which will have its parameterized type inspected to determine what it maps to.
- register(RowMapperFactory) - Method in class org.jdbi.v3.core.mapper.RowMappers
-
Register a row mapper factory.
- register(QualifiedType<T>, ColumnMapper<T>) - Method in class org.jdbi.v3.core.mapper.ColumnMappers
-
Register a column mapper for a given
QualifiedTypeColumn mappers may be reused byRowMapperto map individual columns. - registerArgument(ArgumentFactory) - Method in interface org.jdbi.v3.core.config.Configurable
-
Convenience method for
getConfig(Arguments.class).register(factory) - registerArgument(QualifiedArgumentFactory) - Method in interface org.jdbi.v3.core.config.Configurable
-
Convenience method for
getConfig(Arguments.class).register(factory) - registerArrayType(Class<?>, String) - Method in interface org.jdbi.v3.core.config.Configurable
-
Convenience method for
getConfig(SqlArrayTypes.class).register(elementType, sqlTypeName) - registerArrayType(Class<T>, String, Function<T, ?>) - Method in interface org.jdbi.v3.core.config.Configurable
-
Convenience method for registering an array type as
SqlArrayTypeFactory.of(Class, String, Function). - registerArrayType(SqlArrayType<?>) - Method in interface org.jdbi.v3.core.config.Configurable
-
Convenience method for
getConfig(SqlArrayTypes.class).register(arrayType) - registerArrayType(SqlArrayTypeFactory) - Method in interface org.jdbi.v3.core.config.Configurable
-
Convenience method for
getConfig(SqlArrayTypes.class).register(factory) - registerCodecFactory(CodecFactory) - Method in interface org.jdbi.v3.core.config.Configurable
-
Convenience method to register a
CodecFactory. - registerCollector(Type, Collector<?, ?, ?>) - Method in class org.jdbi.v3.core.collector.JdbiCollectors
-
Register a new
Collectorfor the given type. - registerCollector(Type, Collector<?, ?, ?>) - Method in interface org.jdbi.v3.core.config.Configurable
-
Convenience method for
getConfig(JdbiCollectors.class).register(CollectorFactory.collectorFactory(collectionType, collector)) - registerCollector(CollectorFactory) - Method in interface org.jdbi.v3.core.config.Configurable
-
Convenience method for
getConfig(JdbiCollectors.class).register(factory) - registerColumnMapper(Type, ColumnMapper<?>) - Method in interface org.jdbi.v3.core.config.Configurable
-
Convenience method for
getConfig(ColumnMappers.class).register(type, mapper) - registerColumnMapper(GenericType<T>, ColumnMapper<T>) - Method in interface org.jdbi.v3.core.config.Configurable
-
Convenience method for
getConfig(ColumnMappers.class).register(type, mapper) - registerColumnMapper(ColumnMapper<?>) - Method in interface org.jdbi.v3.core.config.Configurable
-
Convenience method for
getConfig(ColumnMappers.class).register(mapper) - registerColumnMapper(ColumnMapperFactory) - Method in interface org.jdbi.v3.core.config.Configurable
-
Convenience method for
getConfig(ColumnMappers.class).register(factory) - registerColumnMapper(QualifiedColumnMapperFactory) - Method in interface org.jdbi.v3.core.config.Configurable
-
Convenience method for
getConfig(ColumnMappers.class).register(factory) - registerColumnMapper(QualifiedType<T>, ColumnMapper<T>) - Method in interface org.jdbi.v3.core.config.Configurable
-
Convenience method for
getConfig(ColumnMappers.class).register(type, mapper) - registerConfigCustomizerFactory(ConfigCustomizerFactory) - Method in class org.jdbi.v3.core.extension.Extensions
-
Registers a global
ConfigCustomizerFactoryinstance. - registerExtension(ExtensionFactory) - Method in interface org.jdbi.v3.core.config.Configurable
-
Convenience method for
getConfig(Extensions.class).register(factory) - registerFreeBuilder(Class<?>...) - Method in class org.jdbi.v3.core.mapper.freebuilder.JdbiFreeBuilders
-
Convenience method for registering many freebuilder types.
- registerFreeBuilder(Class<S>) - Method in class org.jdbi.v3.core.mapper.freebuilder.JdbiFreeBuilders
-
Register bean arguments and row mapping for a
Freebuildervalue class, expecting the default generated class and builder names. - registerFreeBuilder(Class<S>, Class<I>, Supplier<?>) - Method in class org.jdbi.v3.core.mapper.freebuilder.JdbiFreeBuilders
-
Register bean arguments and row mapping for a
FreeBuildervalue class, using a supplied implementation and constructor. - registerFreeBuilder(Iterable<Class<?>>) - Method in class org.jdbi.v3.core.mapper.freebuilder.JdbiFreeBuilders
-
Convenience method for registering many freebuilder types.
- registerHandlerCustomizer(ExtensionHandlerCustomizer) - Method in class org.jdbi.v3.core.extension.Extensions
-
Registers a global
ExtensionHandlerCustomizerinstance. - registerHandlerFactory(ExtensionHandlerFactory) - Method in class org.jdbi.v3.core.extension.Extensions
-
Registers a global
ExtensionHandlerFactoryinstance. - registerImmutable(Class<?>...) - Method in class org.jdbi.v3.core.mapper.immutables.JdbiImmutables
-
Convenience method for registering many immutable types.
- registerImmutable(Class<S>) - Method in class org.jdbi.v3.core.mapper.immutables.JdbiImmutables
-
Register bean arguments and row mapping for an
Immutable*value class, expecting the default generated class and builder names. - registerImmutable(Class<S>, Class<I>, Supplier<?>) - Method in class org.jdbi.v3.core.mapper.immutables.JdbiImmutables
-
Register bean arguments and row mapping for an
Immutable*value class, using a supplied implementation and builder. - registerImmutable(Iterable<Class<?>>) - Method in class org.jdbi.v3.core.mapper.immutables.JdbiImmutables
-
Convenience method for registering many immutable types.
- registerModifiable(Class<?>...) - Method in class org.jdbi.v3.core.mapper.immutables.JdbiImmutables
-
Convenience method for registering many modifiable types.
- registerModifiable(Class<S>) - Method in class org.jdbi.v3.core.mapper.immutables.JdbiImmutables
-
Register bean arguments and row mapping for an
Modifiable*value class, expecting the default generated class and public nullary constructor. - registerModifiable(Class<S>, Class<M>, Supplier<?>) - Method in class org.jdbi.v3.core.mapper.immutables.JdbiImmutables
-
Register bean arguments and row mapping for an
Modifiable*value class, using a supplied implementation and constructor. - registerModifiable(Iterable<Class<?>>) - Method in class org.jdbi.v3.core.mapper.immutables.JdbiImmutables
-
Convenience method for registering many modifiable types.
- registerOutParameter(int, int) - Method in class org.jdbi.v3.core.statement.Call
-
Register a positional output parameter.
- registerOutParameter(int, int, CallableStatementMapper) - Method in class org.jdbi.v3.core.statement.Call
-
Register a positional output parameter.
- registerOutParameter(String, int) - Method in class org.jdbi.v3.core.statement.Call
-
Register a named output parameter.
- registerOutParameter(String, int, CallableStatementMapper) - Method in class org.jdbi.v3.core.statement.Call
-
Register a named output parameter.
- registerRowMapper(Type, RowMapper<?>) - Method in interface org.jdbi.v3.core.config.Configurable
-
Convenience method for
getConfig(RowMappers.class).register(type, mapper) - registerRowMapper(GenericType<T>, RowMapper<T>) - Method in interface org.jdbi.v3.core.config.Configurable
-
Convenience method for
getConfig(RowMappers.class).register(type, mapper) - registerRowMapper(RowMapper<?>) - Method in interface org.jdbi.v3.core.config.Configurable
-
Convenience method for
getConfig(RowMappers.class).register(mapper) - registerRowMapper(RowMapperFactory) - Method in interface org.jdbi.v3.core.config.Configurable
-
Convenience method for
getConfig(RowMappers.class).register(factory) - release(String) - Method in class org.jdbi.v3.core.Handle
-
Deprecated.
- releaseSavepoint(String) - Method in class org.jdbi.v3.core.Handle
-
Release a previously created savepoint.
- releaseSavepoint(Handle, String) - Method in class org.jdbi.v3.core.transaction.CMTTransactionHandler
-
Savepoints are not supported.
- releaseSavepoint(Handle, String) - Method in class org.jdbi.v3.core.transaction.DelegatingTransactionHandler
- releaseSavepoint(Handle, String) - Method in class org.jdbi.v3.core.transaction.LocalTransactionHandler
- releaseSavepoint(Handle, String) - Method in interface org.jdbi.v3.core.transaction.TransactionHandler
-
Release a previously created savepoint.
- removeCleanable(Cleanable) - Method in class org.jdbi.v3.core.Handle
-
Unregister a
Cleanablefrom the Handle. - removeHandleListener(HandleListener) - Method in class org.jdbi.v3.core.Handle
-
Remove a
HandleListenerfrom this handle. - removeListener(HandleListener) - Method in class org.jdbi.v3.core.Handles
-
Remove a
HandleListener. - removingComments() - Static method in class org.jdbi.v3.core.locator.ClasspathSqlLocator
-
Return a new ClasspathSqlLocator that returns SQL with comments removed.
- render(String, StatementContext) - Method in class org.jdbi.v3.core.statement.MessageFormatTemplateEngine
-
Deprecated.
- render(String, StatementContext) - Method in class org.jdbi.v3.core.statement.NoTemplateEngine
- render(String, StatementContext) - Method in interface org.jdbi.v3.core.statement.TemplateEngine.Parsing
- render(String, StatementContext) - Method in interface org.jdbi.v3.core.statement.TemplateEngine
-
Renders an SQL statement from the given template, using the statement context as needed.
- REPEATABLE_READ - Enum constant in enum org.jdbi.v3.core.transaction.TransactionIsolationLevel
- reset(Handle) - Method in class org.jdbi.v3.core.transaction.LocalTransactionHandler
- resolveMapEntryType(Type) - Static method in class org.jdbi.v3.core.generic.GenericTypes
-
Given a subtype of
Map<K,V>, returns the corresponding map entry typeMap.Entry<K,V>. - resolveMapEntryType(Type, Type) - Static method in class org.jdbi.v3.core.generic.GenericTypes
-
Given a key and value type, returns the map entry type
Map.Entry<keyType,valueType>. - resolveType(Type, Type) - Static method in class org.jdbi.v3.core.generic.GenericTypes
-
Resolves the
typeparameter in the context ofcontextType. - ResultBearing - Interface in org.jdbi.v3.core.result
-
Provides access to the contents of a
ResultSetby mapping to Java types. - ResultIterable<T> - Interface in org.jdbi.v3.core.result
- ResultIterable.ResultIteratorDelegate<T,
R> - Class in org.jdbi.v3.core.result -
An implementation of
ResultIteratorthat delegates calls to the iterator provided in the constructor. - ResultIterator<T> - Interface in org.jdbi.v3.core.result
-
Represents a forward-only iterator over a result set, which will lazily iterate the results.
- ResultProducer<R> - Interface in org.jdbi.v3.core.result
-
Produces a result from an executed
PreparedStatement. - ResultProducers - Class in org.jdbi.v3.core.result
-
Commonly used ResultProducer implementations.
- ResultProducers() - Constructor for class org.jdbi.v3.core.result.ResultProducers
- ResultProducers.ResultSetCreator - Interface in org.jdbi.v3.core.result
-
Returns a ResultSet from a Statement.
- ResultSetAccumulator<T> - Interface in org.jdbi.v3.core.result
-
A
ResultSetAccumulatorrepeatedly combines rows from the givenResultSetto produce a single result. - ResultSetException - Exception Class in org.jdbi.v3.core.result
-
Wraps exceptions thrown while traversing the JDBC result set.
- ResultSetException(String, Exception, StatementContext) - Constructor for exception class org.jdbi.v3.core.result.ResultSetException
- ResultSetScanner<T> - Interface in org.jdbi.v3.core.result
-
Scan over rows of result sets, mapping and collecting the rows to a result type.
- returningGeneratedKeys(String...) - Static method in class org.jdbi.v3.core.result.ResultProducers
-
Result producer that returns a
ResultBearingover the statement-generated keys. - returningResults() - Static method in class org.jdbi.v3.core.result.ResultProducers
-
Result producer that returns a
ResultBearingover the statement result rows. - returningUpdateCount() - Static method in class org.jdbi.v3.core.result.ResultProducers
-
Result producer that eagerly executes the statement, returning the update count
- rollback() - Method in class org.jdbi.v3.core.Handle
-
Rollback a transaction.
- rollback(Handle) - Method in class org.jdbi.v3.core.transaction.CMTTransactionHandler
-
Called when a transaction is rolled back Will throw a RuntimeException to force transactional rollback
- rollback(Handle) - Method in class org.jdbi.v3.core.transaction.DelegatingTransactionHandler
- rollback(Handle) - Method in class org.jdbi.v3.core.transaction.LocalTransactionHandler
- rollback(Handle) - Method in interface org.jdbi.v3.core.transaction.TransactionHandler
-
Roll back the transaction.
- RollbackOnlyTransactionHandler - Class in org.jdbi.v3.core.transaction
-
A transaction handler that always calls
DelegatingTransactionHandler.rollback(org.jdbi.v3.core.Handle)instead ofRollbackOnlyTransactionHandler.commit(org.jdbi.v3.core.Handle). - RollbackOnlyTransactionHandler() - Constructor for class org.jdbi.v3.core.transaction.RollbackOnlyTransactionHandler
- RollbackOnlyTransactionHandler(TransactionHandler) - Constructor for class org.jdbi.v3.core.transaction.RollbackOnlyTransactionHandler
- rollbackToSavepoint(String) - Method in class org.jdbi.v3.core.Handle
-
Rollback a transaction to a named savepoint.
- rollbackToSavepoint(Handle, String) - Method in class org.jdbi.v3.core.transaction.CMTTransactionHandler
-
Savepoints are not supported.
- rollbackToSavepoint(Handle, String) - Method in class org.jdbi.v3.core.transaction.DelegatingTransactionHandler
- rollbackToSavepoint(Handle, String) - Method in class org.jdbi.v3.core.transaction.LocalTransactionHandler
- rollbackToSavepoint(Handle, String) - Method in interface org.jdbi.v3.core.transaction.TransactionHandler
-
Roll back to a named savepoint.
- RowMapper<T> - Interface in org.jdbi.v3.core.mapper
-
Maps result set rows to objects.
- RowMapperFactory - Interface in org.jdbi.v3.core.mapper
-
Factory interface used to produce row mappers.
- RowMappers - Class in org.jdbi.v3.core.mapper
-
Configuration registry for
RowMapperFactoryinstances. - RowMappers() - Constructor for class org.jdbi.v3.core.mapper.RowMappers
- RowReducer<C,
R> - Interface in org.jdbi.v3.core.result -
Reduces row data from a
ResultSetinto a stream of result elements. - rowsMapped - Variable in class org.jdbi.v3.core.statement.JdbiStatementEvent
- RowView - Class in org.jdbi.v3.core.result
-
A RowView is an accessor for
ResultSetthat usesRowMapperorColumnMapperto extract values. - RowView() - Constructor for class org.jdbi.v3.core.result.RowView
- RowViewMapper<T> - Interface in org.jdbi.v3.core.mapper
S
- savepoint(String) - Method in class org.jdbi.v3.core.Handle
-
Create a transaction savepoint with the name provided.
- savepoint(Handle, String) - Method in class org.jdbi.v3.core.transaction.CMTTransactionHandler
-
Savepoints are not supported.
- savepoint(Handle, String) - Method in class org.jdbi.v3.core.transaction.DelegatingTransactionHandler
- savepoint(Handle, String) - Method in class org.jdbi.v3.core.transaction.LocalTransactionHandler
- savepoint(Handle, String) - Method in interface org.jdbi.v3.core.transaction.TransactionHandler
-
Create a new savepoint.
- scanResultSet(Supplier<ResultSet>, StatementContext) - Method in interface org.jdbi.v3.core.result.ResultSetScanner
-
Scans the lazily-supplied
ResultSetinto a result. - scanResultSet(ResultSetScanner<R>) - Method in class org.jdbi.v3.core.result.BatchResultBearing
- scanResultSet(ResultSetScanner<R>) - Method in interface org.jdbi.v3.core.result.ResultBearing
-
Invokes the mapper with a result set supplier, and returns the value returned by the mapper.
- scanResultSet(ResultSetScanner<R>) - Method in class org.jdbi.v3.core.statement.MetaData
- scanResultSet(ResultSetScanner<R>) - Method in class org.jdbi.v3.core.statement.PreparedBatch
- scanResultSet(ResultSetScanner<R>) - Method in class org.jdbi.v3.core.statement.Query
- Script - Class in org.jdbi.v3.core.statement
-
Represents a number of SQL statements delimited by semicolon which will be executed in order in a batch statement.
- Script(Handle, CharSequence) - Constructor for class org.jdbi.v3.core.statement.Script
- Script(Handle, String) - Constructor for class org.jdbi.v3.core.statement.Script
-
Backwards compatible constructor that takes an explicit string argument.
- select(CharSequence, Object...) - Method in class org.jdbi.v3.core.Handle
-
Convenience method which creates a query with the given positional arguments.
- select(String, Object...) - Method in class org.jdbi.v3.core.Handle
-
Convenience method which creates a query with the given positional arguments.
- SERIALIZABLE - Enum constant in enum org.jdbi.v3.core.transaction.TransactionIsolationLevel
- SerializableTransactionRunner - Class in org.jdbi.v3.core.transaction
-
A TransactionHandler that automatically retries transactions that fail due to serialization failures, which can generally be resolved by automatically retrying the transaction.
- SerializableTransactionRunner() - Constructor for class org.jdbi.v3.core.transaction.SerializableTransactionRunner
- SerializableTransactionRunner(TransactionHandler) - Constructor for class org.jdbi.v3.core.transaction.SerializableTransactionRunner
- SerializableTransactionRunner.Configuration - Class in org.jdbi.v3.core.transaction
-
Configuration for serializable transaction runner.
- set() - Method in interface org.jdbi.v3.core.result.ResultIterable
-
Returns results in a
Setusing the JDK specific default implementation ofSetas provided byCollectors.toSet(). - set(HandleSupplier) - Method in interface org.jdbi.v3.core.HandleScope
-
Associate a
HandleSupplierwith the current scope. - set(Handle) - Method in interface org.jdbi.v3.core.HandleScope
-
Associate a
Handlewith the current scope. - setAccessibleObjectStrategy(Consumer<AccessibleObject>) - Method in class org.jdbi.v3.core.mapper.reflect.ReflectionMappers
-
Set the strategy Jdbi uses for Java accessibility rules.
- setAllowProxy(boolean) - Method in class org.jdbi.v3.core.extension.Extensions
-
Allow using
Proxyto implement extensions. - setArgumentStrategy(SqlArrayArgumentStrategy) - Method in class org.jdbi.v3.core.array.SqlArrayTypes
-
Sets the strategy used when binding array-type arguments to SQL statements.
- setAttachAllStatementsForCleanup(boolean) - Method in class org.jdbi.v3.core.statement.SqlStatements
-
Sets whether all statements created will automatically attached to the corresponding
Handleobject automatically. - setAttachCallbackStatementsForCleanup(boolean) - Method in class org.jdbi.v3.core.statement.SqlStatements
-
Sets whether statements created within the
Jdbi.withHandle(org.jdbi.v3.core.HandleCallback<R, X>),Jdbi.useHandle(org.jdbi.v3.core.HandleConsumer<X>),Jdbi.inTransaction(org.jdbi.v3.core.HandleCallback<R, X>)andJdbi.useTransaction(org.jdbi.v3.core.HandleConsumer<X>)callback methods will automatically attached to theHandleobject and therefore cleaned up when the callback ends. - setBindingNullToPrimitivesPermitted(boolean) - Method in class org.jdbi.v3.core.argument.Arguments
-
Whether binding
nullto a variable declared as a primitive type should be allowed. - setCaseChange(UnaryOperator<String>) - Method in class org.jdbi.v3.core.mapper.MapMappers
-
Sets the case change strategy for the database column names.
- setCaseChange(UnaryOperator<String>) - Method in class org.jdbi.v3.core.mapper.reflect.ReflectionMappers
-
Sets the case change strategy for the database column names.
- setCoalesceNullPrimitivesToDefaults(boolean) - Method in class org.jdbi.v3.core.mapper.ColumnMappers
-
Use the JDBC default value for primitive types if a SQL NULL value was returned by the database.
- setColumnNameMatchers(List<ColumnNameMatcher>) - Method in class org.jdbi.v3.core.mapper.reflect.ReflectionMappers
-
Replace all column name matchers with the given list.
- setCompletionMoment(Instant) - Method in class org.jdbi.v3.core.statement.StatementContext
-
Sets the query execution end.
- setConcurrentUpdatable(boolean) - Method in class org.jdbi.v3.core.statement.StatementContext
-
Set the context to create a concurrent updatable result set.
- setEnumStrategy(EnumStrategy) - Method in class org.jdbi.v3.core.enums.Enums
-
Sets the default strategy for mapping and binding enums.
- setExceptionMoment(Instant) - Method in class org.jdbi.v3.core.statement.StatementContext
-
Sets the query execution end.
- setExecutionMoment(Instant) - Method in class org.jdbi.v3.core.statement.StatementContext
-
Sets the query execution start.
- setFetchSize(int) - Method in class org.jdbi.v3.core.statement.Call
-
Specify the fetch size for the call.
- setFetchSize(int) - Method in class org.jdbi.v3.core.statement.Query
-
Specify the fetch size for the query.
- setForceEndTransactions(boolean) - Method in class org.jdbi.v3.core.Handles
-
Sets whether to enforce transaction termination discipline when a
Handleis closed. - setGeneratedKeysColumnNames(String[]) - Method in class org.jdbi.v3.core.statement.StatementContext
-
Set the generated key column names.
- setHandleCallbackDecorator(HandleCallbackDecorator) - Method in class org.jdbi.v3.core.Jdbi
-
Specify the
HandleCallbackDecoratorinstance to use. - setHandleScope(HandleScope) - Method in class org.jdbi.v3.core.Jdbi
-
Set the
HandleScopeobject. - setJfrParamMaxLength(int) - Method in class org.jdbi.v3.core.statement.SqlStatements
-
When recording JFR events, the maximum length of rendered parameters to store in the event record.
- setJfrSqlMaxLength(int) - Method in class org.jdbi.v3.core.statement.SqlStatements
-
When recording JFR events, the maximum length of rendered SQL to store in the event record.
- setKeyColumn(String) - Method in interface org.jdbi.v3.core.mapper.MapEntryConfig
-
Sets the column that map entry keys are loaded from.
- setKeyColumn(String) - Method in class org.jdbi.v3.core.mapper.MapEntryMappers
-
Sets the column that map entry keys are loaded from.
- setLengthLimit(int) - Method in class org.jdbi.v3.core.statement.StatementExceptions
-
Set a hint on how long you'd like to shorten various variable-length strings to.
- setMapKeyColumn(String) - Method in interface org.jdbi.v3.core.config.Configurable
-
Convenience method for
getConfig(MapEntryMappers.class).setKeyColumn(keyColumn) - setMappedRows(long) - Method in class org.jdbi.v3.core.statement.StatementContext
-
Instrument the number of mapped rows.
- setMapValueColumn(String) - Method in interface org.jdbi.v3.core.config.Configurable
-
Convenience method for
getConfig(MapEntryMappers.class).setValueColumn(valueColumn) - setMaxFieldSize(int) - Method in class org.jdbi.v3.core.statement.Call
-
Specify the maximum field size in the result set.
- setMaxFieldSize(int) - Method in class org.jdbi.v3.core.statement.Query
-
Specify the maximum field size in the result set.
- setMaxRetries(int) - Method in class org.jdbi.v3.core.transaction.SerializableTransactionRunner.Configuration
-
Sets the maximum number of retry attempts before aborting.
- setMaxRows(int) - Method in class org.jdbi.v3.core.statement.Call
-
Specify the maximum number of rows the call is to return.
- setMaxRows(int) - Method in class org.jdbi.v3.core.statement.Query
-
Specify the maximum number of rows the query is to return.
- setMessageRendering(Function<StatementException, String>) - Method in class org.jdbi.v3.core.statement.StatementExceptions
-
Configure exception statement message generation.
- SetObjectArgumentFactory - Class in org.jdbi.v3.core.argument
-
Factory that uses
PreparedStatement.setObject(int, Object, int)to bind values. - setOnFailure(Consumer<List<Exception>>) - Method in class org.jdbi.v3.core.transaction.SerializableTransactionRunner.Configuration
-
Set a consumer that is called with a list of exceptions during a run.
- setOnSuccess(Consumer<List<Exception>>) - Method in class org.jdbi.v3.core.transaction.SerializableTransactionRunner.Configuration
-
Sets a consumer that is called after a run has completed successfully.
- setPreparedArgumentsEnabled(boolean) - Method in class org.jdbi.v3.core.argument.Arguments
-
Configure whether
ArgumentFactory.Preparablefactories will be processed before regularArgumentFactoryinstances are. - setQueryTimeout(int) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Set the query timeout, in seconds, on the prepared statement.
- setQueryTimeout(Integer) - Method in class org.jdbi.v3.core.statement.SqlStatements
-
Jdbi does not implement its own timeout mechanism: it simply calls
Statement.setQueryTimeout(int), leaving timeout handling to your jdbc driver. - setReadOnly(boolean) - Method in class org.jdbi.v3.core.Handle
-
Set the Handle read-only.
- setRegistry(ConfigRegistry) - Method in class org.jdbi.v3.core.argument.Arguments
- setRegistry(ConfigRegistry) - Method in class org.jdbi.v3.core.array.SqlArrayTypes
- setRegistry(ConfigRegistry) - Method in interface org.jdbi.v3.core.config.JdbiConfig
-
The registry will inject itself into the configuration object.
- setRegistry(ConfigRegistry) - Method in class org.jdbi.v3.core.extension.Extensions
- setRegistry(ConfigRegistry) - Method in class org.jdbi.v3.core.mapper.ColumnMappers
- setRegistry(ConfigRegistry) - Method in class org.jdbi.v3.core.mapper.freebuilder.JdbiFreeBuilders
- setRegistry(ConfigRegistry) - Method in class org.jdbi.v3.core.mapper.immutables.JdbiImmutables
- setRegistry(ConfigRegistry) - Method in class org.jdbi.v3.core.mapper.Mappers
- setRegistry(ConfigRegistry) - Method in class org.jdbi.v3.core.mapper.RowMappers
- setRegistry(ConfigRegistry) - Method in class org.jdbi.v3.core.qualifier.Qualifiers
- setReturningGeneratedKeys(boolean) - Method in class org.jdbi.v3.core.statement.StatementContext
-
Sets whether the current statement returns generated keys.
- setScriptStatementsNeedSemicolon(boolean) - Method in class org.jdbi.v3.core.statement.SqlStatements
-
If true, script statements parsed by a
Scriptobject will have a trailing semicolon. - setSerializationFailureSqlState(String) - Method in class org.jdbi.v3.core.transaction.SerializableTransactionRunner.Configuration
-
Sets the SQL state to consider as a serialization failure.
- setSqlArrayArgumentStrategy(SqlArrayArgumentStrategy) - Method in interface org.jdbi.v3.core.config.Configurable
-
Convenience method for
getConfig(SqlArrayTypes.class).setArgumentStrategy(strategy) - setSqlLogger(SqlLogger) - Method in interface org.jdbi.v3.core.config.Configurable
- setSqlLogger(SqlLogger) - Method in class org.jdbi.v3.core.statement.SqlStatements
-
Sets a
SqlLoggerinstance to log all SQL operations. - setSqlParser(SqlParser) - Method in interface org.jdbi.v3.core.config.Configurable
-
Convenience method for
getConfig(SqlStatements.class).setSqlParser(rewriter) - setSqlParser(SqlParser) - Method in class org.jdbi.v3.core.statement.SqlStatements
-
Sets the
SqlParserused to parse parameters in SQL statements executed by Jdbi. - setStatementBuilder(StatementBuilder) - Method in class org.jdbi.v3.core.Handle
-
Set the statement builder for this handle.
- setStatementBuilderFactory(StatementBuilderFactory) - Method in class org.jdbi.v3.core.Jdbi
-
Allows customization of how prepared statements are created.
- setStrictMatching(boolean) - Method in class org.jdbi.v3.core.mapper.reflect.ReflectionMappers
-
Throw an IllegalArgumentException if a the set of fields doesn't match to columns exactly.
- setTemplateCache(JdbiCacheBuilder) - Method in class org.jdbi.v3.core.statement.SqlStatements
-
Sets the cache used to avoid repeatedly parsing SQL statements.
- setTemplateEngine(TemplateEngine) - Method in interface org.jdbi.v3.core.config.Configurable
-
Convenience method for
getConfig(SqlStatements.class).setTemplateEngine(rewriter) - setTemplateEngine(TemplateEngine) - Method in class org.jdbi.v3.core.statement.SqlStatements
-
Sets the
TemplateEngineused to render SQL for allSQL statementsexecuted by Jdbi. - setTimingCollector(TimingCollector) - Method in interface org.jdbi.v3.core.config.Configurable
-
Deprecated.
- setTimingCollector(TimingCollector) - Method in class org.jdbi.v3.core.statement.SqlStatements
-
Deprecated.
- setTraceId(String) - Method in class org.jdbi.v3.core.statement.StatementContext
-
Instrument the telemetry trace id.
- setTransactionHandler(TransactionHandler) - Method in class org.jdbi.v3.core.Jdbi
-
Specify the TransactionHandler instance to use.
- setTransactionIsolation(int) - Method in class org.jdbi.v3.core.Handle
-
Deprecated.
- setTransactionIsolation(TransactionIsolationLevel) - Method in class org.jdbi.v3.core.Handle
-
Deprecated.
- setTransactionIsolationLevel(int) - Method in class org.jdbi.v3.core.Handle
-
Set the transaction isolation level on the underlying connection if it is different from the current isolation level.
- setTransactionIsolationLevel(TransactionIsolationLevel) - Method in class org.jdbi.v3.core.Handle
-
Set the transaction isolation level on the underlying connection if it is different from the current isolation level.
- setUntypedNullArgument(Argument) - Method in class org.jdbi.v3.core.argument.Arguments
-
Configure the
Argumentto use when binding a null we don't have a type for. - setUnusedBindingAllowed(boolean) - Method in class org.jdbi.v3.core.statement.SqlStatements
-
Sets whether or not an exception should be thrown when any arguments are given to a query but not actually used in it.
- setValueColumn(String) - Method in interface org.jdbi.v3.core.mapper.MapEntryConfig
-
Sets the column that map entry values are loaded from.
- setValueColumn(String) - Method in class org.jdbi.v3.core.mapper.MapEntryMappers
-
Sets the column that map entry values are loaded from.
- SHORT_STATEMENT - Enum constant in enum org.jdbi.v3.core.statement.StatementExceptions.MessageRendering
-
Include a length-limited SQL statement and parameter information.
- SimpleExtensionConfigurer - Class in org.jdbi.v3.core.extension
-
Configurer base class that applies the same configuration changes independent whether an annotation is placed on the type or a method.
- SimpleExtensionConfigurer() - Constructor for class org.jdbi.v3.core.extension.SimpleExtensionConfigurer
- SingleColumnMapper<T> - Class in org.jdbi.v3.core.mapper
-
Adapts a
ColumnMapperinto aRowMapperby mapping a single column. - SingleColumnMapper(ColumnMapper<T>) - Constructor for class org.jdbi.v3.core.mapper.SingleColumnMapper
-
Constructs a row mapper which maps the first column.
- SingleColumnMapper(ColumnMapper<T>, int) - Constructor for class org.jdbi.v3.core.mapper.SingleColumnMapper
-
Constructs a row mapper which maps the given column number.
- SingleColumnMapper(ColumnMapper<T>, String) - Constructor for class org.jdbi.v3.core.mapper.SingleColumnMapper
-
Constructs a row mapper which maps the column with the given label.
- Singleton() - Constructor for class org.jdbi.v3.core.spi.JdbiPlugin.Singleton
- size() - Method in class org.jdbi.v3.core.statement.PreparedBatch
-
Returns the number of bindings in this batch.
- Slf4JSqlLogger - Class in org.jdbi.v3.core.statement
-
Simple
SqlLoggerthat emits some diagnostic information about Jdbi usage. - Slf4JSqlLogger() - Constructor for class org.jdbi.v3.core.statement.Slf4JSqlLogger
- Slf4JSqlLogger(Logger) - Constructor for class org.jdbi.v3.core.statement.Slf4JSqlLogger
- SnakeCaseColumnNameMatcher - Class in org.jdbi.v3.core.mapper.reflect
-
Matches snake case column names to java camel case names, ignoring case.
- SnakeCaseColumnNameMatcher() - Constructor for class org.jdbi.v3.core.mapper.reflect.SnakeCaseColumnNameMatcher
- specialize(ResultSet, StatementContext) - Method in class org.jdbi.v3.core.mapper.JoinRowMapper
- specialize(ResultSet, StatementContext) - Method in class org.jdbi.v3.core.mapper.MapEntryMapper
- specialize(ResultSet, StatementContext) - Method in class org.jdbi.v3.core.mapper.MapMapper
- specialize(ResultSet, StatementContext) - Method in class org.jdbi.v3.core.mapper.reflect.ConstructorMapper
- specialize(ResultSet, StatementContext) - Method in class org.jdbi.v3.core.mapper.reflect.FieldMapper
- specialize(ResultSet, StatementContext) - Method in interface org.jdbi.v3.core.mapper.RowMapper
-
Returns a specialized row mapper, optimized for the given result set.
- specialize(ResultSet, StatementContext) - Method in interface org.jdbi.v3.core.mapper.RowViewMapper
- specialize(Handle) - Method in class org.jdbi.v3.core.transaction.SerializableTransactionRunner
- specialize(Handle) - Method in interface org.jdbi.v3.core.transaction.TransactionHandler
-
Bind a TransactionHandler to a Handle, to allow it to track handle-local state.
- sql - Variable in class org.jdbi.v3.core.statement.JdbiStatementEvent
- Sql - Class in org.jdbi.v3.core
-
An immutable sql statement string created from multiple tokens in order to write inline sql statements in an easy-to-read fashion spread out over multiple lines of code.
- SQL_ARRAY - Enum constant in enum org.jdbi.v3.core.array.SqlArrayArgumentStrategy
- SQL_TEMPLATE_CACHE_SIZE - Static variable in class org.jdbi.v3.core.statement.SqlStatements
-
The default size of the SQL template cache.
- SqlArrayArgumentFactory - Class in org.jdbi.v3.core.array
-
Bind a Java array or
Collectionto a SQL array using theSqlArrayTypeFactoryfor the given type information. - SqlArrayArgumentFactory() - Constructor for class org.jdbi.v3.core.array.SqlArrayArgumentFactory
- SqlArrayArgumentStrategy - Enum in org.jdbi.v3.core.array
-
Strategies used to bind SQL array arguments to a
PreparedStatement. - SqlArrayMapperFactory - Class in org.jdbi.v3.core.array
-
Maps SQL array columns into Java arrays or other Java container types.
- SqlArrayMapperFactory() - Constructor for class org.jdbi.v3.core.array.SqlArrayMapperFactory
- SqlArrayType<T> - Interface in org.jdbi.v3.core.array
-
Strategy for converting elements of array-like arguments into SQL array elements.
- SqlArrayTypeFactory - Interface in org.jdbi.v3.core.array
-
Factory interface to produce
SqlArrayTypeinstances. - SqlArrayTypes - Class in org.jdbi.v3.core.array
-
Configuration class for SQL array binding and mapping.
- SqlArrayTypes() - Constructor for class org.jdbi.v3.core.array.SqlArrayTypes
- SqlLogger - Interface in org.jdbi.v3.core.statement
-
SqlLoggers receive query data before and after a query is executed, and after an exception is thrown by a bad query.
- SqlParser - Interface in org.jdbi.v3.core.statement
-
Parses the named parameters out of an SQL statement, and returns the
ParsedSqlcontaining the JDBC-ready SQL statement, along with the type of parameters used (named or positional), the number, and the parameter name for each position (if applicable). - SqlStatement<This> - Class in org.jdbi.v3.core.statement
-
This class provides the common functions between
QueryandUpdate. - SqlStatements - Class in org.jdbi.v3.core.statement
-
Configuration holder for
SqlStatements. - SqlStatements() - Constructor for class org.jdbi.v3.core.statement.SqlStatements
- STANDARD_HANDLE_CALLBACK_DECORATOR - Static variable in interface org.jdbi.v3.core.HandleCallbackDecorator
- StatementBuilder - Interface in org.jdbi.v3.core.statement
-
Used to convert translated SQL into a prepared statement.
- StatementBuilderFactory - Interface in org.jdbi.v3.core.statement
-
Used to specify how prepared statements are built.
- StatementContext - Class in org.jdbi.v3.core.statement
-
The statement context provides access to statement-local configuration.
- StatementContextListener - Interface in org.jdbi.v3.core.statement
-
Listener interface for the
StatementContext. - StatementCustomizer - Interface in org.jdbi.v3.core.statement
-
Allows tweaking of statement behaviour.
- StatementCustomizers - Class in org.jdbi.v3.core.statement
-
Some simple
StatementCustomizers you might find handy. - StatementException - Exception Class in org.jdbi.v3.core.statement
-
Superclass for exceptions thrown while trying to execute a statement.
- StatementException(String) - Constructor for exception class org.jdbi.v3.core.statement.StatementException
- StatementException(String, Throwable) - Constructor for exception class org.jdbi.v3.core.statement.StatementException
- StatementException(String, Throwable, StatementContext) - Constructor for exception class org.jdbi.v3.core.statement.StatementException
- StatementException(String, StatementContext) - Constructor for exception class org.jdbi.v3.core.statement.StatementException
- StatementException(Throwable) - Constructor for exception class org.jdbi.v3.core.statement.StatementException
- StatementException(Throwable, StatementContext) - Constructor for exception class org.jdbi.v3.core.statement.StatementException
- StatementExceptions - Class in org.jdbi.v3.core.statement
-
Configuration for
StatementExceptionand subclasses behavior. - StatementExceptions() - Constructor for class org.jdbi.v3.core.statement.StatementExceptions
- StatementExceptions.MessageRendering - Enum in org.jdbi.v3.core.statement
-
Control exception message generation.
- statementTimeout(int) - Static method in class org.jdbi.v3.core.statement.StatementCustomizers
-
Set a timeout on the statement.
- stream() - Method in interface org.jdbi.v3.core.result.ResultIterable
-
Returns the stream of results.
- stream(C) - Method in interface org.jdbi.v3.core.result.RowReducer
-
Returns a stream of result elements from the result container.
- stream(Map<K, V>) - Method in interface org.jdbi.v3.core.result.LinkedHashMapRowReducer
- StreamCallback<T,
R, - Interface in org.jdbi.v3.core.resultX> -
Callback for use with
ResultIterable.withStream(StreamCallback) - StreamConsumer<T,
X> - Interface in org.jdbi.v3.core.result -
Callback for use with
ResultIterable.useStream(StreamConsumer) - subSequence(int, int) - Method in class org.jdbi.v3.core.Sql
T
- TemplateEngine - Interface in org.jdbi.v3.core.statement
-
Renders an SQL statement from a template.
- TemplateEngine.Parsing - Interface in org.jdbi.v3.core.statement
- threadLocal() - Static method in interface org.jdbi.v3.core.HandleScope
- THROW - Enum constant in enum org.jdbi.v3.core.statement.EmptyHandling
-
Throw IllegalArgumentException.
- TimingCollector - Interface in org.jdbi.v3.core.statement
-
Deprecated.Use
SqlLoggerinstead. - toCollection(Supplier<C>) - Method in interface org.jdbi.v3.core.result.ResultIterable
-
Collect the results into a collection object similar to
Collectors.toCollection(Supplier). - toMap(Supplier<M>) - Static method in class org.jdbi.v3.core.collector.BuiltInCollectorFactory
-
Deprecated.Use
MapCollectors.toMap(Supplier)instead. - toMap(Supplier<M>) - Static method in class org.jdbi.v3.core.collector.MapCollectors
- toOptional() - Static method in class org.jdbi.v3.core.collector.BuiltInCollectorFactory
-
Deprecated.Use
OptionalCollectors.toOptional()instead. - toOptional() - Static method in class org.jdbi.v3.core.collector.OptionalCollectors
-
Returns a
Collectorthat accumulates 0 or 1 input elements into anOptional<T>. - toOptional(Supplier<O>, Function<T, O>) - Static method in class org.jdbi.v3.core.collector.OptionalCollectors
-
Returns a
Collectorthat accumulates 0 or 1 input elements into an arbitrary optional-style container type. - toOptionalDouble() - Static method in class org.jdbi.v3.core.collector.OptionalCollectors
-
Returns a
Collectorthat accumulates 0 or 1 inputDoubleelements into anOptionalDouble. - toOptionalInt() - Static method in class org.jdbi.v3.core.collector.OptionalCollectors
-
Returns a
Collectorthat accumulates 0 or 1 inputIntegerelements into anOptionalInt. - toOptionalLong() - Static method in class org.jdbi.v3.core.collector.OptionalCollectors
-
Returns a
Collectorthat accumulates 0 or 1 inputLongelements into anOptionalLong. - toString() - Method in class org.jdbi.v3.core.argument.CharacterStreamArgument
- toString() - Method in class org.jdbi.v3.core.argument.InputStreamArgument
- toString() - Method in class org.jdbi.v3.core.argument.MapArguments
-
Deprecated.
- toString() - Method in class org.jdbi.v3.core.argument.NullArgument
- toString() - Method in class org.jdbi.v3.core.argument.ObjectArgument
- toString() - Method in class org.jdbi.v3.core.argument.ObjectFieldArguments
-
Deprecated.
- toString() - Method in class org.jdbi.v3.core.argument.ObjectMethodArguments
-
Deprecated.
- toString() - Method in class org.jdbi.v3.core.extension.ExtensionMethod
- toString() - Method in class org.jdbi.v3.core.mapper.reflect.CaseInsensitiveColumnNameMatcher
- toString() - Method in class org.jdbi.v3.core.mapper.reflect.SnakeCaseColumnNameMatcher
- toString() - Method in class org.jdbi.v3.core.qualifier.QualifiedType
- toString() - Method in class org.jdbi.v3.core.Sql
- toString() - Method in class org.jdbi.v3.core.statement.Binding
- toString() - Method in class org.jdbi.v3.core.statement.ParsedParameters
- toString() - Method in class org.jdbi.v3.core.statement.ParsedSql
- toString() - Method in class org.jdbi.v3.core.statement.SqlStatement
- traceId - Variable in class org.jdbi.v3.core.statement.JdbiStatementEvent
- TransactionException - Exception Class in org.jdbi.v3.core.transaction
-
Thrown when there's a problem manipulating the transaction isolation level.
- TransactionException(String) - Constructor for exception class org.jdbi.v3.core.transaction.TransactionException
- TransactionException(String, Throwable) - Constructor for exception class org.jdbi.v3.core.transaction.TransactionException
- TransactionException(Throwable) - Constructor for exception class org.jdbi.v3.core.transaction.TransactionException
- TransactionHandler - Interface in org.jdbi.v3.core.transaction
-
Interface which defines callbacks to be used when transaction methods are called on a handle.
- TransactionIsolationLevel - Enum in org.jdbi.v3.core.transaction
-
Supported transaction isolation levels.
- type - Variable in class org.jdbi.v3.core.statement.JdbiStatementEvent
U
- UnableToCreateExtensionException - Exception Class in org.jdbi.v3.core.extension
-
Marks that a specific extension could not be created.
- UnableToCreateExtensionException(String, Object...) - Constructor for exception class org.jdbi.v3.core.extension.UnableToCreateExtensionException
-
Constructs a new instance with a message.
- UnableToCreateExtensionException(Throwable) - Constructor for exception class org.jdbi.v3.core.extension.UnableToCreateExtensionException
- UnableToCreateExtensionException(Throwable, String, Object...) - Constructor for exception class org.jdbi.v3.core.extension.UnableToCreateExtensionException
-
Constructs a new instance with an exception and a message.
- UnableToCreateStatementException - Exception Class in org.jdbi.v3.core.statement
-
Thrown when
Jdbicouldn't create a statement. - UnableToCreateStatementException(Exception, StatementContext) - Constructor for exception class org.jdbi.v3.core.statement.UnableToCreateStatementException
- UnableToCreateStatementException(String) - Constructor for exception class org.jdbi.v3.core.statement.UnableToCreateStatementException
- UnableToCreateStatementException(String, Throwable) - Constructor for exception class org.jdbi.v3.core.statement.UnableToCreateStatementException
- UnableToCreateStatementException(String, Throwable, StatementContext) - Constructor for exception class org.jdbi.v3.core.statement.UnableToCreateStatementException
- UnableToCreateStatementException(String, StatementContext) - Constructor for exception class org.jdbi.v3.core.statement.UnableToCreateStatementException
- UnableToCreateStatementException(Throwable) - Constructor for exception class org.jdbi.v3.core.statement.UnableToCreateStatementException
- UnableToExecuteStatementException - Exception Class in org.jdbi.v3.core.statement
-
Thrown when statement execution fails.
- UnableToExecuteStatementException(Exception, StatementContext) - Constructor for exception class org.jdbi.v3.core.statement.UnableToExecuteStatementException
- UnableToExecuteStatementException(String) - Constructor for exception class org.jdbi.v3.core.statement.UnableToExecuteStatementException
- UnableToExecuteStatementException(String, Throwable, StatementContext) - Constructor for exception class org.jdbi.v3.core.statement.UnableToExecuteStatementException
- UnableToExecuteStatementException(String, StatementContext) - Constructor for exception class org.jdbi.v3.core.statement.UnableToExecuteStatementException
- UnableToManipulateTransactionIsolationLevelException - Exception Class in org.jdbi.v3.core.transaction
-
Thrown when
Jdbiisn't able to change the transaction isolation level. - UnableToManipulateTransactionIsolationLevelException(int, SQLException) - Constructor for exception class org.jdbi.v3.core.transaction.UnableToManipulateTransactionIsolationLevelException
- UnableToManipulateTransactionIsolationLevelException(String, SQLException) - Constructor for exception class org.jdbi.v3.core.transaction.UnableToManipulateTransactionIsolationLevelException
- UnableToProduceResultException - Exception Class in org.jdbi.v3.core.result
-
Wraps exceptions thrown while producing Java result types.
- UnableToProduceResultException(Exception, StatementContext) - Constructor for exception class org.jdbi.v3.core.result.UnableToProduceResultException
- UnableToProduceResultException(String) - Constructor for exception class org.jdbi.v3.core.result.UnableToProduceResultException
- UnableToProduceResultException(String, Throwable, StatementContext) - Constructor for exception class org.jdbi.v3.core.result.UnableToProduceResultException
- UnableToProduceResultException(String, StatementContext) - Constructor for exception class org.jdbi.v3.core.result.UnableToProduceResultException
- UnableToProduceResultException(Throwable) - Constructor for exception class org.jdbi.v3.core.result.UnableToProduceResultException
- UnableToRestoreAutoCommitStateException - Exception Class in org.jdbi.v3.core.transaction
-
Thrown after a transaction finishes if we can't reset its isolation level.
- UnableToRestoreAutoCommitStateException(Throwable) - Constructor for exception class org.jdbi.v3.core.transaction.UnableToRestoreAutoCommitStateException
- UnableToRetrieveMetaDataException - Exception Class in org.jdbi.v3.core.statement
-
Thrown when
Jdbicouldn't retrieve metadata from the connection. - UNKNOWN - Enum constant in enum org.jdbi.v3.core.transaction.TransactionIsolationLevel
-
The transaction isolation level wasn't specified or is unknown to jdbi.
- Update - Class in org.jdbi.v3.core.statement
-
Used for INSERT, UPDATE, and DELETE statements
- Update(Handle, CharSequence) - Constructor for class org.jdbi.v3.core.statement.Update
- Update(Handle, String) - Constructor for class org.jdbi.v3.core.statement.Update
-
Backwards compatible constructor that takes an explicit string argument.
- UPPER - Enum constant in enum org.jdbi.v3.core.mapper.CaseStrategy
-
All strings to uppercase in root locale.
- useExtension(E) - Method in interface org.jdbi.v3.core.extension.ExtensionConsumer
-
Will be invoked with a live extension.
- useExtension(Class<E>, ExtensionConsumer<E, X>) - Method in class org.jdbi.v3.core.async.AbstractJdbiExecutor
- useExtension(Class<E>, ExtensionConsumer<E, X>) - Method in interface org.jdbi.v3.core.async.JdbiExecutor
-
A convenience method which opens an extension of the given type, and yields it to a callback.
- useExtension(Class<E>, ExtensionConsumer<E, X>) - Method in class org.jdbi.v3.core.Jdbi
-
A convenience method which opens an extension of the given type, and yields it to a callback.
- UseExtensionConfigurer - Annotation Type in org.jdbi.v3.core.extension.annotation
-
Meta-Annotation used to identify annotations that modify configuration in the context of an extension object or method.
- UseExtensionHandler - Annotation Type in org.jdbi.v3.core.extension.annotation
-
Meta-Annotation used to map a method to an extension handler.
- UseExtensionHandlerCustomizer - Annotation Type in org.jdbi.v3.core.extension.annotation
-
Meta-Annotation used to identify extension method decorating annotations.
- useHandle(Handle) - Method in interface org.jdbi.v3.core.HandleConsumer
-
Will be invoked with an open Handle.
- useHandle(HandleConsumer<X>) - Method in class org.jdbi.v3.core.async.AbstractJdbiExecutor
- useHandle(HandleConsumer<X>) - Method in interface org.jdbi.v3.core.async.JdbiExecutor
-
A convenience function which manages the lifecycle of a handle and yields it to a callback for use by clients.
- useHandle(HandleConsumer<X>) - Method in class org.jdbi.v3.core.Jdbi
-
A convenience function which manages the lifecycle of a handle and yields it to a callback for use by clients.
- useIterator(IteratorConsumer<T, X>) - Method in interface org.jdbi.v3.core.result.ResultIterable
-
Passes the iterator of results to the consumer.
- useIterator(ResultIterator<T>) - Method in interface org.jdbi.v3.core.result.IteratorConsumer
-
Will be invoked with result iterator.
- useStream(Stream<T>) - Method in interface org.jdbi.v3.core.result.StreamConsumer
-
Will be invoked with result stream.
- useStream(StreamConsumer<T, X>) - Method in interface org.jdbi.v3.core.result.ResultIterable
-
Passes the stream of results to the consumer.
- useTransaction(HandleConsumer<X>) - Method in class org.jdbi.v3.core.async.AbstractJdbiExecutor
- useTransaction(HandleConsumer<X>) - Method in interface org.jdbi.v3.core.async.JdbiExecutor
-
A convenience function which manages the lifecycle of a handle and yields it to a callback for use by clients.
- useTransaction(HandleConsumer<X>) - Method in class org.jdbi.v3.core.Handle
-
Executes
callbackin a transaction. - useTransaction(HandleConsumer<X>) - Method in class org.jdbi.v3.core.Jdbi
-
A convenience function which manages the lifecycle of a handle and yields it to a callback for use by clients.
- useTransaction(TransactionIsolationLevel, HandleConsumer<X>) - Method in class org.jdbi.v3.core.async.AbstractJdbiExecutor
- useTransaction(TransactionIsolationLevel, HandleConsumer<X>) - Method in interface org.jdbi.v3.core.async.JdbiExecutor
-
A convenience function which manages the lifecycle of a handle and yields it to a callback for use by clients.
- useTransaction(TransactionIsolationLevel, HandleConsumer<X>) - Method in class org.jdbi.v3.core.Handle
-
Executes
callbackin a transaction. - useTransaction(TransactionIsolationLevel, HandleConsumer<X>) - Method in class org.jdbi.v3.core.Jdbi
-
A convenience function which manages the lifecycle of a handle and yields it to a callback for use by clients.
V
- value() - Element in annotation type org.jdbi.v3.core.enums.DatabaseValue
-
The database value that this annotation represents.
- value() - Element in annotation type org.jdbi.v3.core.extension.annotation.ExtensionHandlerCustomizationOrder
-
The order that decorator annotations will be applied, from outermost to innermost.
- value() - Element in annotation type org.jdbi.v3.core.extension.annotation.UseExtensionConfigurer
-
A
ExtensionConfigurertype, which will be used to configureConfigRegistryinstances. - value() - Element in annotation type org.jdbi.v3.core.extension.annotation.UseExtensionHandler
-
ExtensionHandlerfactory annotation that creates the extension handler for the decorated method. - value() - Element in annotation type org.jdbi.v3.core.extension.annotation.UseExtensionHandlerCustomizer
-
ExtensionHandlerCustomizerclass that decoratesExtensionHandlerinstances for methods annotated with the associated annotation. - value() - Element in annotation type org.jdbi.v3.core.mapper.Nested
-
The column name prefix for all members of the nested object.
- value() - Element in annotation type org.jdbi.v3.core.mapper.PropagateNull
-
When annotating a type, the
valueis the column name to check for null. - value() - Element in annotation type org.jdbi.v3.core.mapper.reflect.ColumnName
- valueOf(int) - Static method in enum org.jdbi.v3.core.transaction.TransactionIsolationLevel
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.jdbi.v3.core.array.SqlArrayArgumentStrategy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.jdbi.v3.core.enums.EnumStrategy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.jdbi.v3.core.extension.ExtensionFactory.FactoryFlag
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.jdbi.v3.core.mapper.CaseStrategy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.jdbi.v3.core.mapper.reflect.AccessibleObjectStrategy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.jdbi.v3.core.statement.EmptyHandling
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.jdbi.v3.core.statement.StatementExceptions.MessageRendering
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.jdbi.v3.core.transaction.TransactionIsolationLevel
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.jdbi.v3.core.array.SqlArrayArgumentStrategy
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.jdbi.v3.core.enums.EnumStrategy
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.jdbi.v3.core.extension.ExtensionFactory.FactoryFlag
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.jdbi.v3.core.mapper.CaseStrategy
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.jdbi.v3.core.mapper.reflect.AccessibleObjectStrategy
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.jdbi.v3.core.statement.EmptyHandling
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.jdbi.v3.core.statement.StatementExceptions.MessageRendering
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.jdbi.v3.core.transaction.TransactionIsolationLevel
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- warm(ConfigRegistry) - Method in interface org.jdbi.v3.core.extension.ExtensionHandler
-
Called after the method handler is constructed to pre-initialize any important configuration data structures.
- with(Annotation...) - Method in class org.jdbi.v3.core.qualifier.QualifiedType
-
Returns a QualifiedType that has the same type as this instance, but with only the given qualifiers.
- with(Class<? extends Annotation>...) - Method in class org.jdbi.v3.core.qualifier.QualifiedType
-
Returns a QualifiedType that has the same type as this instance, but with only the given qualifiers.
- withAnnotationClasses(Iterable<Class<? extends Annotation>>) - Method in class org.jdbi.v3.core.qualifier.QualifiedType
-
Creates a QualifiedType with the same type as this instance and new qualifiers.
- withAnnotations(Iterable<? extends Annotation>) - Method in class org.jdbi.v3.core.qualifier.QualifiedType
-
Creates a QualifiedType with the same type as this instance and new qualifiers.
- withExtension(E) - Method in interface org.jdbi.v3.core.extension.ExtensionCallback
-
Will be invoked with a live extension.
- withExtension(Class<E>, ExtensionCallback<R, E, X>) - Method in class org.jdbi.v3.core.async.AbstractJdbiExecutor
- withExtension(Class<E>, ExtensionCallback<R, E, X>) - Method in interface org.jdbi.v3.core.async.JdbiExecutor
-
A convenience method which opens an extension of the given type, yields it to a callback, and returns the result of the callback.
- withExtension(Class<E>, ExtensionCallback<R, E, X>) - Method in class org.jdbi.v3.core.Jdbi
-
A convenience method which opens an extension of the given type, yields it to a callback, and returns the result of the callback.
- withHandle(Handle) - Method in interface org.jdbi.v3.core.HandleCallback
-
Will be invoked with an open Handle.
- withHandle(HandleCallback<R, X>) - Method in class org.jdbi.v3.core.async.AbstractJdbiExecutor
- withHandle(HandleCallback<R, X>) - Method in interface org.jdbi.v3.core.async.JdbiExecutor
-
A convenience function which manages the lifecycle of a handle and yields it to a callback for use by clients.
- withHandle(HandleCallback<R, X>) - Method in class org.jdbi.v3.core.Jdbi
-
A convenience function which manages the lifecycle of a handle and yields it to a callback for use by clients.
- withIterator(IteratorCallback<T, R, X>) - Method in interface org.jdbi.v3.core.result.ResultIterable
-
Passes the iterator of results to the callback.
- withIterator(ResultIterator<T>) - Method in interface org.jdbi.v3.core.result.IteratorCallback
-
Will be invoked with a Iterator<T>.
- withStream(Stream<T>) - Method in interface org.jdbi.v3.core.result.StreamCallback
-
Will be invoked with a Stream<T>.
- withStream(StreamCallback<T, R, X>) - Method in interface org.jdbi.v3.core.result.ResultIterable
-
Passes the stream of results to the callback.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form