- AbstractArgumentFactory<T> - Class in org.jdbi.v3.core.argument
-
- AbstractArgumentFactory(int) - Constructor for class org.jdbi.v3.core.argument.AbstractArgumentFactory
-
- accepts(Type) - Method in class org.jdbi.v3.core.collector.BuiltInCollectorFactory
-
- accepts(Type) - Method in interface org.jdbi.v3.core.collector.CollectorFactory
-
- accepts(Class<?>) - Method in interface org.jdbi.v3.core.extension.ExtensionFactory
-
- accumulate(C, RowView) - Method in interface org.jdbi.v3.core.result.RowReducer
-
Accumulate data from the current row into the result container.
- add(String) - Method in class org.jdbi.v3.core.statement.Batch
-
Add a statement to the batch
- 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(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.statement.StatementContext
-
Registers a Cleanable
to be invoked when the statement context is closed.
- 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, Argument) - Method in class org.jdbi.v3.core.statement.Binding
-
Bind a positional parameter at the given index (0-based)
- 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.
- allowNoResults(boolean) - Method in class org.jdbi.v3.core.result.ResultProducers
-
Normally a query that doesn't return a result set throws an exception.
- alreadyParsedRule(IntStream, int) - Method in class org.jdbi.v3.core.internal.lexer.DefineStatementLexer
-
- 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.
- appendDotPath(String) - Method in class org.jdbi.v3.core.locator.internal.ClasspathBuilder
-
- appendFullyQualifiedClassName(Class) - Method in class org.jdbi.v3.core.locator.internal.ClasspathBuilder
-
- appendNamedParameter(String) - Method in class org.jdbi.v3.core.statement.ParsedSql.Builder
-
Records a named parameter with the given name, and appends a
?
to the SQL string.
- appendPositionalParameter() - Method in class org.jdbi.v3.core.statement.ParsedSql.Builder
-
Records a positional parameters, and appends a ?
to the
SQL string.
- appendVerbatim(String) - Method in class org.jdbi.v3.core.locator.internal.ClasspathBuilder
-
- 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(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
Argument
that binds the value to a prepared statement.
- Arguments - Class in org.jdbi.v3.core.argument
-
A registry for ArgumentFactory instances.
- Arguments() - Constructor for class org.jdbi.v3.core.argument.Arguments
-
- attach(Class<E>, HandleSupplier) - Method in interface org.jdbi.v3.core.extension.ExtensionFactory
-
- attach(Class<T>) - Method in class org.jdbi.v3.core.Handle
-
Create a Jdbi extension object of the specified type bound to this handle.
- 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
-
- 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
-
Inspect a
java.beans
style object and bind parameters
based on each of its discovered properties.
- BeanPropertyArguments(String, Object) - Constructor for class org.jdbi.v3.core.argument.BeanPropertyArguments
-
- beforeBinding(PreparedStatement, StatementContext) - Method in interface org.jdbi.v3.core.statement.StatementCustomizer
-
- beforeExecution(PreparedStatement, StatementContext) - Method in interface org.jdbi.v3.core.statement.StatementCustomizer
-
Make the changes you need to inside this method.
- 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(int, Argument) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Used if you need to have some exotic parameter bound.
- bind(String, Argument) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Used if you need to have some exotic parameter bound.
- bind(int, Character) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument positionally
- bind(String, Character) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument by name
- bind(int, String) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument positionally
- bind(String, String) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument by name
- bind(int, int) - 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(String, int) - 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(int, char) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument positionally
- bind(String, char) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument by name
- bind(int, BigDecimal) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument positionally
- bind(String, BigDecimal) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument by name
- bind(int, Blob) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument positionally
- bind(String, Blob) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument by name
- bind(int, boolean) - 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(String, boolean) - 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(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(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(int, byte[]) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument positionally
- bind(String, byte[]) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument by name
- bind(int, Reader, int) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument positionally
- bind(String, Reader, int) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument by name
- bind(int, Clob) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument positionally
- bind(String, Clob) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument by name
- bind(int, Date) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument positionally
- bind(String, Date) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument by name
- bind(int, Date) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument positionally
- bind(String, Date) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument by name
- bind(int, double) - 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(String, double) - 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(int, float) - 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(String, float) - 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(int, long) - 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(String, long) - 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(int, Short) - 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(String, short) - 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(int, Object) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument positionally
- bind(String, Object) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument by name
- bind(int, Time) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument positionally
- bind(String, Time) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument by name
- bind(int, Timestamp) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument positionally
- bind(String, Timestamp) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument by name
- bind(int, URL) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument positionally
- bind(String, URL) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind an argument by name
- 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(String, Object, int) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind a value using a specific type from java.sql.Types
via
PreparedStatement#setObject(int, Object, int)
- bindBySqlType(int, Object, int) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind a value using a specific type from java.sql.Types
via
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(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.
- 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 - Class in org.jdbi.v3.core.statement
-
Represents the arguments bound to a particular statement.
- Binding() - Constructor for class org.jdbi.v3.core.statement.Binding
-
- bindList(String, Object...) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind a parameter for each value in the given vararg array, and defines an attribute as the comma-separated list
of parameter references (using colon prefix).
- bindList(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
-
- bindNull(String, int) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind NULL to be set for a given argument.
- bindNull(int, int) - Method in class org.jdbi.v3.core.statement.SqlStatement
-
Bind NULL to be set for a given argument.
- build(Type, Object, ConfigRegistry) - Method in class org.jdbi.v3.core.argument.AbstractArgumentFactory
-
- build(T, ConfigRegistry) - Method in class org.jdbi.v3.core.argument.AbstractArgumentFactory
-
Produce an argument object for the given value.
- build(Type, Object, ConfigRegistry) - Method in interface org.jdbi.v3.core.argument.ArgumentFactory
-
Returns an
Argument
for the given value if the factory supports it; empty otherwise.
- build(Type, Object, ConfigRegistry) - Method in class org.jdbi.v3.core.argument.BuiltInArgumentFactory
-
- build(ZoneId, ConfigRegistry) - Method in class org.jdbi.v3.core.argument.JavaTimeZoneIdArgumentFactory
-
- build(Type, Object, ConfigRegistry) - Method in class org.jdbi.v3.core.argument.ObjectArgumentFactory
-
- build(Type, Object, ConfigRegistry) - Method in class org.jdbi.v3.core.array.SqlArrayArgumentFactory
-
- 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
SqlArrayType
for the given
elementType
if this factory supports it; empty otherwise.
- build(Type) - Method in class org.jdbi.v3.core.collector.BuiltInCollectorFactory
-
- build(Type) - Method in interface org.jdbi.v3.core.collector.CollectorFactory
-
- build() - Method in class org.jdbi.v3.core.locator.internal.ClasspathBuilder
-
- build(Type, ConfigRegistry) - Method in class org.jdbi.v3.core.mapper.BuiltInMapperFactory
-
- 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
-
- build(Type, ConfigRegistry) - Method in class org.jdbi.v3.core.mapper.EnumByOrdinalMapperFactory
-
- 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() - Method in class org.jdbi.v3.core.statement.ParsedSql.Builder
-
- builder() - Static method in class org.jdbi.v3.core.statement.ParsedSql
-
- BuiltInArgumentFactory - Class in org.jdbi.v3.core.argument
-
The BuiltInArgumentFactory provides instances of
Argument
for
many core Java types.
- BuiltInArgumentFactory() - Constructor for class org.jdbi.v3.core.argument.BuiltInArgumentFactory
-
- BuiltInCollectorFactory - Class in org.jdbi.v3.core.collector
-
Provides Collectors for built in JDK container types.
- BuiltInCollectorFactory() - Constructor for class org.jdbi.v3.core.collector.BuiltInCollectorFactory
-
- BuiltInMapperFactory - Class in org.jdbi.v3.core.mapper
-
Column mapper factory which knows how to map JDBC-recognized types, along with some other well-known types
from the JDK.
- BuiltInMapperFactory() - Constructor for class org.jdbi.v3.core.mapper.BuiltInMapperFactory
-
- byName(Class<E>) - Static method in class org.jdbi.v3.core.mapper.EnumMapper
-
- byOrdinal(Class<E>) - Static method in class org.jdbi.v3.core.mapper.EnumMapper
-
- Call - Class in org.jdbi.v3.core.statement
-
Used for invoking stored procedures.
- Call(Handle, String) - Constructor for class org.jdbi.v3.core.statement.Call
-
- CallableStatementMapper - Interface in org.jdbi.v3.core.statement
-
Map an OUT
parameter 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
Reader
as a character stream parameter.
- CharacterStreamArgument(Reader, int) - Constructor for class org.jdbi.v3.core.argument.CharacterStreamArgument
-
- checkArgument(boolean, String, Object...) - Static method in class org.jdbi.v3.core.generic.internal.Preconditions
-
- checkNotNull(T, String, Object...) - Static method in class org.jdbi.v3.core.generic.internal.Preconditions
-
- checkState(boolean, String, Object...) - Static method in class org.jdbi.v3.core.generic.internal.Preconditions
-
- ClasspathBuilder - Class in org.jdbi.v3.core.locator.internal
-
- ClasspathBuilder() - Constructor for class org.jdbi.v3.core.locator.internal.ClasspathBuilder
-
- ClasspathSqlLocator - Class in org.jdbi.v3.core.locator
-
Locates SQL in .sql
files on the classpath.
- Cleanable - Interface in org.jdbi.v3.core.statement
-
Cleans up some JDBC resource e.g.
- 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 class org.jdbi.v3.core.statement.Binding
-
Remove all bindings from this Binding.
- 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 interface org.jdbi.v3.core.result.ResultIterator
-
Close the underlying result set.
- close() - Method in interface org.jdbi.v3.core.statement.Cleanable
-
- 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) - Method in class org.jdbi.v3.core.statement.DefaultStatementBuilder
-
No need to do anything on connection close.
- close(Connection, String, Statement) - Method in interface org.jdbi.v3.core.statement.StatementBuilder
-
Called to close an individual prepared statement created from this builder.
- close(Connection) - Method in interface org.jdbi.v3.core.statement.StatementBuilder
-
Called when the handle this StatementBuilder is attached to is closed.
- close() - Method in class org.jdbi.v3.core.statement.StatementContext
-
- CloseException - Exception in org.jdbi.v3.core
-
Thrown when an exception occurs while attempting to close a database resource.
- CloseException(String, Throwable) - Constructor for exception 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
-
- collect(Collector<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 interface org.jdbi.v3.core.result.ResultBearing
-
Collect the results into a container of the given type.
- collectInto(GenericType<R>) - Method in interface org.jdbi.v3.core.result.ResultBearing
-
Collect the results into a container of the given generic type.
- collectInto(Type) - Method in interface org.jdbi.v3.core.result.ResultBearing
-
Collect the results into a container of the given type.
- CollectorFactory - Interface in org.jdbi.v3.core.collector
-
Factory for building Collectors to assemble containers of elements.
- collectRows(Collector<RowView, A, R>) - Method in interface org.jdbi.v3.core.result.ResultBearing
-
Collect the results using the given collector.
- COLON - Static variable in class org.jdbi.v3.core.internal.lexer.ColonStatementLexer
-
- 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
-
- ColonStatementLexer - Class in org.jdbi.v3.core.internal.lexer
-
- ColonStatementLexer() - Constructor for class org.jdbi.v3.core.internal.lexer.ColonStatementLexer
-
- ColonStatementLexer(CharStream) - Constructor for class org.jdbi.v3.core.internal.lexer.ColonStatementLexer
-
- ColonStatementLexer(CharStream, RecognizerSharedState) - Constructor for class org.jdbi.v3.core.internal.lexer.ColonStatementLexer
-
- 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
-
- ColumnMappers() - Constructor for class org.jdbi.v3.core.mapper.ColumnMappers
-
- ColumnName - Annotation Type in org.jdbi.v3.core.mapper.reflect
-
Specify the binding or 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.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.
- columnNameMatches(String, String) - Method in class org.jdbi.v3.core.mapper.reflect.SnakeCaseColumnNameMatcher
-
- 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
.
- columnNameStartsWith(String, String) - Method in class org.jdbi.v3.core.mapper.reflect.SnakeCaseColumnNameMatcher
-
- COMMENT - Static variable in class org.jdbi.v3.core.internal.lexer.ColonStatementLexer
-
- COMMENT - Static variable in class org.jdbi.v3.core.internal.lexer.DefineStatementLexer
-
- COMMENT - Static variable in class org.jdbi.v3.core.internal.lexer.HashStatementLexer
-
- COMMENT - Static variable in class org.jdbi.v3.core.internal.lexer.SqlScriptLexer
-
- 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 interface org.jdbi.v3.core.transaction.TransactionHandler
-
Commit the transaction.
- concurrentUpdatable() - Method in class org.jdbi.v3.core.statement.Query
-
Specify that the result set should be concurrent updatable.
- ConfigRegistry - Class in org.jdbi.v3.core.config
-
- 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.
- ConnectionException - Exception in org.jdbi.v3.core
-
- ConnectionException(Throwable) - Constructor for exception org.jdbi.v3.core.ConnectionException
-
- ConnectionFactory - Interface in org.jdbi.v3.core
-
- 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.
- convertArrayElement(T) - Method in interface org.jdbi.v3.core.array.SqlArrayType
-
Returns an equivalent value in a type supported by the JDBC vendor.
- 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(DataSource) - Static method in class org.jdbi.v3.core.Jdbi
-
- create(ConnectionFactory) - Static method in class org.jdbi.v3.core.Jdbi
-
Factory used to allow for obtaining a Connection in a customized manner.
- create(String) - Static method in class org.jdbi.v3.core.Jdbi
-
- create(String, Properties) - Static method in class org.jdbi.v3.core.Jdbi
-
- create(String, String, String) - Static method in class org.jdbi.v3.core.Jdbi
-
- create(Connection, StatementContext) - Method in class org.jdbi.v3.core.statement.DefaultStatementBuilder
-
- 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, StatementContext) - Method in interface org.jdbi.v3.core.statement.StatementBuilder
-
Called each time a statement needs to be created.
- create(Connection, String, StatementContext) - Method in interface org.jdbi.v3.core.statement.StatementBuilder
-
Called each time a prepared statement needs to be created.
- createBatch() - Method in class org.jdbi.v3.core.Handle
-
Create a non-prepared (no bound parameters, but different SQL) batch statement.
- 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.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.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.result.ResultProducers
-
- createCopy() - Method in class org.jdbi.v3.core.statement.SqlStatements
-
- createCopy() - Method in class org.jdbi.v3.core.transaction.SerializableTransactionRunner.Configuration
-
- 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.
- createScript(String) - Method in class org.jdbi.v3.core.Handle
-
Creates a Script from the given SQL script.
- createStatementBuilder(Connection) - Method in interface org.jdbi.v3.core.statement.StatementBuilderFactory
-
- createUpdate(String) - Method in class org.jdbi.v3.core.Handle
-
Create an Insert or Update statement which returns the number of rows modified.
- 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.h2.H2DatabasePlugin
-
- customizeJdbi(Jdbi) - Method in interface org.jdbi.v3.core.spi.JdbiPlugin
-
Configure customizations global to any object managed by this Jdbi.
- 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<?>, 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<?>) - 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.ConstructorMapper
-
Use the only declared constructor to map a 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(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<?>, String) - Static method in class org.jdbi.v3.core.mapper.reflect.FieldMapper
-
Returns a mapper factory that maps to the given bean class
- FACTORY - Static variable in class org.jdbi.v3.core.statement.DefaultStatementBuilder
-
- 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.
- find(String, StatementContext) - Method in class org.jdbi.v3.core.argument.MapArguments
-
- 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
- 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(GenericType<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.
- 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<F>) - Method in class org.jdbi.v3.core.extension.Extensions
-
Find the registered factory of the given type, if any
- findFirst() - Method in interface org.jdbi.v3.core.result.ResultIterable
-
- findFirstPresent(Supplier<Optional<T>>...) - Static method in class org.jdbi.v3.core.internal.JdbiOptionals
-
- findFor(Type, Object) - Method in class org.jdbi.v3.core.argument.Arguments
-
Obtain an argument for given value in the given context
- findFor(Type) - Method in class org.jdbi.v3.core.array.SqlArrayTypes
-
Obtain an
SqlArrayType
for 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(Class<E>, HandleSupplier) - Method in class org.jdbi.v3.core.extension.Extensions
-
Create an extension instance if we have a factory that understands
the extension type which has access to a
Handle
through a
HandleSupplier
.
- findFor(Class<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.ColumnMappers
-
Obtain a column mapper for the given type.
- findFor(Type) - 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(GenericType<T>) - 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.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(GenericType<T>) - Method in class org.jdbi.v3.core.mapper.RowMappers
-
Obtain a row mapper for the given type in the given context.
- findFor(Type) - Method in class org.jdbi.v3.core.mapper.RowMappers
-
Obtain a row mapper for the given type in the given context.
- findForName(String, StatementContext) - Method in class org.jdbi.v3.core.statement.Binding
-
Look up an argument by name
- findForPosition(int) - Method in class org.jdbi.v3.core.statement.Binding
-
Look up an argument by position
- findGenericParameter(Type, Class<?>) - Static method in class org.jdbi.v3.core.generic.GenericTypes
-
For the given type which extends parameterizedSupertype, returns the
first generic parameter for 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(GenericType<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.
- findOnly() - Method in interface org.jdbi.v3.core.result.ResultIterable
-
Get the only row in the result set.
- findRowMapperFor(Type) - Method in class org.jdbi.v3.core.statement.StatementContext
-
Obtain a row mapper for the given type in this context.
- findRowMapperFor(Class<T>) - 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
SqlArrayType
for the given array element type in this context
- findSqlOnClasspath(Class<?>, String) - Static method in class org.jdbi.v3.core.locator.ClasspathSqlLocator
-
Locates SQL for the given type and name.
- findSqlOnClasspath(String) - Static method in class org.jdbi.v3.core.locator.ClasspathSqlLocator
-
Locates SQL for the given fully-qualified name.
- 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
-
- FormatterStatementLexer - Class in org.jdbi.v3.core.internal.lexer
-
- FormatterStatementLexer() - Constructor for class org.jdbi.v3.core.internal.lexer.FormatterStatementLexer
-
- FormatterStatementLexer(CharStream) - Constructor for class org.jdbi.v3.core.internal.lexer.FormatterStatementLexer
-
- FormatterStatementLexer(CharStream, RecognizerSharedState) - Constructor for class org.jdbi.v3.core.internal.lexer.FormatterStatementLexer
-
- 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
JoinRow
with the resulting values.
- GenericType<T> - Class in org.jdbi.v3.core.generic
-
- GenericType() - Constructor for class org.jdbi.v3.core.generic.GenericType
-
- GenericTypes - Class in org.jdbi.v3.core.generic
-
Utilities for working with generic types.
- 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.
- getArgumentStrategy() - Method in class org.jdbi.v3.core.array.SqlArrayTypes
-
- 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 statements
created 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.SqlStatement
-
- getBinding() - Method in class org.jdbi.v3.core.statement.StatementContext
-
- getBytes(String) - Method in class org.jdbi.v3.core.statement.OutParameters
-
- getBytes(int) - Method in class org.jdbi.v3.core.statement.OutParameters
-
- getCaseChange() - Method in class org.jdbi.v3.core.mapper.MapMappers
-
- 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(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(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(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(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(int, Type) - Method in class org.jdbi.v3.core.result.RowView
-
Use a column mapper to extract a type from the current ResultSet row.
- getColumnNameMatchers() - Method in class org.jdbi.v3.core.mapper.reflect.ReflectionMappers
-
- getColumnNames(ResultSet) - 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
-
- getConfig() - Method in interface org.jdbi.v3.core.config.Configurable
-
Returns the configuration registry associated with this object.
- 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() - Method in class org.jdbi.v3.core.Handle
-
- getConfig() - Method in class org.jdbi.v3.core.Jdbi
-
- getConfig(Class<C>) - Method in class org.jdbi.v3.core.statement.StatementContext
-
Gets the configuration object of the given type, associated with this context.
- getConfig() - Method in class org.jdbi.v3.core.statement.StatementContext
-
- getConnection() - Method in class org.jdbi.v3.core.Handle
-
Get the JDBC Connection this Handle uses.
- getConnection() - Method in class org.jdbi.v3.core.statement.StatementContext
-
Obtain the JDBC connection being used for this statement
- getContext() - Method in interface org.jdbi.v3.core.result.ResultIterator
-
- getDate(String) - Method in class org.jdbi.v3.core.statement.OutParameters
-
- getDate(int) - Method in class org.jdbi.v3.core.statement.OutParameters
-
- getDelegate() - Method in class org.jdbi.v3.core.transaction.DelegatingTransactionHandler
-
- getDelegates() - Method in class org.jdbi.v3.core.internal.lexer.ColonStatementLexer
-
- getDelegates() - Method in class org.jdbi.v3.core.internal.lexer.DefineStatementLexer
-
- getDelegates() - Method in class org.jdbi.v3.core.internal.lexer.FormatterStatementLexer
-
- getDelegates() - Method in class org.jdbi.v3.core.internal.lexer.HashStatementLexer
-
- getDelegates() - Method in class org.jdbi.v3.core.internal.lexer.SqlScriptLexer
-
- getDouble(String) - Method in class org.jdbi.v3.core.statement.OutParameters
-
- getDouble(int) - Method in class org.jdbi.v3.core.statement.OutParameters
-
- 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
-
- getExecutionMoment() - Method in class org.jdbi.v3.core.statement.StatementContext
-
- getExtensionMethod() - Method in class org.jdbi.v3.core.Handle
-
- getExtensionMethod() - Method in class org.jdbi.v3.core.statement.StatementContext
-
- getFloat(String) - Method in class org.jdbi.v3.core.statement.OutParameters
-
- getFloat(int) - Method in class org.jdbi.v3.core.statement.OutParameters
-
- getGeneratedKeysColumnNames() - Method in class org.jdbi.v3.core.statement.StatementContext
-
- getGrammarFileName() - Method in class org.jdbi.v3.core.internal.lexer.ColonStatementLexer
-
- getGrammarFileName() - Method in class org.jdbi.v3.core.internal.lexer.DefineStatementLexer
-
- getGrammarFileName() - Method in class org.jdbi.v3.core.internal.lexer.FormatterStatementLexer
-
- getGrammarFileName() - Method in class org.jdbi.v3.core.internal.lexer.HashStatementLexer
-
- getGrammarFileName() - Method in class org.jdbi.v3.core.internal.lexer.SqlScriptLexer
-
- getHandle() - Method in interface org.jdbi.v3.core.extension.HandleSupplier
-
Returns a handle, possibly creating it lazily.
- getInt(String) - Method in class org.jdbi.v3.core.statement.OutParameters
-
- getInt(int) - Method in class org.jdbi.v3.core.statement.OutParameters
-
- getKeyColumn() - Method in interface org.jdbi.v3.core.mapper.MapEntryConfig
-
- getKeyColumn() - Method in class org.jdbi.v3.core.mapper.MapEntryMappers
-
- getLong(String) - Method in class org.jdbi.v3.core.statement.OutParameters
-
- getLong(int) - Method in class org.jdbi.v3.core.statement.OutParameters
-
- getMessage() - Method in exception org.jdbi.v3.core.statement.StatementException
-
- getMethod() - Method in class org.jdbi.v3.core.extension.ExtensionMethod
-
- getObject(String, Class<T>) - Method in class org.jdbi.v3.core.statement.OutParameters
-
Type-casting convenience method which obtains an object from the map, the
object obtained should have been created with
CallableStatementMapper
- getObject(String) - Method in class org.jdbi.v3.core.statement.OutParameters
-
- getObject(int) - Method in class org.jdbi.v3.core.statement.OutParameters
-
Type-casting convenience method which obtains an object from the results positionally
object obtained should have been created with
CallableStatementMapper
- getObject(int, Class<T>) - Method in class org.jdbi.v3.core.statement.OutParameters
-
Type-casting convenience method which obtains an object from the map positionally
object obtained should have been created with
CallableStatementMapper
- getParameterCount() - Method in class org.jdbi.v3.core.statement.ParsedParameters
-
- getParameterNames() - Method in class org.jdbi.v3.core.statement.ParsedParameters
-
- getParameters() - Method in class org.jdbi.v3.core.statement.ParsedSql
-
- getParsedSql() - Method in class org.jdbi.v3.core.statement.StatementContext
-
Obtain the parsed SQL statement
- 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
- getRawType() - Method in class org.jdbi.v3.core.generic.internal.TypeToken
-
- getRenderedSql() - Method in class org.jdbi.v3.core.statement.StatementContext
-
Obtain the rendered SQL statement
- getResourceOnClasspath(String) - Static 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
-
Returns resource's contents as a string at the specified path by the specified classloader.
- 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(GenericType<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.
- getShort(String) - Method in class org.jdbi.v3.core.statement.OutParameters
-
- getShort(int) - Method in class org.jdbi.v3.core.statement.OutParameters
-
- getShortMessage() - Method in exception org.jdbi.v3.core.statement.StatementException
-
- getSql() - Method in class org.jdbi.v3.core.statement.ParsedSql
-
- getSql() - Method in class org.jdbi.v3.core.statement.SqlStatement
-
- getSqlArrayArgumentStrategy() - Method in class org.jdbi.v3.core.statement.StatementContext
-
- getSqlLogger() - Method in class org.jdbi.v3.core.statement.SqlStatements
-
- getSqlParser() - Method in class org.jdbi.v3.core.statement.SqlStatements
-
- 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
-
- getStatementBuilderFactory() - Method in class org.jdbi.v3.core.Jdbi
-
- getStatementContext() - Method in exception org.jdbi.v3.core.statement.StatementException
-
- getStatements() - Method in class org.jdbi.v3.core.statement.Script
-
Locate the Script and split it into statements.
- getString(String) - Method in class org.jdbi.v3.core.statement.OutParameters
-
- getString(int) - Method in class org.jdbi.v3.core.statement.OutParameters
-
- getTemplateEngine() - Method in class org.jdbi.v3.core.statement.SqlStatements
-
- getTimestamp(String) - Method in class org.jdbi.v3.core.statement.OutParameters
-
- getTimestamp(int) - Method in class org.jdbi.v3.core.statement.OutParameters
-
- getTransactionHandler() - Method in class org.jdbi.v3.core.Jdbi
-
- 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
-
- getType() - Method in class org.jdbi.v3.core.generic.GenericType
-
- getType() - Method in class org.jdbi.v3.core.generic.internal.TypeToken
-
- getTypeName() - Method in interface org.jdbi.v3.core.array.SqlArrayType
-
Returns the vendor-specific SQL type name String
for the element type T
.
- getUntypedNullArgument() - Method in class org.jdbi.v3.core.argument.Arguments
-
- getValueColumn() - Method in interface org.jdbi.v3.core.mapper.MapEntryConfig
-
- getValueColumn() - Method in class org.jdbi.v3.core.mapper.MapEntryMappers
-
- GT - Static variable in class org.jdbi.v3.core.internal.lexer.DefineStatementLexer
-
- 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
JdbiPlugin
instance that will configure any
provided
Handle
instances.
- installPlugins() - Method in class org.jdbi.v3.core.Jdbi
-
Use the
ServiceLoader
API to detect and install plugins automagically.
- INSTANCE - Static variable in class org.jdbi.v3.core.argument.BuiltInArgumentFactory
-
- INTEGER - Static variable in class org.jdbi.v3.core.internal.lexer.FormatterStatementLexer
-
- inTransaction(HandleCallback<R, X>) - Method in class org.jdbi.v3.core.Handle
-
Executes callback
in a transaction, and returns the result of the callback.
- inTransaction(TransactionIsolationLevel, HandleCallback<R, X>) - Method in class org.jdbi.v3.core.Handle
-
Executes callback
in 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(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.
- inTransaction(Handle, 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.CMTTransactionHandler
-
- inTransaction(Handle, 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.DelegatingTransactionHandler
-
- inTransaction(Handle, 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.LocalTransactionHandler
-
- inTransaction(Handle, HandleCallback<R, X>) - Method in class org.jdbi.v3.core.transaction.SerializableTransactionRunner
-
- inTransaction(Handle, TransactionIsolationLevel, 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 interface org.jdbi.v3.core.transaction.TransactionHandler
-
Run a transaction.
- 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() - Method in interface org.jdbi.v3.core.statement.SqlLoggable
-
- invokeInContext(ExtensionMethod, ConfigRegistry, Callable<V>) - Method in interface org.jdbi.v3.core.extension.HandleSupplier
-
Bind an extension method and configuration registry to the Handle,
invoke the given task, then reset the Handle's extension state.
- invokeInContext(ThreadLocal<L>, L, Callable<V>) - Static method in class org.jdbi.v3.core.internal.JdbiThreadLocals
-
- isArray(Type) - Static method in class org.jdbi.v3.core.generic.GenericTypes
-
- isClosed() - Method in class org.jdbi.v3.core.Handle
-
- isConcurrentUpdatable() - Method in class org.jdbi.v3.core.statement.StatementContext
-
Return if the statement should be concurrent updatable.
- isEmpty(Object) - Static method in class org.jdbi.v3.core.internal.IterableLike
-
Attempt to determine if a iterable-like is empty, preferably without iterating.
- isEmpty() - Method in class org.jdbi.v3.core.statement.Binding
-
- isForceEndTransactions() - Method in class org.jdbi.v3.core.Handles
-
Returns whether to enforce transaction termination discipline when a
Handle
is closed.
- isInTransaction() - Method in class org.jdbi.v3.core.Handle
-
- 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
-
- isIterable(Object) - Static method in class org.jdbi.v3.core.internal.IterableLike
-
- isPositional() - Method in class org.jdbi.v3.core.statement.ParsedParameters
-
- isReadOnly() - Method in class org.jdbi.v3.core.Handle
-
- isReturningGeneratedKeys() - Method in class org.jdbi.v3.core.statement.StatementContext
-
- isSqlState(String, Throwable) - Method in class org.jdbi.v3.core.transaction.SerializableTransactionRunner
-
- isStrictMatching() - Method in class org.jdbi.v3.core.mapper.reflect.ReflectionMappers
-
- isUnusedBindingAllowed() - Method in class org.jdbi.v3.core.statement.SqlStatements
-
- iterable(Object) - Static method in class org.jdbi.v3.core.internal.IterableLike
-
Given an iterable object (which may be a iterator, iterable, primitive
or reference array), return an iterable over its (possibly boxed) elements.
- IterableLike - Class in org.jdbi.v3.core.internal
-
Implements Iterator methods for unidentified arrays and Iterable things that do not
have a more specific type than Object.
- iterator() - Method in interface org.jdbi.v3.core.result.ResultIterable
-
Stream all the rows of the result set out
with an Iterator
.
- ObjectArgument - Class in org.jdbi.v3.core.argument
-
An Argument which uses setObject
to support
vendor specific types.
- ObjectArgument(Object, Integer) - Constructor for class org.jdbi.v3.core.argument.ObjectArgument
-
Bind a vendor-supported object with the given SQL type
- 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
-
Inspect an object and binds parameters based on each of its public fields.
- ObjectFieldArguments(String, Object) - Constructor for class org.jdbi.v3.core.argument.ObjectFieldArguments
-
- ObjectMethodArguments - Class in org.jdbi.v3.core.argument
-
Binds public methods with no parameters on a specified object.
- ObjectMethodArguments(String, Object) - Constructor for class org.jdbi.v3.core.argument.ObjectMethodArguments
-
- of(Type) - Static method in class org.jdbi.v3.core.generic.internal.TypeToken
-
- of(Object) - Static method in class org.jdbi.v3.core.internal.IterableLike
-
Given an iterable object (which may be a iterator, iterable, primitive
or reference array), return an iterator over its (possibly boxed) elements.
- of(Type, ColumnMapper<?>) - Static method in interface org.jdbi.v3.core.mapper.ColumnMapperFactory
-
Create a ColumnMapperFactory from a given
ColumnMapper
that
matches a single Type exactly.
- 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>, String) - 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>, String) - Static method in class org.jdbi.v3.core.mapper.reflect.ConstructorMapper
-
Return a ConstructorMapper for the given type and prefix.
- 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(Class<T>) - Static method in class org.jdbi.v3.core.mapper.reflect.FieldMapper
-
Returns a mapper for the given bean class
- of(Class<T>, String) - Static method in class org.jdbi.v3.core.mapper.reflect.FieldMapper
-
Returns a mapper for the given bean class
- of(Type, RowMapper<?>) - Static method in interface org.jdbi.v3.core.mapper.RowMapperFactory
-
Create a RowMapperFactory from a given
RowMapper
that matches
a
Type
exactly.
- 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(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(ResultIterator<T>) - Static method in interface org.jdbi.v3.core.result.ResultIterable
-
Returns a ResultIterable backed by the given iterator.
- onDemand(Class<E>) - Method in class org.jdbi.v3.core.Jdbi
-
- 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
-
- open(Connection) - Static method in class org.jdbi.v3.core.Jdbi
-
Create a Handle wrapping a particular JDBC Connection
- 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() - Method in class org.jdbi.v3.core.Jdbi
-
Obtain a Handle to the data source wrapped by this Jdbi instance.
- openConnection() - Method in interface org.jdbi.v3.core.ConnectionFactory
-
- OptionalCollectors - Class in org.jdbi.v3.core.collector
-
- org.jdbi.v3.core - package org.jdbi.v3.core
-
The 'core' package hosts the top level interface into jdbi core.
- org.jdbi.v3.core.argument - package org.jdbi.v3.core.argument
-
The argument
classes translate Java types into JDBC parameters.
- org.jdbi.v3.core.array - package org.jdbi.v3.core.array
-
The array
package binds Java arrays and collections to SQL arrays, and
handles mapping array result types back to Java arrays and collections.
- org.jdbi.v3.core.collector - package org.jdbi.v3.core.collector
-
The collector
package 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 config
classes define a configuration registry starting from
each Jdbi
instance.
- org.jdbi.v3.core.extension - package org.jdbi.v3.core.extension
-
The extension
classes allow you to extend Jdbi
's
functionality by declaring interface types that may attach to Handle
instances.
- org.jdbi.v3.core.generic - package org.jdbi.v3.core.generic
-
The generic
package holds utility methods and helper
types for reflectively working with Java generic types.
- org.jdbi.v3.core.generic.internal - package org.jdbi.v3.core.generic.internal
-
TypeToken implementation lovingly lifted from Google Guava 21.0
- org.jdbi.v3.core.h2 - package org.jdbi.v3.core.h2
-
The h2
package adds vendor support for the H2 embeddable pure Java database implementation.
- org.jdbi.v3.core.internal - package org.jdbi.v3.core.internal
-
Utility classes used internally by Jdbi.
- org.jdbi.v3.core.internal.lexer - package org.jdbi.v3.core.internal.lexer
-
- org.jdbi.v3.core.locator - package org.jdbi.v3.core.locator
-
locator
instances inspect text given to Jdbi
and
provide lookup of the actual SQL to execute.
- org.jdbi.v3.core.locator.internal - package org.jdbi.v3.core.locator.internal
-
- org.jdbi.v3.core.mapper - package org.jdbi.v3.core.mapper
-
mapper
s take the JDBC ResultSet and produce Java results.
- org.jdbi.v3.core.mapper.reflect - package org.jdbi.v3.core.mapper.reflect
-
mapper.reflect
provides RowMappers that reflectively
construct result types using techniques like constructor injection
or JavaBeans setters.
- org.jdbi.v3.core.result - package org.jdbi.v3.core.result
-
result
provides the streaming interface that reads rows from JDBC
and drives the mapper
and collector
processes to
produce results.
- org.jdbi.v3.core.spi - package org.jdbi.v3.core.spi
-
The spi
package includes entrypoints to extending Jdbi
instances with your own custom functionality.
- org.jdbi.v3.core.statement - package org.jdbi.v3.core.statement
-
The statement
package provides most of the Fluent API
to drive statement execution.
- org.jdbi.v3.core.transaction - package org.jdbi.v3.core.transaction
-
The transaction
package implements the strategy
Jdbi
uses to open and close transactions.
- org.jdbi.v3.meta - package org.jdbi.v3.meta
-
- OTHER - Static variable in class org.jdbi.v3.core.internal.lexer.SqlScriptLexer
-
- OutParameters - Class in org.jdbi.v3.core.statement
-
Represents output from a Call (CallableStatement).
- OutParameters() - Constructor for class org.jdbi.v3.core.statement.OutParameters
-
- reduce(U, BiFunction<U, T, U>) - Method in interface org.jdbi.v3.core.result.ResultIterable
-
Reduce the results.
- reduceResultSet(U, ResultSetAccumulator<U>) - Method in interface org.jdbi.v3.core.result.ResultBearing
-
Reduce the results.
- reduceRows(RowReducer<C, R>) - Method in interface org.jdbi.v3.core.result.ResultBearing
-
Reduce the result rows using the given row reducer.
- 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(U, BiFunction<U, RowView, U>) - Method in interface org.jdbi.v3.core.result.ResultBearing
-
Reduce the results.
- Reflection - Class in org.jdbi.v3.core.generic.internal
-
- 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(ArgumentFactory) - Method in class org.jdbi.v3.core.argument.Arguments
-
Registers the given argument factory.
- 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(SqlArrayType<?>) - Method in class org.jdbi.v3.core.array.SqlArrayTypes
-
Register a
SqlArrayType
which 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(CollectorFactory) - Method in class org.jdbi.v3.core.collector.JdbiCollectors
-
- register(ExtensionFactory) - Method in class org.jdbi.v3.core.extension.Extensions
-
Register an extension factory.
- 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(Type, ColumnMapper<?>) - Method in class org.jdbi.v3.core.mapper.ColumnMappers
-
Register a column mapper for a given explicit
Type
Column mappers may be reused by
RowMapper
to map individual columns.
- register(ColumnMapperFactory) - Method in class org.jdbi.v3.core.mapper.ColumnMappers
-
Register a 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(Type, RowMapper<?>) - Method in class org.jdbi.v3.core.mapper.RowMappers
-
Register a row mapper for a given type.
- register(RowMapperFactory) - Method in class org.jdbi.v3.core.mapper.RowMappers
-
Register a row mapper factory.
- registerArgument(ArgumentFactory) - 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(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)
- registerCollector(CollectorFactory) - Method in interface org.jdbi.v3.core.config.Configurable
-
Convenience method for getConfig(JdbiCollectors.class).register(factory)
- registerColumnMapper(ColumnMapper<?>) - Method in interface org.jdbi.v3.core.config.Configurable
-
Convenience method for getConfig(ColumnMappers.class).register(mapper)
- registerColumnMapper(Type, ColumnMapper<?>) - Method in interface org.jdbi.v3.core.config.Configurable
-
Convenience method for getConfig(ColumnMappers.class).register(type, mapper)
- registerColumnMapper(ColumnMapperFactory) - Method in interface org.jdbi.v3.core.config.Configurable
-
Convenience method for getConfig(ColumnMappers.class).register(factory)
- registerExtension(ExtensionFactory) - Method in interface org.jdbi.v3.core.config.Configurable
-
Convenience method for getConfig(Extensions.class).register(factory)
- 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(RowMapper<?>) - Method in interface org.jdbi.v3.core.config.Configurable
-
Convenience method for getConfig(RowMappers.class).register(mapper)
- registerRowMapper(Type, RowMapper<?>) - Method in interface org.jdbi.v3.core.config.Configurable
-
Convenience method for getConfig(RowMappers.class).register(type, 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
-
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.
- render(String, StatementContext) - Method in class org.jdbi.v3.core.statement.DefinedAttributeTemplateEngine
-
- render(String, StatementContext) - Method in class org.jdbi.v3.core.statement.MessageFormatTemplateEngine
-
- 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.
- reportError(RecognitionException) - Method in class org.jdbi.v3.core.internal.lexer.ColonStatementLexer
-
- reportError(RecognitionException) - Method in class org.jdbi.v3.core.internal.lexer.DefineStatementLexer
-
- reportError(RecognitionException) - Method in class org.jdbi.v3.core.internal.lexer.FormatterStatementLexer
-
- reportError(RecognitionException) - Method in class org.jdbi.v3.core.internal.lexer.HashStatementLexer
-
- reportError(RecognitionException) - Method in class org.jdbi.v3.core.internal.lexer.SqlScriptLexer
-
- resolveMapEntryType(Type) - Static method in class org.jdbi.v3.core.generic.GenericTypes
-
Given a subtype of Map<K,V>
, returns the corresponding map entry type Map.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 type
parameter in the context of contextType
.
- resolveType(Type) - Method in class org.jdbi.v3.core.generic.internal.TypeResolver
-
- resolveType(Type) - Method in class org.jdbi.v3.core.generic.internal.TypeToken
-
- ResultBearing - Interface in org.jdbi.v3.core.result
-
Provides access to the contents of a
ResultSet
by mapping to Java types.
- ResultIterable<T> - Interface in org.jdbi.v3.core.result
-
- 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
-
- ResultProducers - Class in org.jdbi.v3.core.result
-
Commonly used ResultProducer implementations.
- ResultProducers() - Constructor for class org.jdbi.v3.core.result.ResultProducers
-
- ResultSetAccumulator<T> - Interface in org.jdbi.v3.core.result
-
A
ResultSetAccumulator
repeatedly combines rows
from the given
ResultSet
to produce a single
result.
- ResultSetException - Exception in org.jdbi.v3.core.result
-
Wraps exceptions thrown while traversing the JDBC result set.
- ResultSetException(String, Exception, StatementContext) - Constructor for exception 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
ResultBearing
over the statement-generated keys.
- returningResults() - Static method in class org.jdbi.v3.core.result.ResultProducers
-
Result producer that returns a
ResultBearing
over 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.
- 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
-
- 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
ResultSet
into a stream of result
elements.
- RowView - Class in org.jdbi.v3.core.result
-
A RowView is an accessor for ResultSet
that uses
RowMapper
or ColumnMapper
to extract values.
- 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(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(Supplier<ResultSet>, StatementContext) - Method in interface org.jdbi.v3.core.result.ResultSetScanner
-
Scans the lazily-supplied result set into a result.
- 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 which will be executed in a batch statement.
- Script(Handle, String) - Constructor for class org.jdbi.v3.core.statement.Script
-
- select(String, Object...) - Method in class org.jdbi.v3.core.Handle
-
Convenience method which creates a query with the given positional arguments
- SEMICOLON - Static variable in class org.jdbi.v3.core.internal.lexer.SqlScriptLexer
-
- 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
- setArgumentStrategy(SqlArrayArgumentStrategy) - Method in class org.jdbi.v3.core.array.SqlArrayTypes
-
Sets the strategy used when binding array-type arguments to SQL statements.
- setCaseChange(UnaryOperator<String>) - Method in class org.jdbi.v3.core.mapper.MapMappers
-
- 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
-
- setConcurrentUpdatable(boolean) - Method in class org.jdbi.v3.core.statement.StatementContext
-
Set the context to create a concurrent updatable result set.
- setExceptionMoment(Instant) - Method in class org.jdbi.v3.core.statement.StatementContext
-
- setExecutionMoment(Instant) - Method in class org.jdbi.v3.core.statement.StatementContext
-
- setExtension(String) - Method in class org.jdbi.v3.core.locator.internal.ClasspathBuilder
-
- 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
Handle
is closed.
- setGeneratedKeysColumnNames(String[]) - Method in class org.jdbi.v3.core.statement.StatementContext
-
Set the generated key column names.
- 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.
- setMapKeyColumn(String) - Method in interface org.jdbi.v3.core.config.Configurable
-
Convenience method for getConfig(MapEntryMappers.class).setKeyColumn(keyColumn)
- 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.Query
-
Specify the maximum field size in the result set.
- setMaxRetries(int) - Method in class org.jdbi.v3.core.transaction.SerializableTransactionRunner.Configuration
-
- setMaxRows(int) - Method in class org.jdbi.v3.core.statement.Query
-
Specify the maximum number of rows the query is to return.
- setOnFailure(Consumer<List<Exception>>) - Method in class org.jdbi.v3.core.transaction.SerializableTransactionRunner.Configuration
-
- setOnSuccess(Consumer<List<Exception>>) - Method in class org.jdbi.v3.core.transaction.SerializableTransactionRunner.Configuration
-
- 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
-
- setReadOnly(boolean) - Method in class org.jdbi.v3.core.Handle
-
Set the Handle readOnly.
- 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.mapper.ColumnMappers
-
- setRegistry(ConfigRegistry) - Method in class org.jdbi.v3.core.mapper.Mappers
-
- setRegistry(ConfigRegistry) - Method in class org.jdbi.v3.core.mapper.RowMappers
-
- setReturningGeneratedKeys(boolean) - Method in class org.jdbi.v3.core.statement.StatementContext
-
Sets whether the current statement returns generated keys.
- setSerializationFailureSqlState(String) - Method in class org.jdbi.v3.core.transaction.SerializableTransactionRunner.Configuration
-
- 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
-
- 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
SqlParser
used to parse parameters in SQL statements
executed by Jdbi.
- setStatementBuilder(StatementBuilder) - Method in class org.jdbi.v3.core.Handle
-
Specify the statement builder to use 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.
- 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
-
- setTransactionHandler(TransactionHandler) - Method in class org.jdbi.v3.core.Jdbi
-
Specify the TransactionHandler instance to use.
- setTransactionIsolation(TransactionIsolationLevel) - Method in class org.jdbi.v3.core.Handle
-
Set the transaction isolation level on the underlying connection.
- setTransactionIsolation(int) - Method in class org.jdbi.v3.core.Handle
-
Set the transaction isolation level on the underlying connection.
- setUntypedNullArgument(Argument) - Method in class org.jdbi.v3.core.argument.Arguments
-
Configure the
Argument
to 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.
- SingleColumnMapper<T> - Class in org.jdbi.v3.core.mapper
-
- 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.
- size() - Method in class org.jdbi.v3.core.statement.PreparedBatch
-
- 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
-
- sneakyThrow(Throwable) - Static method in class org.jdbi.v3.core.internal.Throwables
-
unchecked throws t.
- 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.BeanMapper
-
- 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.
- SqlArrayArgumentFactory - Class in org.jdbi.v3.core.array
-
- SqlArrayArgumentFactory() - Constructor for class org.jdbi.v3.core.array.SqlArrayArgumentFactory
-
- SqlArrayArgumentStrategy - Enum in org.jdbi.v3.core.array
-
- 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
-
- 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
-
- SqlLoggable<T> - Interface in org.jdbi.v3.core.statement
-
- 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
ParsedSql
containing 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).
- SqlScriptLexer - Class in org.jdbi.v3.core.internal.lexer
-
- SqlScriptLexer() - Constructor for class org.jdbi.v3.core.internal.lexer.SqlScriptLexer
-
- SqlScriptLexer(CharStream) - Constructor for class org.jdbi.v3.core.internal.lexer.SqlScriptLexer
-
- SqlScriptLexer(CharStream, RecognizerSharedState) - Constructor for class org.jdbi.v3.core.internal.lexer.SqlScriptLexer
-
- SqlScriptParser - Class in org.jdbi.v3.core.internal
-
An SQL script parser.
- SqlScriptParser(SqlScriptParser.TokenHandler) - Constructor for class org.jdbi.v3.core.internal.SqlScriptParser
-
- SqlScriptParser.TokenHandler - Interface in org.jdbi.v3.core.internal
-
- SqlStatement<This extends SqlStatement<This>> - Class in org.jdbi.v3.core.statement
-
This class provides the common functions between Query
and
Update
.
- SqlStatements - Class in org.jdbi.v3.core.statement
-
- SqlStatements() - Constructor for class org.jdbi.v3.core.statement.SqlStatements
-
- 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.
- StatementCustomizer - Interface in org.jdbi.v3.core.statement
-
Allows tweaking of statement behaviour.
- StatementCustomizers - Class in org.jdbi.v3.core.statement
-
- StatementException - Exception in org.jdbi.v3.core.statement
-
Superclass for exceptions thrown while trying to execute a statement.
- StatementException(String, Throwable, StatementContext) - Constructor for exception org.jdbi.v3.core.statement.StatementException
-
- StatementException(String, Throwable) - Constructor for exception org.jdbi.v3.core.statement.StatementException
-
- StatementException(Throwable, StatementContext) - Constructor for exception org.jdbi.v3.core.statement.StatementException
-
- StatementException(String, StatementContext) - Constructor for exception org.jdbi.v3.core.statement.StatementException
-
- StatementException(String) - Constructor for exception org.jdbi.v3.core.statement.StatementException
-
- statementTimeout(int) - Static method in class org.jdbi.v3.core.statement.StatementCustomizers
-
Set a timeout on the statement.
- stream(Map<K, V>) - Method in interface org.jdbi.v3.core.result.LinkedHashMapRowReducer
-
- 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.
- StreamCallback<T,R,X extends Exception> - Interface in org.jdbi.v3.core.result
-
- StreamConsumer<T,X extends Exception> - Interface in org.jdbi.v3.core.result
-
- STRING - Static variable in class org.jdbi.v3.core.internal.lexer.FormatterStatementLexer
-
- synpred1_DefineStatementLexer() - Method in class org.jdbi.v3.core.internal.lexer.DefineStatementLexer
-
- synpred1_DefineStatementLexer_fragment() - Method in class org.jdbi.v3.core.internal.lexer.DefineStatementLexer
-
- synpred5_DefineStatementLexer() - Method in class org.jdbi.v3.core.internal.lexer.DefineStatementLexer
-
- synpred5_DefineStatementLexer_fragment() - Method in class org.jdbi.v3.core.internal.lexer.DefineStatementLexer
-