Package io.lettuce.core.output
Class ScanOutput<K,V,T extends ScanCursor>
- 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
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
set(ByteBuffer bytes)
Update the command output with a sequence of bytes, ornull
.protected abstract void
setOutput(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 Detail
-
ScanOutput
public ScanOutput(RedisCodec<K,V> codec, T cursor)
-
-
Method Detail
-
set
public void set(ByteBuffer bytes)
Description copied from class:CommandOutput
Update the command output with a sequence of bytes, ornull
. ConcreteCommandOutput
implementations must override this method to decodebulk
/bytes response values.- Overrides:
set
in classCommandOutput<K,V,T extends ScanCursor>
- Parameters:
bytes
- The command output, or null.
-
setOutput
protected abstract void setOutput(ByteBuffer bytes)
-
-