public abstract class RowView extends Object
ResultSet that uses
RowMapper or ColumnMapper to extract values.
It is not valid outside the scope of the method that receives it.| Constructor and Description |
|---|
RowView() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
getColumn(int column,
Class<T> type)
Use a column mapper to extract a type from the current ResultSet row.
|
<T> T |
getColumn(int column,
GenericType<T> type)
Use a column mapper to extract a type from the current ResultSet row.
|
abstract <T> T |
getColumn(int column,
QualifiedType<T> type)
Use a qualified column mapper to extract a type from the current ResultSet row.
|
Object |
getColumn(int column,
Type type)
Use a column mapper to extract a type from the current ResultSet row.
|
<T> T |
getColumn(String column,
Class<T> type)
Use a column mapper to extract a type from the current ResultSet row.
|
<T> T |
getColumn(String column,
GenericType<T> type)
Use a column mapper to extract a type from the current ResultSet row.
|
abstract <T> T |
getColumn(String column,
QualifiedType<T> type)
Use a qualified column mapper to extract a type from the current ResultSet row.
|
Object |
getColumn(String column,
Type type)
Use a column mapper to extract a type from the current ResultSet row.
|
<T> T |
getRow(Class<T> rowType)
Use a row mapper to extract a type from the current ResultSet row.
|
<T> T |
getRow(GenericType<T> rowType)
Use a row mapper to extract a type from the current ResultSet row.
|
abstract Object |
getRow(Type type)
Use a row mapper to extract a type from the current ResultSet row.
|
public <T> T getColumn(int column,
Class<T> type)
T - the type to mapcolumn - the column indextype - the Class of the typepublic <T> T getColumn(int column,
GenericType<T> type)
T - the type to mapcolumn - the column indextype - the GenericType of the typepublic abstract <T> T getColumn(int column,
QualifiedType<T> type)
T - the type to mapcolumn - the column indextype - the QualifiedType of the typepublic Object getColumn(int column, Type type)
column - the column nametype - the Class of the typepublic <T> T getColumn(String column, Class<T> type)
T - the type to mapcolumn - the column nametype - the Class of the typepublic <T> T getColumn(String column, GenericType<T> type)
T - the type to mapcolumn - the column nametype - the GenericType of the typepublic abstract <T> T getColumn(String column, QualifiedType<T> type)
T - the type to mapcolumn - the column nametype - the QualifiedType of the typepublic Object getColumn(String column, Type type)
column - the column nametype - the Type of the typepublic <T> T getRow(Class<T> rowType)
T - the type to maprowType - the Class of the typepublic <T> T getRow(GenericType<T> rowType)
T - the type to maprowType - the GenericType of the typeCopyright © 2019. All rights reserved.