use of org.voltdb.AllTpccSQL in project voltdb by VoltDB.
the class TestParsedStatements method setUp.
@Override
protected void setUp() throws Exception {
super.setUp();
Catalog catalog = TPCCProjectBuilder.getTPCCSchemaCatalog();
m_db = catalog.getClusters().get("cluster").getDatabases().get("database");
URL url = TPCCProjectBuilder.class.getResource("tpcc-ddl.sql");
m_hsql = HSQLInterface.loadHsqldb();
try {
m_hsql.runDDLFile(URLDecoder.decode(url.getPath(), "UTF-8"));
} catch (UnsupportedEncodingException e) {
e.printStackTrace();
System.exit(-1);
}
m_allSQL = new AllTpccSQL();
}
Aggregations