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

Method SQLStmt

src/main/java/com/oltpbenchmark/api/SQLStmt.java:50–53  ·  view source on GitHub ↗

Constructor @param sql @param substitutions

(String sql, int... substitutions)

Source from the content-addressed store, hash-verified

48 * @param substitutions
49 */
50 public SQLStmt(String sql, int... substitutions) {
51 this.substitutions = substitutions;
52 this.setSQL(sql);
53 }
54
55 /**
56 * Magic SQL setter! Each occurrence of the pattern "??" will be replaced by a string of repeated

Callers

nothing calls this directly

Calls 1

setSQLMethod · 0.95

Tested by

no test coverage detected