public class RedisCursor extends java.lang.Object implements java.lang.Comparable<RedisCursor>, java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
static RedisCursor |
END_CURSOR |
static RedisCursor |
ZERO_CURSOR |
static ByteKey |
ZERO_KEY |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(RedisCursor other)
RedisCursor implements Comparable<RedisCursor> by transforming
the cursors to an index of the Redis table. |
boolean |
equals(@Nullable java.lang.Object o) |
java.lang.String |
getCursor() |
long |
getDbSize() |
int |
hashCode() |
boolean |
isStart() |
static RedisCursor |
of(java.lang.String cursor,
long dbSize,
boolean isStart) |
public static final ByteKey ZERO_KEY
public static final RedisCursor ZERO_CURSOR
public static final RedisCursor END_CURSOR
public static RedisCursor of(java.lang.String cursor, long dbSize, boolean isStart)
public int compareTo(@Nonnull RedisCursor other)
RedisCursor implements Comparable<RedisCursor> by transforming
the cursors to an index of the Redis table.compareTo in interface java.lang.Comparable<RedisCursor>public boolean equals(@Nullable java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String getCursor()
public long getDbSize()
public boolean isStart()