/** * Stores the records from the supplied cache into this cache. * * @param otherCache * The cache to copy the records from. */ public final void storeRecords(RecordCache otherCache) throws IOException { if (recordCount.get() <= maxRecords.get()) { RecordIterator recIter = otherCache.getRecords(); try { byte[] record; while ((record = recIter.next()) != null && recordCount.incrementAndGet() <= maxRecords.get()) { storeRecordInternal(record); } } finally { recIter.close(); } } }
/** * Stores the records from the supplied cache into this cache. * * @param otherCache * The cache to copy the records from. */ public final void storeRecords(RecordCache otherCache) throws IOException { if (recordCount.get() <= maxRecords.get()) { RecordIterator recIter = otherCache.getRecords(); try { byte[] record; while ((record = recIter.next()) != null && recordCount.incrementAndGet() <= maxRecords.get()) { storeRecordInternal(record); } } finally { recIter.close(); } } }
BTree btree = index.getBTree(); RecordIterator recIter = removedTriplesCache.getRecords(); try { while ((data = recIter.next()) != null) {
BTree btree = index.getBTree(); RecordIterator recIter = removedTriplesCache.getRecords(); try { while ((data = recIter.next()) != null) {
if (validCache) { iter = updatedTriplesCache.getRecords();
if (validCache) { iter = updatedTriplesCache.getRecords();
if (validCache) { iter = updatedTriplesCache.getRecords();
if (validCache) { iter = updatedTriplesCache.getRecords();