Trait

com.avsystem.commons.redis.commands

NodeKeysApi

Related Doc: package commands

Permalink

trait NodeKeysApi extends KeyedKeysApi with ApiSubset

Linear Supertypes
KeyedKeysApi, ApiSubset, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NodeKeysApi
  2. KeyedKeysApi
  3. ApiSubset
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. abstract type HashKey

    Permalink

    The type of Redis hash keys or hash key patterns used in methods representing Redis commands that work on hashes (HashesApi).

    The type of Redis hash keys or hash key patterns used in methods representing Redis commands that work on hashes (HashesApi).

    Definition Classes
    ApiSubset
  2. abstract type Key

    Permalink

    The type of Redis keys or key patterns used in methods representing Redis commands.

    The type of Redis keys or key patterns used in methods representing Redis commands. For example, if Key = String then get returns Result[Opt[String]]. This type is used only for toplevel Redis keys, hash keys have their own type, HashKey.

    Definition Classes
    ApiSubset
  3. abstract type Result[A]

    Permalink

    The type constructor into which a result of each command is wrapped.

    The type constructor into which a result of each command is wrapped. For example if Result is Future, then incr returns Future[Long].

    Definition Classes
    ApiSubset
  4. abstract type Value

    Permalink

    The type of Redis values used in methods representing Redis commands.

    The type of Redis values used in methods representing Redis commands. "Value" is the data that might be stored directly under a Redis key (e.g. using set) but also a value of hash field, list element, set member, sorted set member, geo set member or element inserted into hyper-log-log structure. There are no separate types specified for every of those use cases because only one of them can be used in a single command (for example, there is no Redis command that works on both list elements and set members at the same time).

    Definition Classes
    ApiSubset

