Making Ticker RowMapper an inner class