Package redis.clients.jedis
Class ScanResult<T>
- java.lang.Object
-
- redis.clients.jedis.ScanResult<T>
-
public class ScanResult<T> extends Object
-
-
Constructor Summary
Constructors Constructor Description ScanResult(byte[] cursor, List<T> results)
ScanResult(String cursor, List<T> results)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCursor()
Returns the new value of the cursorbyte[]
getCursorAsBytes()
List<T>
getResult()
The scan results from the current call.boolean
isCompleteIteration()
Is the iteration complete.
-
-
-
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()
-
-