OSBTree.OSBTreeCursor<OCompositeKey, OIdentifiable> cursor = localSBTree.iterateEntriesMajor(compositeKey(2.0), false, true);
Set<ORID> orids = extractRids(cursor);
assertEquals(orids.size(), 9);
for (int i = 1; i <= 9; i++) {
assertTrue(orids.contains(new ORecordId(3, new OClusterPositionLong((i)))));
}
cursor = localSBTree.iterateEntriesMajor(compositeKey(2.0), false, false);
orids = extractRids(cursor);
assertEquals(orids.size(), 9);
for (int i = 1; i <= 9; i++) {
assertTrue(orids.contains(new ORecordId(3, new OClusterPositionLong((i)))));
}
}