Class ScanResult<T>


  • public class ScanResult<T>
    extends Object
    • Constructor Detail

      • ScanResult

        public ScanResult​(String cursor,
                          List<T> results)
      • ScanResult

        public ScanResult​(byte[] cursor,
                          List<T> results)
    • Method Detail

      • getCursor

        public String getCursor()
        Returns the new value of the cursor
        Returns:
        the new cursor value. ScanParams.SCAN_POINTER_START when a complete iteration has finished
      • isCompleteIteration

        public boolean isCompleteIteration()
        Is the iteration complete. I.e. was the complete dataset scanned.
        Returns:
        true if the iteration is complete
      • getCursorAsBytes

        public byte[] getCursorAsBytes()
      • getResult

        public List<T> getResult()
        The scan results from the current call.
        Returns:
        the scan results