Package org.jdbi.v3.jodatime2
Class DateTimeMapper
java.lang.Object
org.jdbi.v3.jodatime2.DateTimeMapper
- All Implemented Interfaces:
- ColumnMapper<org.joda.time.DateTime>
Map a 
Timestamp to a DateTime.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionorg.joda.time.DateTimemap(ResultSet r, int columnNumber, StatementContext ctx) Map the given column of the current row of the result set to an Object.Methods inherited from class java.lang.Objectequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jdbi.v3.core.mapper.ColumnMapperinit, map
- 
Constructor Details- 
DateTimeMapperpublic DateTimeMapper()
 
- 
- 
Method Details- 
mappublic org.joda.time.DateTime map(ResultSet r, int columnNumber, StatementContext ctx) throws SQLException Description copied from interface:ColumnMapperMap the given column of the current row of the result set to an Object. This method should not cause the result set to advance; allow Jdbi to do that, please.- Specified by:
- mapin interface- ColumnMapper<org.joda.time.DateTime>
- Parameters:
- r- the result set being iterated
- columnNumber- the column number to map (starts at 1)
- ctx- the statement context
- Returns:
- the value to return for this column
- Throws:
- SQLException- if anything goes wrong go ahead and let this percolate; Jdbi will handle it
 
 
-