K - Key type.V - Value type.T - Cursor type.public abstract class ScanOutput<K,V,T extends ScanCursor> extends CommandOutput<K,V,T>
codec, error, output| Constructor and Description |
|---|
ScanOutput(RedisCodec<K,V> codec,
T cursor) |
| Modifier and Type | Method and Description |
|---|---|
void |
set(ByteBuffer bytes)
Update the command output with a sequence of bytes, or
null. |
protected abstract void |
setOutput(ByteBuffer bytes) |
complete, decodeAscii, get, getError, hasError, multi, multiArray, multiMap, multiPush, multiSet, set, set, set, setBigNumber, setError, setError, setSingle, toStringpublic ScanOutput(RedisCodec<K,V> codec, T cursor)
public void set(ByteBuffer bytes)
CommandOutputnull. Concrete CommandOutput implementations must
override this method to decode bulk/bytes response values.set in class CommandOutput<K,V,T extends ScanCursor>bytes - The command output, or null.protected abstract void setOutput(ByteBuffer bytes)
Copyright © 2023 lettuce.io. All rights reserved.