presto-base-jdbc/src/main/java/io/prestosql/plugin/jdbc/JdbcRecordCursor.java/JdbcRecordCursor/getLong
class JdbcRecordCursor:    @Override
    public long getLong(int field)
    {
        checkState(!closed, "cursor is closed");
        try {
            return longReadFunctions[field].readLong(resultSet, field + 1);
        }
        catch (SQLException | RuntimeException e) {
            throw handleSqlException(e);
        }
    }