Class SortedStream

  • All Implemented Interfaces:
    Comparable<SortedStream>

    public class SortedStream
    extends Object
    implements Comparable<SortedStream>
    A helper class to iterate over key-value pairs in a tree store, in ascending key order. The class helps merging multiple streams of key-value pairs. Internally, it is backed by an iterator over positions in the key-value pair.