CommandsClient<K, V> class
Implementation of Commands
- Implemented types
-
- Commands<
K, V>
- Commands<
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
-
auth(
{String? username, required String password}) → Future< String?> -
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
-
getdel(
K key) → Future< V?> -
GETDEL command (get value and delete value)
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
toendIndex
)override -
lset(
K key, int index, V value) → Future< bool> -
LSET command (set value that placed in
index
)override -
multi(
) → Future< void> -
MULTI command (start transaction)
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
psubscribe(
String pattern) → Stream< V> -
PSUBSCRIBE command (pattern subscribe)
override
-
publish(
String channel, V message) → Future< int?> -
PUBLISH command (publish
message
tochannel
)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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited