Пример #1
0
 @Override
 protected OrderedIndexTestContext createTestContext(
     ISerializerDeserializer[] fieldSerdes, int numKeys, BTreeLeafFrameType leafType)
     throws Exception {
   return LSMBTreeTestContext.create(
       harness.getMemBufferCache(),
       harness.getMemFreePageManager(),
       harness.getIOManager(),
       harness.getFileReference(),
       harness.getDiskBufferCache(),
       harness.getDiskFileMapProvider(),
       fieldSerdes,
       numKeys,
       harness.getMergePolicy(),
       harness.getOperationTrackerFactory(),
       harness.getIOScheduler(),
       harness.getIOOperationCallbackProvider());
 }
Пример #2
0
 @Override
 protected Random getRandom() {
   return harness.getRandom();
 }
Пример #3
0
 @After
 public void tearDown() throws HyracksDataException {
   harness.tearDown();
 }
Пример #4
0
 @Before
 public void setUp() throws HyracksException {
   harness.setUp();
 }