public class HashIndexBenchMark extends IndexBenchmark {
@Override
protected Index<String, Long> createIndex() throws Exception {
Transaction tx = pf.tx();
long id = tx.allocate().getPageId();
tx.commit();
HashIndex<String, Long> index = new HashIndex<String, Long>(pf, id);
index.setKeyMarshaller(StringMarshaller.INSTANCE);
index.setValueMarshaller(LongMarshaller.INSTANCE);