| Package | Description |
|---|---|
| org.jdbi.v3.core.mapper.reflect |
mapper.reflect provides RowMappers that reflectively
construct result types using techniques like constructor injection
or JavaBeans setters. |
| Modifier and Type | Class and Description |
|---|---|
class |
CaseInsensitiveColumnNameMatcher
Matches column names with identical java names, ignoring case.
|
class |
SnakeCaseColumnNameMatcher
Matches snake case column names to java camel case names, ignoring case.
|
| Modifier and Type | Method and Description |
|---|---|
List<ColumnNameMatcher> |
ReflectionMappers.getColumnNameMatchers() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
ReflectionMapperUtil.anyColumnsStartWithPrefix(Collection<String> columnNames,
String prefix,
List<ColumnNameMatcher> columnNameMatchers)
Returns whether any of the given column names begin with the given prefix, according to the list of column name
matchers.
|
static OptionalInt |
ReflectionMapperUtil.findColumnIndex(String paramName,
List<String> columnNames,
List<ColumnNameMatcher> columnNameMatchers,
Supplier<String> debugName)
Attempts to find the index of a specified column's mapped parameter in a list of column names
|
ReflectionMappers |
ReflectionMappers.setColumnNameMatchers(List<ColumnNameMatcher> columnNameMatchers)
Replace all column name matchers with the given list.
|
Copyright © 2019. All rights reserved.