| Modifier and Type | Class and Description |
|---|---|
static interface |
ResultSetValueRetriever.ResultSetGetter<T> |
| Constructor and Description |
|---|
ResultSetValueRetriever(C context)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected <T> ResultSetValueRetriever.ResultSetGetter<T> |
createResultSetGetter(ColumnType<T> type)
Returns a function based on the input type from which a value can be retrieved
from the give result set.
|
<T> T |
get(ResultSet rs,
Column<T,C> column)
Gets the value for the column from the given result set.
|
public ResultSetValueRetriever(C context)
context - the contextpublic <T> T get(ResultSet rs, Column<T,C> column) throws SQLException
T - the value typers - the result set to fetch fromcolumn - the column to fetch the value forSQLExceptionprotected <T> ResultSetValueRetriever.ResultSetGetter<T> createResultSetGetter(ColumnType<T> type)
T - the typetype - the type to create a getter forCopyright © 2017–2024. All rights reserved.