Commands<K, V> class
abstract
All commands type inherited
- Implemented types
-
- KeysCommands<
K, V> - ListCommands<
K, V> - TransactionCommands<
K, V> - PubSubCommands<
V>
- KeysCommands<
- 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
-
append(
K key, V value) → Future< int?> -
inherited
-
bitCount(
K key, {int? start, int? end}) → Future< int?> -
inherited
-
bitOp(
String operation, K destKey, List< K> keys) → Future<int?> -
inherited
-
bitPos(
K key, int bit, {int? start, int? end}) → Future< int?> -
inherited
-
decr(
K key) → Future< int?> -
inherited
-
decrBy(
K key, int decrement) → Future< int?> -
inherited
-
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
-
getBit(
K key, int offset) → Future< int?> -
inherited
-
getdel(
K key) → Future< V?> -
GETDEL command (get value and delete value)
inherited
-
getOption(
String option) → Future< String?> -
inherited
-
getRange(
K key, int start, int end) → Future< V?> -
inherited
-
getSet(
K key, V value) → Future< V?> -
inherited
-
incr(
K key) → Future< int?> -
inherited
-
incrBy(
K key, int increment) → Future< int?> -
inherited
-
incrByFloat(
K key, double increment) → Future< double?> -
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
toendIndex
)inherited -
lset(
K key, int index, V value) → Future< bool> -
LSET command (set value that placed in
index
)inherited -
mGet(
List< K> keys) → Future<List< V> > -
inherited
-
mSet(
Map< K, V> keyValues) → Future<bool> -
inherited
-
mSetNX(
Map< K, V> keyValues) → Future<bool> -
inherited
-
multi(
) → Future< void> -
MULTI command (start transaction)
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pSetEx(
K key, int ttl, V value) → Future< bool> -
inherited
-
psubscribe(
String pattern) → Stream< V> -
PSUBSCRIBE command (pattern subscribe)
inherited
-
publish(
String channel, V message) → Future< int?> -
PUBLISH command (publish
message
tochannel
)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
-
setBit(
K key, int offset, int value) → Future< int?> -
inherited
-
setEx(
K key, int ttl, V value) → Future< bool> -
SET expire duration command (set value)
inherited
-
setNx(
K key, V value) → Future< bool> -
inherited
-
setOption(
String option) → Future< bool> -
inherited
-
setRange(
K key, int offset, V value) → Future< int?> -
inherited
-
strlen(
K key) → Future< int?> -
inherited
-
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)
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited