Class ScanCursor

    • Field Detail

      • FINISHED

        public static final ScanCursor FINISHED
        Finished cursor.
      • INITIAL

        public static final ScanCursor INITIAL
        Initial cursor.
    • Constructor Detail

      • ScanCursor

        public ScanCursor()
        Creates a new ScanCursor.
      • ScanCursor

        public ScanCursor​(String cursor,
                          boolean finished)
        Creates a new ScanCursor.
        Parameters:
        cursor -
        finished -
    • Method Detail

      • getCursor

        public String getCursor()
        Returns:
        cursor id
      • setCursor

        public void setCursor​(String cursor)
        Set the cursor
        Parameters:
        cursor - the cursor id
      • isFinished

        public boolean isFinished()
        Returns:
        true if the scan operation of this cursor is finished.
      • setFinished

        public void setFinished​(boolean finished)
      • of

        public static ScanCursor of​(String cursor)
        Creates a Scan-Cursor reference.
        Parameters:
        cursor - the cursor id
        Returns:
        ScanCursor