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

Method get

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

Gets an Object in the given column in the current row @param column The index of the column to get, starting at 1 @param The type to cast the return value to @return The value in the column

(int column)

Source from the content-addressed store, hash-verified

570 * @return The value in the column
571 */
572 public <T> T get(int column) {
573 try {
574 return (T) results.getObject(column);
575 } catch (SQLException e) {
576 sneakyThrow(e);
577 return null;
578 }
579 }
580
581 /**
582 * Gets the bytes in the given column in the current row

Callers

nothing calls this directly

Calls 2

sneakyThrowMethod · 0.80
getObjectMethod · 0.45

Tested by

no test coverage detected