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

Method getString

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

Gets a String 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 String in the column can be parsed into one.

(int column)

Source from the content-addressed store, hash-verified

602 * column can be parsed into one.
603 */
604 public String getString(int column) {
605 try {
606 return results.getString(column);
607 } catch (SQLException e) {
608 sneakyThrow(e);
609 return null;
610 }
611 }
612
613 /**
614 * Gets a Long in the given column in the current row

Callers

nothing calls this directly

Calls 2

sneakyThrowMethod · 0.80
getStringMethod · 0.65

Tested by

no test coverage detected