MCPcopy Create free account
hub / github.com/cmu-db/benchbase / getCountSQL

Method getCountSQL

src/main/java/com/oltpbenchmark/util/SQLUtil.java:433–435  ·  view source on GitHub ↗

Return the COUNT( ) SQL to calculate the number of records @param dbType @param catalog_tbl @return SQL for select count execution

(DatabaseType dbType, Table catalog_tbl)

Source from the content-addressed store, hash-verified

431 * @return SQL for select count execution
432 */
433 public static String getCountSQL(DatabaseType dbType, Table catalog_tbl) {
434 return SQLUtil.getCountSQL(dbType, catalog_tbl, "*");
435 }
436
437 /**
438 * Return the COUNT() SQL to calculate the number of records. Will use the col parameter as the

Callers 5

validateLoadMethod · 0.95
testSessionSetupFileMethod · 0.95
makeWorkersImplMethod · 0.95

Calls 4

shouldEscapeNamesMethod · 0.80
getEscapedNameMethod · 0.80
formatMethod · 0.80
getNameMethod · 0.65

Tested by 4

validateLoadMethod · 0.76
testSessionSetupFileMethod · 0.76