Trait

com.avsystem.commons.redis.commands

KeyedKeysApi

Related Doc: package commands

Permalink

trait KeyedKeysApi extends ApiSubset

Author: ghik Created: 06/04/16.

Linear Supertypes
ApiSubset, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. KeyedKeysApi
  2. ApiSubset
  3. AnyRef
  4. 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

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

    Permalink

    Executes DEL

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

    Permalink

    Executes DEL

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

    Permalink

    Executes DUMP

  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

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

    Permalink

    Executes EXISTS

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

    Permalink

    Executes EXISTS

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

    Permalink

    Executes EXPIRE

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

    Permalink

    Executes EXPIREAT

  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 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

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

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

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

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

    Permalink

    Executes OBJECT

  29. def objectIdletime(key: Key): Result[commons.Opt[Long]]

    Permalink

    Executes OBJECT

  30. def objectRefcount(key: Key): Result[commons.Opt[Long]]

    Permalink

    Executes OBJECT

  31. def persist(key: Key): Result[Boolean]

    Permalink

    Executes PERSIST

  32. def pexpire(key: Key, milliseconds: Long): Result[Boolean]

    Permalink

    Executes PEXPIRE

  33. def pexpireat(key: Key, millisecondsTimestamp: Long): Result[Boolean]

    Permalink

    Executes PEXPIREAT

  34. def pttl(key: Key): Result[commons.Opt[commons.Opt[Long]]]

    Permalink

    Executes PTTL

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

    Permalink

    Executes RENAME

  36. def renamenx(key: Key, newkey: Key): Result[Boolean]

    Permalink

    Executes RENAMENX

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

    Permalink

    Executes RESTORE

  38. 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

  39. 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

  40. 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

  41. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

    Permalink

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

  44. def touch(key: Key, keys: Key*): Result[Int]

    Permalink

    Executes TOUCH

  45. def touch(key: Key): Result[Boolean]

    Permalink

    Executes TOUCH

  46. def ttl(key: Key): Result[commons.Opt[commons.Opt[Long]]]

    Permalink

    Executes TTL

  47. def type(key: Key): Result[RedisType]

    Permalink

    Executes TYPE

  48. def unlink(keys: Iterable[Key]): Result[Int]

    Permalink

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

  49. def unlink(key: Key, keys: Key*): Result[Int]

    Permalink

    Executes UNLINK

  50. def unlink(key: Key): Result[Boolean]

    Permalink

    Executes UNLINK

  51. final def wait(): Unit

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

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

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

Inherited from ApiSubset

Inherited from AnyRef

Inherited from Any

Ungrouped