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

Method select

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

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

(Object... primaryKeys)

Source from the content-addressed store, hash-verified

130 * @return The value
131 */
132 public <T> T select(Object... primaryKeys) {
133 return (T) select(o -> sql.querySingleResult(selectQuery, primaryKeys), primaryKeys);
134 }
135
136 /**
137 * Gets the cached value for a String row, or queries it if it has not been cached yet

Callers 2

selectStringMethod · 0.95
selectLongMethod · 0.95

Calls 4

checkKeysMethod · 0.95
querySingleResultMethod · 0.80
applyMethod · 0.65
getMethod · 0.65

Tested by

no test coverage detected