public class ScanCursor extends Object
| Modifier and Type | Field and Description |
|---|---|
static ScanCursor |
FINISHED
Finished cursor.
|
static ScanCursor |
INITIAL
Initial cursor.
|
| Constructor and Description |
|---|
ScanCursor()
Creates a new
ScanCursor. |
ScanCursor(String cursor,
boolean finished)
Creates a new
ScanCursor. |
| Modifier and Type | Method and Description |
|---|---|
String |
getCursor() |
boolean |
isFinished() |
static ScanCursor |
of(String cursor)
Creates a Scan-Cursor reference.
|
void |
setCursor(String cursor)
Set the cursor
|
void |
setFinished(boolean finished) |
public static final ScanCursor FINISHED
public static final ScanCursor INITIAL
public ScanCursor()
ScanCursor.public ScanCursor(String cursor, boolean finished)
ScanCursor.cursor - finished - public String getCursor()
public void setCursor(String cursor)
cursor - the cursor idpublic boolean isFinished()
public void setFinished(boolean finished)
public static ScanCursor of(String cursor)
cursor - the cursor idCopyright © 2019 lettuce.io. All rights reserved.