| 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.argument.internal | |
| 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.enums.internal | |
| 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.internal |
Utility classes used internally by Jdbi.
|
| org.jdbi.v3.core.mapper |
mappers take the JDBC ResultSet and produce Java results. |
| org.jdbi.v3.core.mapper.immutables | |
| 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.mapper.reflect.internal | |
| org.jdbi.v3.core.qualifier | |
| 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 |
|---|---|
Optional<Argument> |
QualifiedArgumentFactory.build(QualifiedType<?> type,
Object value,
ConfigRegistry config)
Returns an
Argument for the given value if the factory supports it; empty otherwise. |
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> |
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. |
Optional<Argument> |
SetObjectArgumentFactory.build(Type type,
Object value,
ConfigRegistry config) |
Optional<Argument> |
BuiltInArgumentFactory.build(Type expectedType,
Object value,
ConfigRegistry config)
Deprecated.
|
protected Argument |
JavaTimeZoneIdArgumentFactory.build(ZoneId value,
ConfigRegistry config) |
void |
Arguments.setRegistry(ConfigRegistry registry) |
| Constructor and Description |
|---|
PojoPropertyArguments(String prefix,
Object obj,
ConfigRegistry config) |
PojoPropertyArguments(String prefix,
Object obj,
PojoProperties<?> properties,
ConfigRegistry config) |
| 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 |
|---|---|
V |
JdbiCache.get(K key,
ConfigRegistry config) |
default void |
JdbiConfig.setRegistry(ConfigRegistry registry)
The registry will inject itself into the configuration object.
|
| Modifier and Type | Method and Description |
|---|---|
Optional<ColumnMapper<?>> |
EnumMapperFactory.build(QualifiedType<?> givenType,
ConfigRegistry config) |
Optional<SqlArrayType<?>> |
EnumSqlArrayTypeFactory.build(Type elementType,
ConfigRegistry config) |
| 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 |
|---|---|
void |
EnumStrategies.setRegistry(ConfigRegistry registry) |
| Modifier and Type | Method and Description |
|---|---|
Optional<ColumnMapper<?>> |
QualifiedColumnMapperFactory.build(QualifiedType<?> 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)
Deprecated.
|
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<RowMapper<?>> |
GenericMapMapperFactory.build(Type mapType,
ConfigRegistry config) |
Optional<ColumnMapper<?>> |
BuiltInMapperFactory.build(Type type,
ConfigRegistry config)
Deprecated.
|
Optional<ColumnMapper<?>> |
EnumByNameMapperFactory.build(Type type,
ConfigRegistry config)
Deprecated.
|
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<?>> |
GetObjectColumnMapperFactory.build(Type type,
ConfigRegistry config) |
static <T> RowMapper<Map<String,T>> |
GenericMapMapperFactory.getMapperForValueType(Class<T> valueType,
ConfigRegistry config) |
static <T> RowMapper<Map<String,T>> |
GenericMapMapperFactory.getMapperForValueType(GenericType<T> valueType,
ConfigRegistry config) |
void |
RowMappers.setRegistry(ConfigRegistry registry) |
void |
ColumnMappers.setRegistry(ConfigRegistry registry) |
void |
Mappers.setRegistry(ConfigRegistry registry) |
| Modifier and Type | Method and Description |
|---|---|
void |
JdbiImmutables.setRegistry(ConfigRegistry registry) |
| Modifier and Type | Method and Description |
|---|---|
protected PojoProperties<T> |
BeanMapper.getProperties(ConfigRegistry config) |
| Modifier and Type | Field and Description |
|---|---|
protected ConfigRegistry |
ImmutablesPropertiesFactory.BasePojoProperties.config |
| Modifier and Type | Method and Description |
|---|---|
Optional<RowMapper<?>> |
PojoMapperFactory.build(Type type,
ConfigRegistry config) |
PojoProperties<?> |
ImmutablesPropertiesFactory.create(Type type,
ConfigRegistry config) |
protected PojoProperties<T> |
PojoMapper.getProperties(ConfigRegistry config) |
static PojoProperties<?> |
BeanPropertiesFactory.propertiesFor(Type t,
ConfigRegistry config) |
void |
PojoTypes.setRegistry(ConfigRegistry registry) |
| Modifier and Type | Method and Description |
|---|---|
void |
Qualifiers.setRegistry(ConfigRegistry registry) |
| Modifier and Type | Method and Description |
|---|---|
ConfigRegistry |
StatementContext.getConfig() |
Copyright © 2019. All rights reserved.