public class StringMatchResultOutput<K,V> extends CommandOutput<K,V,StringMatchResult>
STRALGO
returning StringMatchResult
.codec, error, output
Constructor and Description |
---|
StringMatchResultOutput(RedisCodec<K,V> codec,
boolean withIdx) |
Modifier and Type | Method and Description |
---|---|
void |
complete(int depth)
Mark the command output complete.
|
void |
set(ByteBuffer bytes)
Set the command output to a sequence of bytes, or null.
|
void |
set(long integer)
Set the command output to a 64-bit signed integer.
|
decodeAscii, get, getError, hasError, multi, setError, setError, setSingle, toString
public StringMatchResultOutput(RedisCodec<K,V> codec, boolean withIdx)
public void set(ByteBuffer bytes)
CommandOutput
CommandOutput
implementations must override this
method unless they only receive an integer value which cannot be null.set
in class CommandOutput<K,V,StringMatchResult>
bytes
- The command output, or null.public void set(long integer)
CommandOutput
CommandOutput
implementations must override this
method unless they only receive a byte array value.set
in class CommandOutput<K,V,StringMatchResult>
integer
- The command output.public void complete(int depth)
CommandOutput
complete
in class CommandOutput<K,V,StringMatchResult>
depth
- Remaining depth of output queue.Copyright © 2020 lettuce.io. All rights reserved.