Class RowMapper<T>
java.lang.Object
de.chojo.sadu.mapper.rowmapper.RowMapper<T>
- Type Parameters:
T- type of returned object
- All Implemented Interfaces:
RowMapping<T>
Class representing the mapping of a column to an object.
-
Method Summary
Modifier and TypeMethodDescriptionintapplicable(ResultSet resultSet) Checks how many rows of the result set are applicable.intapplicable(ResultSetMetaData meta) Checks how many rows of the result set are applicable.intapplicable(ResultSetMetaData meta, MapperConfig config) Checks how many rows of the result set are applicable.intapplicable(ResultSet resultSet, MapperConfig config) Checks how many rows of the result set are applicable.clazz()columns()static <T> PartialRowMapper<T> booleantoString()
-
Method Details
-
forClass
-
clazz
-
columns
-
map
- Specified by:
mapin interfaceRowMapping<T>- Throws:
SQLException
-
isWildcard
public boolean isWildcard() -
applicable
Checks how many rows of the result set are applicable.- Parameters:
resultSet- result set- Returns:
- If the result set is not applicable 0 will be returned. Otherwise, the count of applicable rows will be returned.
- Throws:
SQLException
-
applicable
Checks how many rows of the result set are applicable.- Parameters:
resultSet- result set- Returns:
- If the result set is not applicable 0 will be returned. Otherwise, the count of applicable rows will be returned.
- Throws:
SQLException
-
applicable
Checks how many rows of the result set are applicable.- Parameters:
meta- meta of a result set- Returns:
- If the result set is not applicable 0 will be returned. Otherwise, the count of applicable rows will be returned.
-
applicable
Checks how many rows of the result set are applicable.- Parameters:
meta- meta of a result setconfig- mapper config- Returns:
- If the result set is not applicable 0 will be returned. Otherwise, the count of applicable rows will be returned.
-
toString
-