CommandsClient<K, V> class

Implementation of Commands

Implemented types

Properties

hashCode int
The hash code for this object.
no setterinherited
keyCodec MultiCodec
key type codecs
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
valueCodec MultiCodec
value type codecs
final

Methods

append(K key, V value) Future<int?>
override
auth({String? username, required String password}) Future<String?>
bitCount(K key, {int? start, int? end}) Future<int?>
override
bitOp(String operation, K destKey, List<K> keys) Future<int?>
override
bitPos(K key, int bit, {int? start, int? end}) Future<int?>
override
decr(K key) Future<int?>
override
decrBy(K key, int decrement) Future<int?>
override
del(K key) Future<bool>
DEL command (delete item)
override
discard() Future<void>
DISCARD command (abort transaction)
override
exec() Future<void>
EXEC command (apply transaction)
override
exists(K key) Future<bool>
EXISTS command (check existence)
override
expire(K key, Duration duration) Future<bool>
EXPIRE command (set expire duration)
override
get(K key) Future<V?>
GET command (get value)
override
getBit(K key, int offset) Future<int?>
override
getdel(K key) Future<V?>
GETDEL command (get value and delete value)
override
getOption(String option) Future<String?>
override
getRange(K key, int start, int end) Future<V?>
override
getSet(K key, V value) Future<V?>
override
incr(K key) Future<int?>
override
incrBy(K key, int increment) Future<int?>
override
incrByFloat(K key, double increment) Future<double?>
override
keys(String pattern) Future<List<String>>
KEYS command (get keys that match pattern)
override
lpush(K key, List<V> values) Future<bool>
LPUSH command (push to left side)
override
lrange(K key, int startIndex, int endIndex) Future<List<V>>
LRANGE command (get range startIndex to endIndex)
override
lset(K key, int index, V value) Future<bool>
LSET command (set value that placed in index)
override
mGet(List<K> keys) Future<List<V>>
override
mSet(Map<K, V> keyValues) Future<bool>
override
mSetNX(Map<K, V> keyValues) Future<bool>
override
multi() Future<void>
MULTI command (start transaction)
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pSetEx(K key, int ttl, V value) Future<bool>
override
psubscribe(String pattern) Stream<V>
PSUBSCRIBE command (pattern subscribe)
override
publish(String channel, V message) Future<int?>
PUBLISH command (publish message to channel)
override
rpush(K key, List<V> values) Future<bool>
RPUSH command (push to right side)
override
set(K key, V value) Future<bool>
SET command (set value)
override
setBit(K key, int offset, int value) Future<int?>
override
setEx(K key, int ttl, V value) Future<bool>
SET expire duration command (set value)
override
setNx(K key, V value) Future<bool>
override
setOption(String option) Future<bool>
override
setRange(K key, int offset, V value) Future<int?>
override
strlen(K key) Future<int?>
override
toString() String
A string representation of this object.
inherited
ttl(K key) Future<int?>
Returns the remaining time to live of a key (get value)
override

Operators

operator ==(Object other) bool
The equality operator.
inherited