Class MergeCursorState<T>

  • Type Parameters:
    T - the type of elements returned by the underlying cursor
    All Implemented Interfaces:
    AutoCloseable

    @API(INTERNAL)
    public class MergeCursorState<T>
    extends Object
    implements AutoCloseable
    A holder for mutable state needed to track one of the children cursors of some merge operation. This includes the cursor itself as well as information tracking the progress including continuation information. Subclasses may add additional information such as a comparison key or value (for ordered cursors).