public class BigIntType extends BasicType<Long> implements PrimitiveLongType
Constructor and Description |
---|
BigIntType(Class<Long> type) |
Modifier and Type | Method and Description |
---|---|
Long |
fromResult(ResultSet results,
int column)
Reads a result using a specific
ResultSet get method rather than
ResultSet.getObject(int) . |
Keyword |
getIdentifier() |
long |
readLong(ResultSet results,
int column) |
void |
writeLong(PreparedStatement statement,
int index,
long value) |
equals, getDefaultLength, getIdentifierSuffix, getSqlType, hashCode, hasLength, toString, write
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getDefaultLength, getIdentifierSuffix, getSqlType, hasLength, read, write
public Long fromResult(ResultSet results, int column) throws SQLException
BasicType
ResultSet
get method rather than
ResultSet.getObject(int)
.fromResult
in class BasicType<Long>
results
- ResultSet
set to the index of the result to be readcolumn
- column index to readResultSet
SQLException
- on a failure to read from the result setpublic Keyword getIdentifier()
getIdentifier
in interface FieldType<Long>
getIdentifier
in class BasicType<Long>
String
or Keyword
public long readLong(ResultSet results, int column) throws SQLException
readLong
in interface PrimitiveLongType
SQLException
public void writeLong(PreparedStatement statement, int index, long value) throws SQLException
writeLong
in interface PrimitiveLongType
SQLException