Trait

com.avsystem.commons.redis.commands

HashesApi

Related Doc: package commands

Permalink

trait HashesApi extends ApiSubset

Linear Supertypes
ApiSubset, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HashesApi
  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. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  11. def hdel(key: Key, fields: Iterable[HashKey]): Result[Int]

    Permalink

    Executes HDEL or simply returns 0 when fields is empty, without sending the command to Redis

  12. def hdel(key: Key, field: HashKey, fields: HashKey*): Result[Int]

    Permalink

    Executes HDEL

  13. def hdel(key: Key, field: HashKey): Result[Boolean]

    Permalink

    Executes HDEL

  14. implicit def headOps[T](head: T): HeadOps[T]

    Permalink
    Attributes
    protected
    Definition Classes
    ApiSubset
  15. def hexists(key: Key, field: HashKey): Result[Boolean]

    Permalink

    Executes HEXISTS

  16. def hget(key: Key, field: HashKey): Result[commons.Opt[Value]]

    Permalink

    Executes HGET

  17. def hgetall(key: Key): Result[commons.BMap[HashKey, Value]]

    Permalink

    Executes HGETALL

  18. def hincrby(key: Key, field: HashKey, increment: Long): Result[Long]

    Permalink

    Executes HINCRBY

  19. def hincrbyfloat(key: Key, field: HashKey, increment: Double): Result[Double]

    Permalink

    Executes HINCRBYFLOAT

  20. def hkeys(key: Key): Result[commons.BSet[HashKey]]

    Permalink

    Executes HKEYS

  21. def hlen(key: Key): Result[Long]

    Permalink

    Executes HLEN

  22. def hmget(key: Key, fields: Iterable[HashKey]): Result[Seq[commons.Opt[Value]]]

    Permalink

    Executes HMGET or simply returns empty Seq when fields is empty, without sending the command to Redis

  23. def hmget(key: Key, field: HashKey, fields: HashKey*): Result[Seq[commons.Opt[Value]]]

    Permalink

    Executes HMGET

  24. def hmset(key: Key, fieldValues: Iterable[(HashKey, Value)]): Result[Unit]

    Permalink

    Executes HMSET or does nothing when fieldValues is empty, without sending the command to Redis

  25. def hmset(key: Key, fieldValue: (HashKey, Value), fieldValues: (HashKey, Value)*): Result[Unit]

    Permalink

    Executes HMSET

  26. def hscan(key: Key, cursor: Cursor, matchPattern: commons.OptArg[HashKey] = OptArg.Empty, count: commons.OptArg[Int] = OptArg.Empty): Result[(Cursor, Seq[(HashKey, Value)])]

    Permalink

    Executes HSCAN

  27. def hset(key: Key, fieldValues: Iterable[(HashKey, Value)]): Result[Int]

    Permalink

    Executes HSET or does nothing when fieldValues is empty, without sending the command to Redis

  28. def hset(key: Key, fieldValue: (HashKey, Value), fieldValues: (HashKey, Value)*): Result[Int]

    Permalink

    Executes HSET

  29. def hset(key: Key, field: HashKey, value: Value): Result[Boolean]

    Permalink

    Executes HSET

  30. def hsetnx(key: Key, field: HashKey, value: Value): Result[Boolean]

    Permalink

    Executes HSETNX

  31. def hstrlen(key: Key, field: HashKey): Result[Int]

    Permalink

    Executes HSTRLEN

  32. def hvals(key: Key): Result[Iterable[Value]]

    Permalink

    Executes HVALS

  33. final def isInstanceOf[T0]: Boolean

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    ApiSubset
  36. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  39. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  41. final def wait(): Unit

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

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

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

Inherited from ApiSubset

Inherited from AnyRef

Inherited from Any

Ungrouped