| Package | Description |
|---|---|
| org.jdbi.v3.core |
The 'core' package hosts the top level interface into jdbi core.
|
| org.jdbi.v3.core.argument |
The
argument classes translate Java types into JDBC parameters. |
| 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.config |
The
config classes define a configuration registry starting from
each Jdbi instance. |
| 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.mapper |
mappers take the JDBC ResultSet and produce Java results. |
| org.jdbi.v3.core.statement |
The
statement package provides most of the Fluent API
to drive statement execution. |
| Modifier and Type | Method and Description |
|---|---|
ConfigRegistry |
Handle.getConfig() |
ConfigRegistry |
Jdbi.getConfig() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Argument |
AbstractArgumentFactory.build(T value,
ConfigRegistry config)
Produce an argument object for the given value.
|
Optional<Argument> |
AbstractArgumentFactory.build(Type type,
Object value,
ConfigRegistry config) |
Optional<Argument> |
BuiltInArgumentFactory.build(Type expectedType,
Object value,
ConfigRegistry config) |
Optional<Argument> |
ObjectArgumentFactory.build(Type expectedType,
Object value,
ConfigRegistry config) |
Optional<Argument> |
ArgumentFactory.build(Type type,
Object value,
ConfigRegistry config)
Returns an
Argument for the given value if the factory supports it; empty otherwise. |
protected Argument |
JavaTimeZoneIdArgumentFactory.build(ZoneId value,
ConfigRegistry config) |
void |
Arguments.setRegistry(ConfigRegistry registry) |
| Modifier and Type | Method and Description |
|---|---|
Optional<SqlArrayType<?>> |
SqlArrayTypeFactory.build(Type elementType,
ConfigRegistry config)
Returns an
SqlArrayType for the given elementType if this factory supports it; empty otherwise. |
Optional<ColumnMapper<?>> |
SqlArrayMapperFactory.build(Type type,
ConfigRegistry config) |
Optional<Argument> |
SqlArrayArgumentFactory.build(Type type,
Object value,
ConfigRegistry config) |
void |
SqlArrayTypes.setRegistry(ConfigRegistry registry) |
| Modifier and Type | Method and Description |
|---|---|
ConfigRegistry |
ConfigRegistry.createCopy()
Returns a copy of this config registry.
|
ConfigRegistry |
Configurable.getConfig()
Returns the configuration registry associated with this object.
|
| Modifier and Type | Method and Description |
|---|---|
default void |
JdbiConfig.setRegistry(ConfigRegistry registry)
The registry will inject itself into the configuration object.
|
| Modifier and Type | Method and Description |
|---|---|
<V> V |
HandleSupplier.invokeInContext(ExtensionMethod extensionMethod,
ConfigRegistry config,
Callable<V> task)
Bind an extension method and configuration registry to the Handle,
invoke the given task, then reset the Handle's extension state.
|
| Modifier and Type | Method and Description |
|---|---|
Optional<ColumnMapper<?>> |
ColumnMapperFactory.build(Type type,
ConfigRegistry config)
Supplies a column mapper which will map columns to type if the factory supports it; empty otherwise.
|
Optional<ColumnMapper<?>> |
EnumByOrdinalMapperFactory.build(Type type,
ConfigRegistry config) |
Optional<RowMapper<?>> |
RowMapperFactory.build(Type type,
ConfigRegistry config)
Supplies a row mapper which will map result set rows to type if the factory supports it; empty otherwise.
|
Optional<ColumnMapper<?>> |
EnumByNameMapperFactory.build(Type type,
ConfigRegistry config) |
Optional<ColumnMapper<?>> |
BuiltInMapperFactory.build(Type type,
ConfigRegistry config) |
void |
ColumnMappers.setRegistry(ConfigRegistry registry) |
void |
Mappers.setRegistry(ConfigRegistry registry) |
void |
RowMappers.setRegistry(ConfigRegistry registry) |
| Modifier and Type | Method and Description |
|---|---|
ConfigRegistry |
StatementContext.getConfig() |
Copyright © 2017. All rights reserved.