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

Method selectLong

src/redempt/redlib/sql/SQLCache.java:152–154  ·  view source on GitHub ↗

Gets the cached value for a Long row, or queries it if it has not been cached yet @param primaryKeys The primary keys used to access the row @return The Long value

(Object... primaryKeys)

Source from the content-addressed store, hash-verified

150 * @return The Long value
151 */
152 public Long selectLong(Object... primaryKeys) {
153 return (Long) select(o -> sql.querySingleResultLong(selectQuery, primaryKeys), primaryKeys);
154 }
155
156 /**
157 * Checks whether a value has been cached by its primary keys

Callers

nothing calls this directly

Calls 2

selectMethod · 0.95
querySingleResultLongMethod · 0.80

Tested by

no test coverage detected