Package | Description |
---|---|
org.skife.jdbi.v2 |
Start with
DBI and Handle |
org.skife.jdbi.v2.util |
Classes provided as a convenience to users of the library.
|
Modifier and Type | Method and Description |
---|---|
ResultColumnMapper |
StatementContext.columnMapperFor(Class type)
Obtain a column mapper for the given type in this context.
|
ResultColumnMapper |
ConcreteStatementContext.columnMapperFor(Class type) |
ResultColumnMapper |
ResultColumnMapperFactory.columnMapperFor(Class type,
StatementContext ctx)
Supplies a column mapper which will map result set columns to type
|
ResultColumnMapper |
PrimitivesColumnMapperFactory.columnMapperFor(Class type,
StatementContext ctx) |
Modifier and Type | Method and Description |
---|---|
<GeneratedKeyType> |
PreparedBatch.executeAndGenerateKeys(ResultColumnMapper<GeneratedKeyType> mapper) |
<GeneratedKeyType> |
PreparedBatch.executeAndGenerateKeys(ResultColumnMapper<GeneratedKeyType> mapper,
String... columnNames) |
<GeneratedKeyType> |
Update.executeAndReturnGeneratedKeys(ResultColumnMapper<GeneratedKeyType> mapper) |
<T> Query<T> |
Query.map(ResultColumnMapper<T> mapper) |
void |
Query.registerColumnMapper(ResultColumnMapper m) |
void |
Handle.registerColumnMapper(ResultColumnMapper mapper)
Register a result column mapper which will have its parameterized type inspected to determine what it maps to
Column mappers may be reused by
ResultSetMapper to map individual columns. |
void |
DBI.registerColumnMapper(ResultColumnMapper mapper)
Register a result column mapper which will have its parameterized type inspected to determine what it maps to
Column mappers may be reused by
ResultSetMapper to map individual columns. |
Modifier and Type | Class and Description |
---|---|
class |
BigDecimalColumnMapper |
class |
BooleanColumnMapper |
class |
ByteArrayColumnMapper |
class |
ByteColumnMapper |
class |
CharColumnMapper
Map JDBC column value to a Java
char or Character . |
class |
DoubleColumnMapper |
class |
EnumColumnMapper<E extends Enum<E>> |
class |
FloatColumnMapper |
class |
IntegerColumnMapper |
class |
LongColumnMapper |
class |
ShortColumnMapper |
class |
StringColumnMapper |
class |
TimestampColumnMapper |
class |
URIColumnMapper |
class |
URLColumnMapper |
Modifier and Type | Method and Description |
---|---|
static <E extends Enum<E>> |
EnumColumnMapper.byName(Class<E> type) |
static <E extends Enum<E>> |
EnumColumnMapper.byOrdinal(Class<E> type) |
ResultColumnMapper |
EnumByOrdinalColumnMapperFactory.columnMapperFor(Class type,
StatementContext ctx) |
ResultColumnMapper |
EnumByNameColumnMapperFactory.columnMapperFor(Class type,
StatementContext ctx) |
Constructor and Description |
---|
SingleColumnMapper(ResultColumnMapper<T> columnMapper)
Constructs a result set mapper which maps the first column.
|
SingleColumnMapper(ResultColumnMapper<T> columnMapper,
int columnNumber)
Constructs a result set mapper which maps the given column number.
|
SingleColumnMapper(ResultColumnMapper<T> columnMapper,
String columnLabel)
Constructs a result set mapper which maps the column with the given label.
|
Copyright © 2018. All rights reserved.