Package org.jdbi.v3.core.result
Class RowView
java.lang.Object
org.jdbi.v3.core.result.RowView
A RowView is an accessor for
ResultSet
that uses
RowMapper
or ColumnMapper
to extract values.
It is not valid outside the scope of the method that receives it.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<T> T
Use a column mapper to extract a type from the current ResultSet row.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.<T> T
Use a column mapper to extract a type from the current ResultSet row.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.<T> T
Use a row mapper to extract a type from the current ResultSet row.abstract Object
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.
-
Constructor Details
-
RowView
public RowView()
-
-
Method Details
-
getRow
Use a row mapper to extract a type from the current ResultSet row.- Type Parameters:
T
- the type to map- Parameters:
rowType
- the Class of the type- Returns:
- the materialized T
-
getRow
Use a row mapper to extract a type from the current ResultSet row.- Type Parameters:
T
- the type to map- Parameters:
rowType
- the GenericType of the type- Returns:
- the materialized T
-
getRow
-
getColumn
-
getColumn
Use a column mapper to extract a type from the current ResultSet row.- Type Parameters:
T
- the type to map- Parameters:
column
- the column indextype
- the Class of the type- Returns:
- the materialized T
-
getColumn
Use a column mapper to extract a type from the current ResultSet row.- Type Parameters:
T
- the type to map- Parameters:
column
- the column nametype
- the GenericType of the type- Returns:
- the materialized T
-
getColumn
Use a qualified column mapper to extract a type from the current ResultSet row.- Type Parameters:
T
- the type to map- Parameters:
column
- the column indextype
- the QualifiedType of the type- Returns:
- the materialized T
-
getColumn
Use a qualified column mapper to extract a type from the current ResultSet row.- Type Parameters:
T
- the type to map- Parameters:
column
- the column nametype
- the QualifiedType of the type- Returns:
- the materialized T
-
getColumn
Use a column mapper to extract a type from the current ResultSet row.- Type Parameters:
T
- the type to map- Parameters:
column
- the column indextype
- the GenericType of the type- Returns:
- the materialized T
-
getColumn
-
getColumn
-