Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- accepts(Class<?>) - Method in class org.jdbi.v3.sqlobject.SqlObjectFactory
- accepts(Class<?>, Method) - Method in interface org.jdbi.v3.sqlobject.HandlerFactory
-
Deprecated.
- AllowUnusedBindings - Annotation Type in org.jdbi.v3.sqlobject.customizer
-
Suppresses error when bindings are created but never used in the query.
- AnnotationSqlLocator - Class in org.jdbi.v3.sqlobject.locator
-
Locates SQL on the SQL method annotations like
@SqlQuery("foo")
. - AnnotationSqlLocator() - Constructor for class org.jdbi.v3.sqlobject.locator.AnnotationSqlLocator
- apply(SqlStatement<?>) - Method in interface org.jdbi.v3.sqlobject.customizer.SqlStatementCustomizer
-
Invoked to customize the sql statement
- apply(SqlStatement<?>, Object) - Method in interface org.jdbi.v3.sqlobject.customizer.SqlStatementParameterCustomizer
-
Applies the customization to the SQL statement using the argument passed to the method.
- applyDecorators(Handler, Class<?>, Method) - Method in class org.jdbi.v3.sqlobject.HandlerDecorators
-
Deprecated.Applies all registered decorators to the given handler
- asCallback() - Method in interface org.jdbi.v3.sqlobject.transaction.TransactionalConsumer
B
- BatchChunkSize - Annotation Type in org.jdbi.v3.sqlobject.statement
-
Used to control the batch chunk size for sql batch operations.
- begin() - Method in interface org.jdbi.v3.sqlobject.transaction.Transactional
-
Begins a transaction.
- Bind - Annotation Type in org.jdbi.v3.sqlobject.customizer
-
Binds the annotated argument as a named parameter, and as a positional parameter.
- BindBean - Annotation Type in org.jdbi.v3.sqlobject.customizer
-
Binds the properties of a JavaBean to a SQL statement.
- BindBeanList - Annotation Type in org.jdbi.v3.sqlobject.customizer
-
Binds each property for each value in the annotated
Iterable
or array/varargs argument, and defines a named attribute as a comma-separated list of each bound parameter name. - BindFields - Annotation Type in org.jdbi.v3.sqlobject.customizer
-
Binds the properties and public fields of an object to a SQL statement.
- BindList - Annotation Type in org.jdbi.v3.sqlobject.customizer
-
Binds each value in the annotated
Iterable
or array/varargs argument, and defines a named attribute as a comma-separated list of each bound parameter name. - BindList.EmptyHandling - Enum in org.jdbi.v3.sqlobject.customizer
-
describes what needs to be done if the passed argument is null or empty
- BindMap - Annotation Type in org.jdbi.v3.sqlobject.customizer
-
Binds the entries of a
Map<String, Object>
to a SQL statement. - BindMethods - Annotation Type in org.jdbi.v3.sqlobject.customizer
- BindMethodsList - Annotation Type in org.jdbi.v3.sqlobject.customizer
-
Binds each method for each value in the annotated
Iterable
or array/varargs argument, and defines a named attribute as a comma-separated list of each bound method name. - BindParameterCustomizerFactory - Class in org.jdbi.v3.sqlobject.statement
-
Standard implementation of
ParameterCustomizerFactory
that delegates toBindFactory.createForParameter(Annotation, Class, Method, Parameter, int, Type)
passing null for Annotation parameter. - BindParameterCustomizerFactory() - Constructor for class org.jdbi.v3.sqlobject.statement.BindParameterCustomizerFactory
- BindPojo - Annotation Type in org.jdbi.v3.sqlobject.customizer
-
Binds the properties of an object to a SQL statement.
- buildExtensionMetadata(ExtensionMetadata.Builder) - Method in class org.jdbi.v3.sqlobject.SqlObjectFactory
- buildHandler(Class<?>, Method) - Method in interface org.jdbi.v3.sqlobject.HandlerFactory
-
Deprecated.Returns a
Handler
instance for executing the given SQL Object method.
C
- commit() - Method in interface org.jdbi.v3.sqlobject.transaction.Transactional
-
Commits the open transaction.
- Configurer - Interface in org.jdbi.v3.sqlobject.config
-
Deprecated.
- ConfiguringAnnotation - Annotation Type in org.jdbi.v3.sqlobject.config
-
Deprecated.
- convertKeys() - Element in annotation type org.jdbi.v3.sqlobject.customizer.BindMap
-
Whether to automatically convert map keys to strings.
- createCopy() - Method in class org.jdbi.v3.sqlobject.customizer.TimestampedConfig
- createCopy() - Method in class org.jdbi.v3.sqlobject.HandlerDecorators
-
Deprecated.
- createCopy() - Method in class org.jdbi.v3.sqlobject.Handlers
-
Deprecated.
- createCopy() - Method in class org.jdbi.v3.sqlobject.SqlObjects
- createExtensionHandler(Class<?>, Method) - Method in interface org.jdbi.v3.sqlobject.HandlerFactory
-
Deprecated.
- createForMethod(Annotation, Class<?>, Method) - Method in interface org.jdbi.v3.sqlobject.customizer.SqlStatementCustomizerFactory
-
Used to create customizers for annotations on methods.
- createForParameter(Annotation, Class<?>, Method, Parameter, int, Type) - Method in interface org.jdbi.v3.sqlobject.customizer.SqlStatementCustomizerFactory
-
Used to create customizers for annotations on parameters
- createForParameter(Class<?>, Method, Parameter, int, Type) - Method in class org.jdbi.v3.sqlobject.statement.BindParameterCustomizerFactory
- createForParameter(Class<?>, Method, Parameter, int, Type) - Method in interface org.jdbi.v3.sqlobject.statement.ParameterCustomizerFactory
-
Creates parameter customizer used to bind sql statement parameters when parameter is not explicitly annotated
- createForType(Annotation, Class<?>) - Method in interface org.jdbi.v3.sqlobject.customizer.SqlStatementCustomizerFactory
-
Used to create customizers for annotations on sql object interfaces
- CreateSqlObject - Annotation Type in org.jdbi.v3.sqlobject
-
Use this annotation on a sql object method to create a new sql object with the same underlying handle as the sql object the method is invoked on.
- customize(ExtensionHandler, Class<?>, Method) - Method in interface org.jdbi.v3.sqlobject.HandlerDecorator
-
Deprecated.
- customizeJdbi(Jdbi) - Method in class org.jdbi.v3.sqlobject.SqlObjectPlugin
D
- decorateHandler(Handler, Class<?>, Method) - Method in interface org.jdbi.v3.sqlobject.HandlerDecorator
-
Deprecated.Decorates the
Handler
to add or substitute behavior on the given SQL Object method. - DecoratorOrder - Annotation Type in org.jdbi.v3.sqlobject
-
Deprecated.Use
UseExtensionHandlerCustomizer
to mark annotations andExtensionHandlerCustomizationOrder
instead. - define(SqlStatement, String) - Method in enum org.jdbi.v3.sqlobject.customizer.BindList.EmptyHandling
-
Deprecated.legacy internal API
- Define - Annotation Type in org.jdbi.v3.sqlobject.customizer
-
Defines a named attribute as the argument passed to the annotated parameter.
- DefineList - Annotation Type in org.jdbi.v3.sqlobject.customizer
- DefineNamedBindings - Annotation Type in org.jdbi.v3.sqlobject.customizer
-
Defines all bound arguments that don't already have a definition.
E
- EXTENSION_ID - Static variable in class org.jdbi.v3.sqlobject.SqlObjectFactory
F
- FetchSize - Annotation Type in org.jdbi.v3.sqlobject.customizer
-
Specify batch size to fetch resulting rows in.
- findFor(Class<?>, Method) - Method in class org.jdbi.v3.sqlobject.Handlers
-
Deprecated.
G
- GenerateSqlObject - Annotation Type in org.jdbi.v3.sqlobject
-
Decorate a SqlObject type to instruct the
jdbi3-generator
annotation processor to create a compiled implementation. - getConfigCustomizerFactories(ConfigRegistry) - Method in class org.jdbi.v3.sqlobject.SqlObjectFactory
- getCoreImpl() - Method in enum org.jdbi.v3.sqlobject.customizer.BindList.EmptyHandling
- getDefaultParameterCustomizerFactory() - Method in class org.jdbi.v3.sqlobject.SqlObjects
-
Returns the configured
ParameterCustomizerFactory
used to bind sql statement parameters when parameter is not explicitly annotated. - getExtensionHandlerCustomizers(ConfigRegistry) - Method in class org.jdbi.v3.sqlobject.SqlObjectFactory
- getExtensionHandlerFactories(ConfigRegistry) - Method in class org.jdbi.v3.sqlobject.SqlObjectFactory
- GetGeneratedKeys - Annotation Type in org.jdbi.v3.sqlobject.statement
- getHandle() - Method in interface org.jdbi.v3.sqlobject.SqlObject
-
Returns the handle used in the current sql object context.
- getSqlLocator() - Method in class org.jdbi.v3.sqlobject.SqlObjects
-
Returns the configured
SqlLocator
. - getTimezone() - Method in class org.jdbi.v3.sqlobject.customizer.TimestampedConfig
-
Returns the timezone used in the resulting
OffsetDateTime
.
H
- Handler - Interface in org.jdbi.v3.sqlobject
-
Deprecated.Use
ExtensionHandler
directly. - HandlerDecorator - Interface in org.jdbi.v3.sqlobject
-
Deprecated.Use
ExtensionHandlerCustomizer
directly. - HandlerDecorators - Class in org.jdbi.v3.sqlobject
-
Deprecated.Use
ExtensionHandlerCustomizer
instances which are returned directly from theExtensionFactory.getExtensionHandlerCustomizers(ConfigRegistry)
. - HandlerDecorators() - Constructor for class org.jdbi.v3.sqlobject.HandlerDecorators
-
Deprecated.
- HandlerFactory - Interface in org.jdbi.v3.sqlobject
-
Deprecated.Use
ExtensionHandlerFactory
instances directly. - Handlers - Class in org.jdbi.v3.sqlobject
-
Deprecated.Use
ExtensionHandlerFactory
instances that are returned from theExtensionFactory.getExtensionHandlerFactories(ConfigRegistry)
method. - Handlers() - Constructor for class org.jdbi.v3.sqlobject.Handlers
-
Deprecated.
I
- inTransaction(TransactionIsolationLevel, TransactionalCallback<R, This, X>) - Method in interface org.jdbi.v3.sqlobject.transaction.Transactional
-
Executes the given callback within a transaction, returning the value returned by the callback.
- inTransaction(TransactionalCallback<R, This, X>) - Method in interface org.jdbi.v3.sqlobject.transaction.Transactional
-
Executes the given callback within a transaction, returning the value returned by the callback.
- inTransaction(T) - Method in interface org.jdbi.v3.sqlobject.transaction.TransactionalCallback
-
Execute in a transaction.
- invoke(Object, Object[], HandleSupplier) - Method in interface org.jdbi.v3.sqlobject.Handler
-
Deprecated.Executes a SQL Object method, and returns the result.
- invoke(HandleSupplier, Object, Object...) - Method in interface org.jdbi.v3.sqlobject.Handler
-
Deprecated.
- isInTransaction() - Method in interface org.jdbi.v3.sqlobject.transaction.Transactional
-
Returns True if this object is currently in a transaction.
K
- KeyColumn - Annotation Type in org.jdbi.v3.sqlobject.config
-
Configures the column to use for map keys, for SQL methods that return
Map
, or Guava's Multimap. - keys() - Element in annotation type org.jdbi.v3.sqlobject.customizer.BindMap
-
The set of map keys to bind.
L
- locate(Class<?>, Method, ConfigRegistry) - Method in class org.jdbi.v3.sqlobject.locator.AnnotationSqlLocator
- locate(Class<?>, Method, ConfigRegistry) - Method in interface org.jdbi.v3.sqlobject.locator.SqlLocator
-
Locates and returns the SQL for the given SQL Object type and method.
- locate(Class<?>, Method, ConfigRegistry) - Method in class org.jdbi.v3.sqlobject.locator.SqlObjectClasspathSqlLocator
M
- MapTo - Annotation Type in org.jdbi.v3.sqlobject.statement
-
Used to specify a polymorphic return type as a parameter on a query method.
- MaxRows - Annotation Type in org.jdbi.v3.sqlobject.customizer
-
Used to specify the maximum number of rows to return on a result set.
- methodNames() - Element in annotation type org.jdbi.v3.sqlobject.customizer.BindMethodsList
-
The list of methods to invoke on each element in the argument
N
- name() - Element in annotation type org.jdbi.v3.sqlobject.customizer.OutParameter
- NO_VALUE - Static variable in annotation type org.jdbi.v3.sqlobject.customizer.Bind
- NULL - Enum constant in enum org.jdbi.v3.sqlobject.customizer.BindList.EmptyHandling
-
Deprecated.vaguely named in light of new additions, use
BindList.EmptyHandling.NULL_STRING
instead - NULL_STRING - Enum constant in enum org.jdbi.v3.sqlobject.customizer.BindList.EmptyHandling
-
Define "null", useful e.g.
- NULL_VALUE - Enum constant in enum org.jdbi.v3.sqlobject.customizer.BindList.EmptyHandling
-
Define
null
, leaving the result up to theTemplateEngine
to decide.
O
- onEmpty() - Element in annotation type org.jdbi.v3.sqlobject.customizer.BindList
-
What to do when the argument is null or empty.
- org.jdbi.v3.sqlobject - package org.jdbi.v3.sqlobject
-
SQL Objects
- org.jdbi.v3.sqlobject.config - package org.jdbi.v3.sqlobject.config
-
The
sqlobject.config
package defines configuration annotations that modify theJdbi
configuration used as the context for executing SqlObject methods, such as registering handled types. - org.jdbi.v3.sqlobject.customizer - package org.jdbi.v3.sqlobject.customizer
-
The
sqlobject.customizer
package provides annotations that customize the execution of a statement. - org.jdbi.v3.sqlobject.locator - package org.jdbi.v3.sqlobject.locator
-
sqlobject.locator
inspects the declared SqlObject and determines the statement text to pass off tocore.locator
for final resolution of the statement text. - org.jdbi.v3.sqlobject.statement - package org.jdbi.v3.sqlobject.statement
-
The
sqlobject.statement
annotations declare the type of statement that a SqlObject method should create, such as a@SqlQuery
to return rows or a@SqlUpdate
to modify rows and return the modification count. - org.jdbi.v3.sqlobject.transaction - package org.jdbi.v3.sqlobject.transaction
-
sqlobject.transaction
annotations declaratively create transactions wrapping a SqlObject method. - OutParameter - Annotation Type in org.jdbi.v3.sqlobject.customizer
-
Declare a named out parameter on an
@SqlCall
annotated method. - OutParameterList - Annotation Type in org.jdbi.v3.sqlobject.customizer
P
- ParameterCustomizerFactory - Interface in org.jdbi.v3.sqlobject.statement
- prefix() - Element in annotation type org.jdbi.v3.sqlobject.config.RegisterBeanMapper
-
Column name prefix for the bean type.
- prefix() - Element in annotation type org.jdbi.v3.sqlobject.config.RegisterConstructorMapper
-
Column name prefix for the mapped type.
- prefix() - Element in annotation type org.jdbi.v3.sqlobject.config.RegisterFieldMapper
-
Column name prefix for the mapped type.
- propertyNames() - Element in annotation type org.jdbi.v3.sqlobject.customizer.BindBeanList
-
The list of properties to invoke on each element in the argument
Q
- QueryTimeOut - Annotation Type in org.jdbi.v3.sqlobject.customizer
-
Specify the query timeout in seconds.
R
- readOnly() - Element in annotation type org.jdbi.v3.sqlobject.transaction.Transaction
-
Set the connection readOnly property before the transaction starts, and restore it before it returns.
- register(HandlerDecorator) - Method in class org.jdbi.v3.sqlobject.HandlerDecorators
-
Deprecated.Registers the given handler decorator with the registry.
- register(HandlerFactory) - Method in class org.jdbi.v3.sqlobject.Handlers
-
Deprecated.Registers the given handler factory with the registry.
- RegisterArgumentFactories - Annotation Type in org.jdbi.v3.sqlobject.config
- RegisterArgumentFactory - Annotation Type in org.jdbi.v3.sqlobject.config
-
Used to register an argument factory with either a sql object type or for a specific method.
- RegisterBeanMapper - Annotation Type in org.jdbi.v3.sqlobject.config
-
Registers a BeanMapper for a specific bean class
- RegisterBeanMappers - Annotation Type in org.jdbi.v3.sqlobject.config
- RegisterCollector - Annotation Type in org.jdbi.v3.sqlobject.config
-
Registers specifically one collector for a sql object type
- RegisterCollectorFactory - Annotation Type in org.jdbi.v3.sqlobject.config
-
Used to register a collector factory on the current
SqlStatement
either for a sql object type or for a method. - RegisterColumnMapper - Annotation Type in org.jdbi.v3.sqlobject.config
-
Registers a column mapper in the scope of a SQL Object type or method.
- RegisterColumnMapperFactories - Annotation Type in org.jdbi.v3.sqlobject.config
- RegisterColumnMapperFactory - Annotation Type in org.jdbi.v3.sqlobject.config
-
Registers a column mapper factory in the scope of a SQL Object type or method.
- RegisterColumnMappers - Annotation Type in org.jdbi.v3.sqlobject.config
- RegisterConstructorMapper - Annotation Type in org.jdbi.v3.sqlobject.config
-
Registers a constructor mapper factory for the given type(s).
- RegisterConstructorMappers - Annotation Type in org.jdbi.v3.sqlobject.config
- RegisterFieldMapper - Annotation Type in org.jdbi.v3.sqlobject.config
-
Register types to reflectively assign fields with
FieldMapper
. - RegisterFieldMappers - Annotation Type in org.jdbi.v3.sqlobject.config
- RegisterJoinRowMapper - Annotation Type in org.jdbi.v3.sqlobject.config
-
Used to register a
JoinRowMapper
factory. - RegisterObjectArgumentFactories - Annotation Type in org.jdbi.v3.sqlobject.config
- RegisterObjectArgumentFactory - Annotation Type in org.jdbi.v3.sqlobject.config
-
Registers an argument factory for a type compatible with
PreparedStatement.setObject(int, Object)
. - RegisterRowMapper - Annotation Type in org.jdbi.v3.sqlobject.config
-
Register a row mapper in the context of a SQL Object type or method.
- RegisterRowMapperFactories - Annotation Type in org.jdbi.v3.sqlobject.config
- RegisterRowMapperFactory - Annotation Type in org.jdbi.v3.sqlobject.config
-
Registers a row mapper factory in the scope of a SQL Object type or method.
- RegisterRowMappers - Annotation Type in org.jdbi.v3.sqlobject.config
- releaseSavepoint(String) - Method in interface org.jdbi.v3.sqlobject.transaction.Transactional
-
Releases the given savepoint.
- rollback() - Method in interface org.jdbi.v3.sqlobject.transaction.Transactional
-
Rolls back the open transaction.
- rollbackToSavepoint(String) - Method in interface org.jdbi.v3.sqlobject.transaction.Transactional
-
Rolls back to the given savepoint.
S
- savepoint(String) - Method in interface org.jdbi.v3.sqlobject.transaction.Transactional
-
Creates a savepoint with the given name on the transaction.
- setDefaultParameterCustomizerFactory(ParameterCustomizerFactory) - Method in class org.jdbi.v3.sqlobject.SqlObjects
-
Configures SqlObject to use the given default parameter customizer factory.
- setSqlLocator(SqlLocator) - Method in class org.jdbi.v3.sqlobject.SqlObjects
-
Configures SqlObject to use the given
SqlLocator
. - setTimezone(ZoneId) - Method in class org.jdbi.v3.sqlobject.customizer.TimestampedConfig
-
Sets the timezone used for the conversion of
OffsetDateTime
objects. - SingleValue - Annotation Type in org.jdbi.v3.sqlobject
-
Indicate to SqlObject that a type that looks like a container should be treated as a single element.
- SqlBatch - Annotation Type in org.jdbi.v3.sqlobject.statement
-
Annotate a method to indicate that it will create and execute a SQL batch.
- SqlCall - Annotation Type in org.jdbi.v3.sqlobject.statement
-
Support for stored proc invocation.
- SqlLocator - Interface in org.jdbi.v3.sqlobject.locator
-
Locates SQL for jdbi SQL Object methods.
- SqlMethodDecoratingAnnotation - Annotation Type in org.jdbi.v3.sqlobject
-
Deprecated.Use
UseExtensionHandlerCustomizer
instead and implementExtensionHandlerCustomizer
for the value. - SqlObject - Interface in org.jdbi.v3.sqlobject
-
SqlObject base interface.
- SqlObjectClasspathSqlLocator - Class in org.jdbi.v3.sqlobject.locator
-
Locates SQL in
.sql
files on the classpath for use withSqlQuery
. - SqlObjectClasspathSqlLocator() - Constructor for class org.jdbi.v3.sqlobject.locator.SqlObjectClasspathSqlLocator
-
Creates a new SqlObjectClasspathSqlLocator.
- SqlObjectClasspathSqlLocator(ClasspathSqlLocator) - Constructor for class org.jdbi.v3.sqlobject.locator.SqlObjectClasspathSqlLocator
-
Creates a new SqlObjectClasspathSqlLocator.
- SqlObjectFactory - Class in org.jdbi.v3.sqlobject
-
Creates implementations for SqlObject interfaces.
- SqlObjectPlugin - Class in org.jdbi.v3.sqlobject
-
Plugin that installs the SqlObject extension.
- SqlObjectPlugin() - Constructor for class org.jdbi.v3.sqlobject.SqlObjectPlugin
- SqlObjects - Class in org.jdbi.v3.sqlobject
-
Configuration class for SQL objects.
- SqlObjects() - Constructor for class org.jdbi.v3.sqlobject.SqlObjects
- SqlOperation - Annotation Type in org.jdbi.v3.sqlobject
-
Deprecated.Use
UseExtensionHandler
andSqlObjectFactory.EXTENSION_ID
as the id marker. - SqlQuery - Annotation Type in org.jdbi.v3.sqlobject.statement
-
Used to indicate that a method should execute a query.
- SqlScript - Annotation Type in org.jdbi.v3.sqlobject.statement
-
Annotate a method to indicate that it will execute one or more SQL statements.
- SqlScripts - Annotation Type in org.jdbi.v3.sqlobject.statement
-
Holder for repeating
SqlScript
s. - SqlStatementCustomizer - Interface in org.jdbi.v3.sqlobject.customizer
-
Used with
SqlStatementCustomizerFactory
to customize sql statements via annotations. - SqlStatementCustomizerFactory - Interface in org.jdbi.v3.sqlobject.customizer
-
Interface used in conjunction with
SqlStatementCustomizingAnnotation
to generateSqlStatementCustomizer
instances. - SqlStatementCustomizingAnnotation - Annotation Type in org.jdbi.v3.sqlobject.customizer
-
Annotation used to build customizing annotations.
- SqlStatementParameterCustomizer - Interface in org.jdbi.v3.sqlobject.customizer
-
Customize a
SqlStatement
according to the value of an annotated parameter. - sqlType() - Element in annotation type org.jdbi.v3.sqlobject.config.RegisterObjectArgumentFactory
-
SQL type constant from
Types
. - sqlType() - Element in annotation type org.jdbi.v3.sqlobject.customizer.OutParameter
- SqlUpdate - Annotation Type in org.jdbi.v3.sqlobject.statement
-
Used to indicate that a method should execute a non-query sql statement.
- stripComments() - Element in annotation type org.jdbi.v3.sqlobject.locator.UseClasspathSqlLocator
T
- THROW - Enum constant in enum org.jdbi.v3.sqlobject.customizer.BindList.EmptyHandling
-
Throw IllegalArgumentException.
- Timestamped - Annotation Type in org.jdbi.v3.sqlobject.customizer
-
Binds the named parameter
:now
or a custom named parameter with the current DateTime as anOffsetDateTime
. - TimestampedConfig - Class in org.jdbi.v3.sqlobject.customizer
-
Configuration for
Timestamped
. - TimestampedConfig() - Constructor for class org.jdbi.v3.sqlobject.customizer.TimestampedConfig
- Transaction - Annotation Type in org.jdbi.v3.sqlobject.transaction
-
Causes the annotated method to be run in a transaction.
- transactional() - Element in annotation type org.jdbi.v3.sqlobject.statement.SqlBatch
-
Controls whether to execute the batch chunks in a transaction.
- Transactional<This extends Transactional<This>> - Interface in org.jdbi.v3.sqlobject.transaction
-
A mixin interface to expose transaction methods on the sql object.
- TransactionalCallback<R,
T extends Transactional<T>, X extends Exception> - Interface in org.jdbi.v3.sqlobject.transaction -
Callback that expects an open transaction and produces a result.
- TransactionalConsumer<T extends Transactional<T>,
X extends Exception> - Interface in org.jdbi.v3.sqlobject.transaction -
Callback that expects an open transaction and returns no results.
U
- UnableToCreateSqlObjectException - Exception in org.jdbi.v3.sqlobject
-
Thrown when constructing a SqlObject fails.
- UnableToCreateSqlObjectException(String) - Constructor for exception org.jdbi.v3.sqlobject.UnableToCreateSqlObjectException
- UnableToCreateSqlObjectException(String, Throwable) - Constructor for exception org.jdbi.v3.sqlobject.UnableToCreateSqlObjectException
- UnableToCreateSqlObjectException(Throwable) - Constructor for exception org.jdbi.v3.sqlobject.UnableToCreateSqlObjectException
- UseAnnotationSqlLocator - Annotation Type in org.jdbi.v3.sqlobject.locator
-
Configures SQL Object to use AnnotationSqlLocator (the default SqlLocator).
- UseClasspathSqlLocator - Annotation Type in org.jdbi.v3.sqlobject.locator
-
Configures SQL Object to locate SQL using the
ClasspathSqlLocator.findSqlOnClasspath(Class, String)
method. - UseEnumStrategy - Annotation Type in org.jdbi.v3.sqlobject.config
-
Use the specified
EnumStrategy
for binding and mapping enum values. - useHandle(HandleConsumer<X>) - Method in interface org.jdbi.v3.sqlobject.SqlObject
-
A convenience function which manages the lifecycle of the handle associated to this sql object, and yields it to a consumer for use by clients.
- UseRowMapper - Annotation Type in org.jdbi.v3.sqlobject.statement
-
Used to specify specific row mapper on a query method.
- UseRowReducer - Annotation Type in org.jdbi.v3.sqlobject.statement
-
Used to specify a row reducer on a result-bearing method.
- UseSqlParser - Annotation Type in org.jdbi.v3.sqlobject.config
-
Use the specified
SqlParser
class to parse SQL for the annotated SQL object class or method. - UseTemplateEngine - Annotation Type in org.jdbi.v3.sqlobject.config
-
Use the specified
TemplateEngine
class to render SQL for the annotated SQL object class or method. - useTransaction(TransactionIsolationLevel, TransactionalConsumer<This, X>) - Method in interface org.jdbi.v3.sqlobject.transaction.Transactional
-
Executes the given callback within a transaction.
- useTransaction(TransactionalConsumer<This, X>) - Method in interface org.jdbi.v3.sqlobject.transaction.Transactional
-
Executes the given callback within a transaction.
- useTransaction(T) - Method in interface org.jdbi.v3.sqlobject.transaction.TransactionalConsumer
-
Execute in a transaction.
V
- value() - Element in annotation type org.jdbi.v3.sqlobject.config.ConfiguringAnnotation
-
Deprecated.A
Configurer
type, which will be used to configureConfigRegistry
instances. - value() - Element in annotation type org.jdbi.v3.sqlobject.config.KeyColumn
-
Returns the column name to use for map keys.
- value() - Element in annotation type org.jdbi.v3.sqlobject.config.RegisterArgumentFactories
- value() - Element in annotation type org.jdbi.v3.sqlobject.config.RegisterArgumentFactory
-
The argument factory classes to register
- value() - Element in annotation type org.jdbi.v3.sqlobject.config.RegisterBeanMapper
-
The mapped bean class.
- value() - Element in annotation type org.jdbi.v3.sqlobject.config.RegisterBeanMappers
- value() - Element in annotation type org.jdbi.v3.sqlobject.config.RegisterCollector
-
The collector instance to register
- value() - Element in annotation type org.jdbi.v3.sqlobject.config.RegisterCollectorFactory
- value() - Element in annotation type org.jdbi.v3.sqlobject.config.RegisterColumnMapper
-
The column mapper class to register
- value() - Element in annotation type org.jdbi.v3.sqlobject.config.RegisterColumnMapperFactories
- value() - Element in annotation type org.jdbi.v3.sqlobject.config.RegisterColumnMapperFactory
-
The column mapper factory class to register
- value() - Element in annotation type org.jdbi.v3.sqlobject.config.RegisterColumnMappers
- value() - Element in annotation type org.jdbi.v3.sqlobject.config.RegisterConstructorMapper
-
The mapped type.
- value() - Element in annotation type org.jdbi.v3.sqlobject.config.RegisterConstructorMappers
- value() - Element in annotation type org.jdbi.v3.sqlobject.config.RegisterFieldMapper
-
The type to map with FieldMapper.
- value() - Element in annotation type org.jdbi.v3.sqlobject.config.RegisterFieldMappers
- value() - Element in annotation type org.jdbi.v3.sqlobject.config.RegisterJoinRowMapper
-
Returns the types that will be available on the JoinRows returned.
- value() - Element in annotation type org.jdbi.v3.sqlobject.config.RegisterObjectArgumentFactories
- value() - Element in annotation type org.jdbi.v3.sqlobject.config.RegisterObjectArgumentFactory
-
The argument type which is compatible with
PreparedStatement.setObject(int, Object)
. - value() - Element in annotation type org.jdbi.v3.sqlobject.config.RegisterRowMapper
-
The row mapper class to register
- value() - Element in annotation type org.jdbi.v3.sqlobject.config.RegisterRowMapperFactories
- value() - Element in annotation type org.jdbi.v3.sqlobject.config.RegisterRowMapperFactory
- value() - Element in annotation type org.jdbi.v3.sqlobject.config.RegisterRowMappers
- value() - Element in annotation type org.jdbi.v3.sqlobject.config.UseEnumStrategy
- value() - Element in annotation type org.jdbi.v3.sqlobject.config.UseSqlParser
-
Specify the SqlParser class to use.
- value() - Element in annotation type org.jdbi.v3.sqlobject.config.UseTemplateEngine
-
Specify the TemplateEngine class to use.
- value() - Element in annotation type org.jdbi.v3.sqlobject.config.ValueColumn
-
Returns the column name to use for map values.
- value() - Element in annotation type org.jdbi.v3.sqlobject.customizer.AllowUnusedBindings
- value() - Element in annotation type org.jdbi.v3.sqlobject.customizer.Bind
-
The name to bind the argument to.
- value() - Element in annotation type org.jdbi.v3.sqlobject.customizer.BindBean
-
Prefix to apply to each bean property.
- value() - Element in annotation type org.jdbi.v3.sqlobject.customizer.BindBeanList
-
The attribute name to define.
- value() - Element in annotation type org.jdbi.v3.sqlobject.customizer.BindFields
-
Prefix to apply to each bean field name.
- value() - Element in annotation type org.jdbi.v3.sqlobject.customizer.BindList
-
The attribute name to define.
- value() - Element in annotation type org.jdbi.v3.sqlobject.customizer.BindMap
-
Prefix to apply to each map key.
- value() - Element in annotation type org.jdbi.v3.sqlobject.customizer.BindMethods
-
Prefix to apply to each fluent accessor name.
- value() - Element in annotation type org.jdbi.v3.sqlobject.customizer.BindMethodsList
-
The attribute name to define.
- value() - Element in annotation type org.jdbi.v3.sqlobject.customizer.BindPojo
-
Prefix to apply to each property.
- value() - Element in annotation type org.jdbi.v3.sqlobject.customizer.Define
-
The attribute name to define.
- value() - Element in annotation type org.jdbi.v3.sqlobject.customizer.DefineList
-
The attribute name to define.
- value() - Element in annotation type org.jdbi.v3.sqlobject.customizer.FetchSize
- value() - Element in annotation type org.jdbi.v3.sqlobject.customizer.MaxRows
-
The max number of rows to return from the query.
- value() - Element in annotation type org.jdbi.v3.sqlobject.customizer.OutParameterList
- value() - Element in annotation type org.jdbi.v3.sqlobject.customizer.QueryTimeOut
- value() - Element in annotation type org.jdbi.v3.sqlobject.customizer.SqlStatementCustomizingAnnotation
-
Specify a sql statement customizer factory which will be used to create sql statement customizers.
- value() - Element in annotation type org.jdbi.v3.sqlobject.customizer.Timestamped
-
The parameter to bind in the SQL query.
- value() - Element in annotation type org.jdbi.v3.sqlobject.DecoratorOrder
-
Deprecated.The order that decorator annotations will be applied, from outermost to innermost.
- value() - Element in annotation type org.jdbi.v3.sqlobject.SqlMethodDecoratingAnnotation
-
Deprecated.Factory class that decorates
Handler
instances for methods annotated with the associated annotation. - value() - Element in annotation type org.jdbi.v3.sqlobject.SqlOperation
-
Deprecated.Handler class for methods annotated with the associated annotation.
- value() - Element in annotation type org.jdbi.v3.sqlobject.statement.BatchChunkSize
-
The batch chunk size.
- value() - Element in annotation type org.jdbi.v3.sqlobject.statement.GetGeneratedKeys
-
Sets the column names of the generated key(s) from a SQL statement.
- value() - Element in annotation type org.jdbi.v3.sqlobject.statement.SqlBatch
-
Returns the SQL string (or name) used for the batch.
- value() - Element in annotation type org.jdbi.v3.sqlobject.statement.SqlCall
- value() - Element in annotation type org.jdbi.v3.sqlobject.statement.SqlQuery
-
The query (or query name if using a statement locator) to be executed.
- value() - Element in annotation type org.jdbi.v3.sqlobject.statement.SqlScript
-
Returns the SQL string (or name).
- value() - Element in annotation type org.jdbi.v3.sqlobject.statement.SqlScripts
- value() - Element in annotation type org.jdbi.v3.sqlobject.statement.SqlUpdate
-
The sql (or statement name if using a statement locator) to be executed.
- value() - Element in annotation type org.jdbi.v3.sqlobject.statement.UseRowMapper
-
The class implementing
RowMapper
. - value() - Element in annotation type org.jdbi.v3.sqlobject.statement.UseRowReducer
-
The class implementing
RowReducer
. - value() - Element in annotation type org.jdbi.v3.sqlobject.transaction.Transaction
-
The transaction isolation level.
- ValueColumn - Annotation Type in org.jdbi.v3.sqlobject.config
-
Configures the column to use for map values, for SQL methods that return
Map
, or Guava's Multimap. - valueOf(String) - Static method in enum org.jdbi.v3.sqlobject.customizer.BindList.EmptyHandling
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.jdbi.v3.sqlobject.customizer.BindList.EmptyHandling
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VOID - Enum constant in enum org.jdbi.v3.sqlobject.customizer.BindList.EmptyHandling
-
Define "".
W
- warm(ConfigRegistry) - Method in interface org.jdbi.v3.sqlobject.customizer.SqlStatementCustomizer
-
Called after the customizer is instantiated but before any statement is available, to pre-initialize any configuration data structures.
- warm(ConfigRegistry) - Method in interface org.jdbi.v3.sqlobject.customizer.SqlStatementParameterCustomizer
-
Called after the customizer is instantiated but before any statement is available, to pre-initialize any configuration data structures.
- withHandle(HandleCallback<R, X>) - Method in interface org.jdbi.v3.sqlobject.SqlObject
-
A convenience function which manages the lifecycle of the handle associated to this sql object, and yields it to a callback for use by clients.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
ExtensionConfigurer
directly.