trait KeyedKeysApi extends ApiSubset
Author: ghik Created: 06/04/16.
- Alphabetic
- By Inheritance
- KeyedKeysApi
- ApiSubset
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
type
Field = RedisSerialization.Field
- Definition Classes
- ApiSubset
-
type
Key = RedisSerialization.Key
- Definition Classes
- ApiSubset
-
type
Record = RedisSerialization.Record
- Definition Classes
- ApiSubset
-
abstract
type
Result[A]
The type constructor into which a result of each command is wrapped.
-
type
Value = RedisSerialization.Value
- Definition Classes
- ApiSubset
Abstract Value Members
-
abstract
def
execute[A](command: RedisCommand[A]): Result[A]
- Definition Classes
- ApiSubset
-
abstract
val
serialization: RedisSerialization
- Definition Classes
- ApiSubset
Concrete Value Members
-
def
del(keys: Iterable[Key]): Result[Int]
Executes DEL or simply returns 0 if
keys
is empty, without sending the command to Redis -
def
del(key: Key, keys: Key*): Result[Int]
Executes DEL
-
def
del(key: Key): Result[Boolean]
Executes DEL
-
def
dump(key: Key): Result[commons.Opt[Dumped]]
Executes DUMP
-
def
exists(keys: Iterable[Key]): Result[Int]
Executes EXISTS or simply returns 0 when
keys
is empty, without sending the command to Redis -
def
exists(key: Key, keys: Key*): Result[Int]
Executes EXISTS
-
def
exists(key: Key): Result[Boolean]
Executes EXISTS
-
def
expire(key: Key, seconds: Long): Result[Boolean]
Executes EXPIRE
-
def
expireat(key: Key, timestamp: Long): Result[Boolean]
Executes EXPIREAT
- def memoryUsage(key: Key, samples: commons.OptArg[Long] = OptArg.Empty): Result[commons.Opt[Long]]
-
def
migrate(keys: Iterable[Key], address: NodeAddress, destinationDb: Int, timeout: Long, copy: Boolean = false, replace: Boolean = false): Result[Boolean]
Executes MIGRATE or simply returns
true
whenkeys
is empty, without sending the command to Redis -
def
objectEncoding(key: Key): Result[commons.Opt[Encoding]]
Executes OBJECT
-
def
objectIdletime(key: Key): Result[commons.Opt[Long]]
Executes OBJECT
-
def
objectRefcount(key: Key): Result[commons.Opt[Long]]
Executes OBJECT
-
def
persist(key: Key): Result[Boolean]
Executes PERSIST
-
def
pexpire(key: Key, milliseconds: Long): Result[Boolean]
Executes PEXPIRE
-
def
pexpireat(key: Key, millisecondsTimestamp: Long): Result[Boolean]
Executes PEXPIREAT
-
def
pttl(key: Key): Result[commons.Opt[commons.Opt[Long]]]
Executes PTTL
-
def
rename(key: Key, newkey: Key): Result[Unit]
Executes RENAME
-
def
renamenx(key: Key, newkey: Key): Result[Boolean]
Executes RENAMENX
-
def
restore(key: Key, ttl: Long, dumpedValue: Dumped, replace: Boolean = false): Result[Unit]
Executes RESTORE
-
def
sort(key: Key, by: commons.OptArg[SortPattern[Key, Field]] = OptArg.Empty, limit: commons.OptArg[SortLimit] = OptArg.Empty, sortOrder: commons.OptArg[SortOrder] = OptArg.Empty, alpha: Boolean = false): Result[Seq[Value]]
Executes SORT
-
def
sortGet(key: Key, gets: Seq[SortPattern[Key, Field]], by: commons.OptArg[SortPattern[Key, Field]] = OptArg.Empty, limit: commons.OptArg[SortLimit] = OptArg.Empty, sortOrder: commons.OptArg[SortOrder] = OptArg.Empty, alpha: Boolean = false): Result[Seq[Seq[commons.Opt[Value]]]]
Executes SORT
-
def
sortStore(key: Key, destination: Key, by: commons.OptArg[SortPattern[Key, Field]] = OptArg.Empty, limit: commons.OptArg[SortLimit] = OptArg.Empty, gets: Seq[SortPattern[Key, Field]] = Nil, sortOrder: commons.OptArg[SortOrder] = OptArg.Empty, alpha: Boolean = false): Result[Long]
Executes SORT
-
def
touch(keys: Iterable[Key]): Result[Int]
Executes TOUCH or simply returns 0 when
keys
is empty, without sending the command to Redis -
def
touch(key: Key, keys: Key*): Result[Int]
Executes TOUCH
-
def
touch(key: Key): Result[Boolean]
Executes TOUCH
-
def
ttl(key: Key): Result[commons.Opt[commons.Opt[Long]]]
Executes TTL
-
def
type(key: Key): Result[RedisType]
Executes TYPE
-
def
unlink(keys: Iterable[Key]): Result[Int]
Executes UNLINK or simply returns 0 when
keys
is empty, without sending the command to Redis -
def
unlink(key: Key, keys: Key*): Result[Int]
Executes UNLINK
-
def
unlink(key: Key): Result[Boolean]
Executes UNLINK