Package org.h2.test.bench
Interface Bench
- All Known Implementing Classes:
BenchA,BenchB,BenchC,BenchSimple
public interface Bench
The interface for benchmark tests.
-
Method Summary
-
Method Details
-
init
Initialize the database. This includes creating tables and inserting data.- Parameters:
db- the database objectsize- the amount of data- Throws:
SQLException
-
runTest
Run the test.- Throws:
Exception
-
getName
String getName()Get the name of the test.- Returns:
- the test name
-