org.skife.jdbi.v2.util
Class ByteMapper

java.lang.Object
  extended by org.skife.jdbi.v2.util.TypedMapper<Byte>
      extended by org.skife.jdbi.v2.util.ByteMapper
All Implemented Interfaces:
ResultSetMapper<Byte>

public class ByteMapper
extends TypedMapper<Byte>


Field Summary
static ByteMapper FIRST
           
 
Constructor Summary
ByteMapper()
           
ByteMapper(int index)
           
ByteMapper(String name)
           
 
Method Summary
protected  Byte extractByIndex(ResultSet r, int index)
           
protected  Byte extractByName(ResultSet r, String name)
           
 
Methods inherited from class org.skife.jdbi.v2.util.TypedMapper
map
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FIRST

public static ByteMapper FIRST
Constructor Detail

ByteMapper

public ByteMapper()

ByteMapper

public ByteMapper(int index)

ByteMapper

public ByteMapper(String name)
Method Detail

extractByIndex

protected Byte extractByIndex(ResultSet r,
                              int index)
                       throws SQLException
Specified by:
extractByIndex in class TypedMapper<Byte>
Throws:
SQLException

extractByName

protected Byte extractByName(ResultSet r,
                             String name)
                      throws SQLException
Specified by:
extractByName in class TypedMapper<Byte>
Throws:
SQLException


Copyright © 2013. All Rights Reserved.