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)
Update the command output with a sequence of bytes, or
null. |
void |
set(long integer)
Update the command output with a 64-bit signed integer.
|
decodeAscii, get, getError, hasError, multi, multiArray, multiMap, multiPush, multiSet, set, set, setBigNumber, setError, setError, setSingle, toStringpublic StringMatchResultOutput(RedisCodec<K,V> codec, boolean withIdx)
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,StringMatchResult>bytes - The command output, or null.public void set(long integer)
CommandOutputCommandOutput implementations must override this
method to decode number (integer) response values.set in class CommandOutput<K,V,StringMatchResult>integer - The command output.public void complete(int depth)
CommandOutputcomplete in class CommandOutput<K,V,StringMatchResult>depth - Remaining depth of output queue.Copyright © 2024 lettuce.io. All rights reserved.