java.lang.Object
io.lettuce.core.output.CommandOutput<K,V,T>
io.lettuce.core.output.ScanOutput<K,V,T>
- Type Parameters:
K- Key type.V- Value type.T- Cursor type.
- Direct Known Subclasses:
KeyScanOutput,KeyScanStreamingOutput,KeyValueScanStreamingOutput,MapScanOutput,ScoredValueScanOutput,ScoredValueScanStreamingOutput,ValueScanOutput,ValueScanStreamingOutput
public abstract class ScanOutput<K,V,T extends ScanCursor> extends CommandOutput<K,V,T>
Cursor handling output.
- Author:
- Mark Paluch
-
Field Summary
Fields inherited from class io.lettuce.core.output.CommandOutput
codec, error, output -
Constructor Summary
Constructors Constructor Description ScanOutput(RedisCodec<K,V> codec, T cursor) -
Method Summary
Modifier and Type Method Description voidset(ByteBuffer bytes)Update the command output with a sequence of bytes, ornull.protected abstract voidsetOutput(ByteBuffer bytes)Methods inherited from class io.lettuce.core.output.CommandOutput
complete, decodeAscii, get, getError, hasError, multi, multiArray, multiMap, multiPush, multiSet, set, set, set, setBigNumber, setError, setError, setSingle, toString
-
Constructor Details
-
ScanOutput
-
-
Method Details
-
set
Description copied from class:CommandOutputUpdate the command output with a sequence of bytes, ornull. ConcreteCommandOutputimplementations must override this method to decodebulk/bytes response values.- Overrides:
setin classCommandOutput<K,V,T extends ScanCursor>- Parameters:
bytes- The command output, or null.
-
setOutput
-