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, writeclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetDefaultLength, getIdentifierSuffix, getSqlType, hasLength, read, writepublic Long fromResult(ResultSet results, int column) throws SQLException
BasicTypeResultSet 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 readResultSetSQLException - on a failure to read from the result setpublic Keyword getIdentifier()
getIdentifier in interface FieldType<Long>getIdentifier in class BasicType<Long>String or Keywordpublic long readLong(ResultSet results, int column) throws SQLException
readLong in interface PrimitiveLongTypeSQLExceptionpublic void writeLong(PreparedStatement statement, int index, long value) throws SQLException
writeLong in interface PrimitiveLongTypeSQLException