Package org.jdbi.v3.core.mapper.reflect
Class FieldMapper.BoundFieldMapper
java.lang.Object
org.jdbi.v3.core.mapper.reflect.FieldMapper.BoundFieldMapper
- All Implemented Interfaces:
RowMapper<T>
- Enclosing class:
- FieldMapper<T>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Constructor<T>private final List<FieldMapper.FieldData> -
Constructor Summary
ConstructorsConstructorDescriptionBoundFieldMapper(Constructor<T> constructor, List<FieldMapper.FieldData> fields) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.jdbi.v3.core.mapper.RowMapper
init, specialize
-
Field Details
-
constructor
-
fields
-
-
Constructor Details
-
BoundFieldMapper
BoundFieldMapper(Constructor<T> constructor, List<FieldMapper.FieldData> fields)
-
-
Method Details
-
map
Description copied from interface:RowMapperMap the current row of the result set. This method should not cause the result set to advance; allow Jdbi to do that, please.- Specified by:
mapin interfaceRowMapper<T>- Parameters:
rs- the result set being iteratedctx- the statement context- Returns:
- the value to produce for this row
- Throws:
SQLException- if anything goes wrong go ahead and let this percolate; Jdbi will handle it
-
construct
-
writeField
-
toString
-