Package org.xtreemfs.babudb.index.reader

Examples of org.xtreemfs.babudb.index.reader.InternalMergeIterator


    public void materializeSnapshot(String targetFile, int snapId) throws IOException {
       
        DiskIndexWriter writer = new DiskIndexWriter(targetFile, maxEntriesPerBlock, compressed,
            maxBlockFileSize);
       
        InternalMergeIterator it = internalPrefixLookup(null, snapId, true);
        writer.writeIndex(it);
        it.free();
    }
View Full Code Here


        if (index != null) {
            byte[][] rng = comp.prefixToRange(prefix, ascending);
            diskIndexIterator = index.internalRangeLookup(rng[0], rng[1], ascending);
        }
       
        return new InternalMergeIterator(overlayIterator, diskIndexIterator, comp, NULL_ELEMENT, ascending);
    }
View Full Code Here

TOP

Related Classes of org.xtreemfs.babudb.index.reader.InternalMergeIterator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.