T
- public abstract class KeyBoundCursor<T> extends ScanCursor<T>
Constructor and Description |
---|
KeyBoundCursor(byte[] key,
long cursorId,
ScanOptions options)
Crates new
ScanCursor |
Modifier and Type | Method and Description |
---|---|
protected abstract ScanIteration<T> |
doScan(byte[] key,
long cursorId,
ScanOptions options) |
protected ScanIteration<T> |
doScan(long cursorId,
ScanOptions options)
Performs the actual scan command using the native client implementation.
|
byte[] |
getKey() |
close, doClose, doOpen, getCursorId, getPosition, hasNext, isClosed, isOpen, isReady, moveNext, next, open, remove
public KeyBoundCursor(byte[] key, long cursorId, ScanOptions options)
ScanCursor
cursorId
- options
- Defaulted to ScanOptions.NONE
if nulled.protected ScanIteration<T> doScan(long cursorId, ScanOptions options)
ScanCursor
null
.doScan
in class ScanCursor<T>
protected abstract ScanIteration<T> doScan(byte[] key, long cursorId, ScanOptions options)
public byte[] getKey()