Abstract Value Members

  1. abstract def execute[A](command: RedisCommand[A]): Result[A]

    Permalink
    Definition Classes
    ApiSubset
  2. implicit abstract def hashKeyCodec: RedisDataCodec[HashKey]

    Permalink
    Attributes
    protected
    Definition Classes
    ApiSubset
  3. implicit abstract def keyCodec: RedisDataCodec[Key]

    Permalink
    Attributes
    protected
    Definition Classes
    ApiSubset
  4. implicit abstract def valueCodec: RedisDataCodec[Value]

    Permalink
    Attributes
    protected
    Definition Classes
    ApiSubset

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def del(keys: Iterable[Key]): Result[Int]

    Permalink

    Executes DEL or simply returns 0 if keys is empty, without sending the command to Redis

    Executes DEL or simply returns 0 if keys is empty, without sending the command to Redis

    Definition Classes
    KeyedKeysApi
  7. def del(key: Key, keys: Key*): Result[Int]

    Permalink

    Executes DEL

    Executes DEL

    Definition Classes
    KeyedKeysApi
  8. def del(key: Key): Result[Boolean]

    Permalink

    Executes DEL

    Executes DEL

    Definition Classes
    KeyedKeysApi
  9. def dump(key: Key): Result[commons.Opt[Dumped]]

    Permalink

    Executes DUMP

    Executes DUMP

    Definition Classes
    KeyedKeysApi
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def exists(keys: Iterable[Key]): Result[Int]

    Permalink

    Executes EXISTS or simply returns 0 when keys is empty, without sending the command to Redis

    Executes EXISTS or simply returns 0 when keys is empty, without sending the command to Redis

    Definition Classes
    KeyedKeysApi
  13. def exists(key: Key, keys: Key*): Result[Int]

    Permalink

    Executes EXISTS

    Executes EXISTS

    Definition Classes
    KeyedKeysApi
  14. def exists(key: Key): Result[Boolean]

    Permalink

    Executes EXISTS

    Executes EXISTS

    Definition Classes
    KeyedKeysApi
  15. def expire(key: Key, seconds: Long): Result[Boolean]

    Permalink

    Executes EXPIRE

    Executes EXPIRE

    Definition Classes
    KeyedKeysApi
  16. def expireat(key: Key, timestamp: Long): Result[Boolean]

    Permalink

    Executes EXPIREAT

    Executes EXPIREAT

    Definition Classes
    KeyedKeysApi
  17. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  19. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  20. implicit def headOps[T](head: T): HeadOps[T]

    Permalink
    Attributes
    protected
    Definition Classes
    ApiSubset
  21. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  22. implicit def iterableTailOps[T](tail: Iterable[T]): IterableTailOps[T]

    Permalink
    Attributes
    protected
    Definition Classes
    ApiSubset
  23. implicit def iteratorTailOps[T](tail: Iterator[T]): IteratorTailOps[T]

    Permalink
    Attributes
    protected
    Definition Classes
    ApiSubset
  24. def keys(pattern: Key): Result[commons.BSet[Key]]

    Permalink

    Executes KEYS

  25. def migrate(keys: Iterable[Key], address: NodeAddress, destinationDb: Int, timeout: Long, copy: Boolean = false, replace: Boolean = false): Result[Boolean]

    Permalink

    Executes MIGRATE or simply returns true when keys is empty, without sending the command to Redis

    Executes MIGRATE or simply returns true when keys is empty, without sending the command to Redis

    Definition Classes
    KeyedKeysApi
  26. def move(key: Key, db: Int): Result[Boolean]

    Permalink

    Executes MOVE

  27. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  28. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  30. def objectEncoding(key: Key): Result[commons.Opt[Encoding]]

    Permalink

    Executes OBJECT

    Executes OBJECT

    Definition Classes
    KeyedKeysApi
  31. def objectIdletime(key: Key): Result[commons.Opt[Long]]

    Permalink

    Executes OBJECT

    Executes OBJECT

    Definition Classes
    KeyedKeysApi
  32. def objectRefcount(key: Key): Result[commons.Opt[Long]]

    Permalink

    Executes OBJECT

    Executes OBJECT

    Definition Classes
    KeyedKeysApi
  33. def persist(key: Key): Result[Boolean]

    Permalink

    Executes PERSIST

    Executes PERSIST

    Definition Classes
    KeyedKeysApi
  34. def pexpire(key: Key, milliseconds: Long): Result[Boolean]

    Permalink

    Executes PEXPIRE

    Executes PEXPIRE

    Definition Classes
    KeyedKeysApi
  35. def pexpireat(key: Key, millisecondsTimestamp: Long): Result[Boolean]

    Permalink

    Executes PEXPIREAT

    Executes PEXPIREAT

    Definition Classes
    KeyedKeysApi
  36. def pttl(key: Key): Result[commons.Opt[commons.Opt[Long]]]

    Permalink

    Executes PTTL

    Executes PTTL

    Definition Classes
    KeyedKeysApi
  37. def randomkey: Result[commons.Opt[Key]]

    Permalink

    Executes RANDOMKEY

  38. def rename(key: Key, newkey: Key): Result[Unit]

    Permalink

    Executes RENAME

    Executes RENAME

    Definition Classes
    KeyedKeysApi
  39. def renamenx(key: Key, newkey: Key): Result[Boolean]

    Permalink

    Executes RENAMENX

    Executes RENAMENX

    Definition Classes
    KeyedKeysApi
  40. def restore(key: Key, ttl: Long, dumpedValue: Dumped, replace: Boolean = false): Result[Unit]

    Permalink

    Executes RESTORE

    Executes RESTORE

    Definition Classes
    KeyedKeysApi
  41. def scan(cursor: Cursor, matchPattern: commons.OptArg[Key] = OptArg.Empty, count: commons.OptArg[Long] = OptArg.Empty): Result[(Cursor, Seq[Key])]

    Permalink

    Executes SCAN

  42. def sort(key: Key, by: commons.OptArg[SortPattern[Key, HashKey]] = OptArg.Empty, limit: commons.OptArg[SortLimit] = OptArg.Empty, sortOrder: commons.OptArg[SortOrder] = OptArg.Empty, alpha: Boolean = false): Result[Seq[Value]]

    Permalink

    Executes SORT

    Executes SORT

    Definition Classes
    KeyedKeysApi
  43. def sortGet(key: Key, gets: Seq[SortPattern[Key, HashKey]], by: commons.OptArg[SortPattern[Key, HashKey]] = OptArg.Empty, limit: commons.OptArg[SortLimit] = OptArg.Empty, sortOrder: commons.OptArg[SortOrder] = OptArg.Empty, alpha: Boolean = false): Result[Seq[Seq[commons.Opt[Value]]]]

    Permalink

    Executes SORT

    Executes SORT

    Definition Classes
    KeyedKeysApi
  44. def sortStore(key: Key, destination: Key, by: commons.OptArg[SortPattern[Key, HashKey]] = OptArg.Empty, limit: commons.OptArg[SortLimit] = OptArg.Empty, gets: Seq[SortPattern[Key, HashKey]] = Nil, sortOrder: commons.OptArg[SortOrder] = OptArg.Empty, alpha: Boolean = false): Result[Long]

    Permalink

    Executes SORT

    Executes SORT

    Definition Classes
    KeyedKeysApi
  45. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  46. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  47. def touch(keys: Iterable[Key]): Result[Int]

    Permalink

    Executes TOUCH or simply returns 0 when keys is empty, without sending the command to Redis

    Executes TOUCH or simply returns 0 when keys is empty, without sending the command to Redis

    Definition Classes
    KeyedKeysApi
  48. def touch(key: Key, keys: Key*): Result[Int]

    Permalink

    Executes TOUCH

    Executes TOUCH

    Definition Classes
    KeyedKeysApi
  49. def touch(key: Key): Result[Boolean]

    Permalink

    Executes TOUCH

    Executes TOUCH

    Definition Classes
    KeyedKeysApi
  50. def ttl(key: Key): Result[commons.Opt[commons.Opt[Long]]]

    Permalink

    Executes TTL

    Executes TTL

    Definition Classes
    KeyedKeysApi
  51. def type(key: Key): Result[RedisType]

    Permalink

    Executes TYPE

    Executes TYPE

    Definition Classes
    KeyedKeysApi
  52. def unlink(keys: Iterable[Key]): Result[Int]

    Permalink

    Executes UNLINK or simply returns 0 when keys is empty, without sending the command to Redis

    Executes UNLINK or simply returns 0 when keys is empty, without sending the command to Redis

    Definition Classes
    KeyedKeysApi
  53. def unlink(key: Key, keys: Key*): Result[Int]

    Permalink

    Executes UNLINK

    Executes UNLINK

    Definition Classes
    KeyedKeysApi
  54. def unlink(key: Key): Result[Boolean]

    Permalink

    Executes UNLINK

    Executes UNLINK

    Definition Classes
    KeyedKeysApi
  55. def wait(numslaves: Int, timeout: Long): Result[Long]

    Permalink

    Executes WAIT

  56. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  57. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  58. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from KeyedKeysApi

Inherited from ApiSubset

Inherited from AnyRef

Inherited from Any

Ungrouped