Package redis.clients.jedis.resps
Class ScanResult<T>
java.lang.Object
redis.clients.jedis.resps.ScanResult<T>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionScanResult(byte[] cursor, List<T> results) ScanResult(String cursor, List<T> results) -
Method Summary
Modifier and TypeMethodDescriptionReturns the new value of the cursorbyte[]The scan results from the current call.booleanIs the iteration complete.
-
Field Details
-
cursor
private byte[] cursor -
results
-
-
Constructor Details
-
ScanResult
-
ScanResult
-
-
Method Details
-
getCursor
Returns the new value of the cursor- Returns:
- the new cursor value.
ScanParams.SCAN_POINTER_STARTwhen a complete iteration has finished
-
isCompleteIteration
public boolean isCompleteIteration()Is the iteration complete. I.e. was the complete dataset scanned.- Returns:
trueif the iteration is complete
-
getCursorAsBytes
public byte[] getCursorAsBytes() -
getResult
The scan results from the current call.- Returns:
- the scan results
-