MCPcopy Create free account
hub / github.com/boxbeam/RedLib / getLong

Method getLong

src/redempt/redlib/sql/SQLHelper.java:621–628  ·  view source on GitHub ↗

Gets a Long in the given column in the current row @param column The index of the column to get, starting at 1 @return The String in the column Note: This method exists because ResultSet#getObject(int) can return an Integer if the Long in the column can be parsed into one.

(int column)

Source from the content-addressed store, hash-verified

619 * column can be parsed into one.
620 */
621 public Long getLong(int column) {
622 try {
623 return results.getLong(column);
624 } catch (SQLException e) {
625 sneakyThrow(e);
626 return null;
627 }
628 }
629
630 /**
631 * Gets the column count from the returned data

Callers 1

querySingleResultLongMethod · 0.45

Calls 1

sneakyThrowMethod · 0.80

Tested by

no test coverage detected