Class RecordCursorStartContinuation

  • All Implemented Interfaces:
    RecordCursorContinuation

    @API(INTERNAL)
    public class RecordCursorStartContinuation
    extends Object
    implements RecordCursorContinuation
    A continuation representing the start of a cursor's execution. This continuation is not perfectly well behaved, for historical reasons. Specifically, its binary serialization is null, which is the same as the binary serialization of RecordCursorEndContinuation. As a result, the two are distinguishable only through the result of isEnd(). Because a start continuation is only used internally and a continuation can be obtained only with a RecordCursorResult---at which point the cursor is no longer at its "start"---there is no ambiguity to an external API consumer. However, it remains a potential pitfall.