Package org.h2.test.bench
Class BenchC
java.lang.Object
org.h2.test.bench.BenchC
- All Implemented Interfaces:
Bench
This test is similar to the TPC-C test of the Transaction Processing Council
(TPC). Only one connection and one thread is used. Referential integrity is
not implemented.
See also http://www.tpc.org
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
BenchC
public BenchC()
-
-
Method Details
-
init
Description copied from interface:BenchInitialize the database. This includes creating tables and inserting data.- Specified by:
initin interfaceBench- Parameters:
db- the database objectsize- the amount of data- Throws:
SQLException
-
runTest
Description copied from interface:BenchRun the test.- Specified by:
runTestin interfaceBench- Throws:
SQLException
-
getName
Description copied from interface:BenchGet the name of the test.
-