Commands<K, V> class abstract

All commands type inherited

Implemented types
Implementers

Constructors

Commands()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

del(K key) Future<bool>
DEL command (delete item)
inherited
discard() Future<void>
DISCARD command (abort transaction)
inherited
exec() Future<void>
EXEC command (apply transaction)
inherited
exists(K key) Future<bool>
EXISTS command (check existence)
inherited
expire(K key, Duration duration) Future<bool>
EXPIRE command (set expire duration)
inherited
get(K key) Future<V?>
GET command (get value)
inherited
getdel(K key) Future<V?>
GETDEL command (get value and delete value)
inherited
keys(String pattern) Future<List<String>>
KEYS command (get keys that match pattern)
inherited
lpush(K key, List<V> values) Future<bool>
LPUSH command (push to left side)
inherited
lrange(K key, int startIndex, int endIndex) Future<List<V>>
LRANGE command (get range startIndex to endIndex)
inherited
lset(K key, int index, V value) Future<bool>
LSET command (set value that placed in index)
inherited
multi() Future<void>
MULTI command (start transaction)
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
psubscribe(String pattern) Stream<V>
PSUBSCRIBE command (pattern subscribe)
inherited
publish(String channel, V message) Future<int?>
PUBLISH command (publish message to channel)
inherited
rpush(K key, List<V> values) Future<bool>
RPUSH command (push to right side)
inherited
set(K key, V value) Future<bool>
SET command (set value)
inherited
toString() String
A string representation of this object.
inherited

Operators

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