Packages

object RedisHash extends RedisHash

Annotations
@deprecated
Deprecated

(Since version 0.6.0) use the pure monix.connect.redis.client.RedisConnection

Source
RedisHash.scala
Linear Supertypes
RedisHash, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RedisHash
  2. RedisHash
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def hdel[K, V](key: K, fields: K*)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]

    Delete one or more hash fields.

    Delete one or more hash fields.

    returns

    Number of fields that were removed from the hash, not including specified but non existing fields.

    Definition Classes
    RedisHash
  12. def hexists[K, V](key: K, field: K)(implicit connection: StatefulRedisConnection[K, V]): Task[Boolean]

    Determine if a hash field exists.

    Determine if a hash field exists.

    returns

    True if the hash contains the field. False if the hash does not contain the field, or key does not exist. .

    Definition Classes
    RedisHash
  13. def hget[K, V](key: K, field: K)(implicit connection: StatefulRedisConnection[K, V]): Task[V]

    Get the value of a hash field.

    Get the value of a hash field.

    returns

    The value associated with field, or null when field is not present in the hash or key does not exist. A failed task with NoSuchElementException will be returned when the underlying api returns an empty publisher. i.e: when the key did not exist.

    Definition Classes
    RedisHash
  14. def hgetall[K, V](key: K)(implicit connection: StatefulRedisConnection[K, V]): Observable[KeyValue[K, V]]

    Get all the fields and values in a hash.

    Get all the fields and values in a hash.

    key

    the key

    returns

    Map of the fields and their values stored in the hash, or an empty list when key does not exist.

    Definition Classes
    RedisHash
  15. def hincrby[K, V](key: K, field: K, amount: Long)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]

    Increment the integer value of a hash field by the given number.

    Increment the integer value of a hash field by the given number.

    returns

    The value at field after the increment operation.

    Definition Classes
    RedisHash
  16. def hincrbyfloat[K, V](key: K, field: K, amount: Double)(implicit connection: StatefulRedisConnection[K, V]): Task[Double]

    Increment the float value of a hash field by the given amount.

    Increment the float value of a hash field by the given amount.

    returns

    The value of field after the increment.

    Definition Classes
    RedisHash
  17. def hkeys[K, V](key: K)(implicit connection: StatefulRedisConnection[K, V]): Observable[K]

    Get all the fields in a hash.

    Get all the fields in a hash.

    returns

    The fields in the hash.

    Definition Classes
    RedisHash
  18. def hlen[K, V](key: K)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]

    Get the number of fields in a hash.

    Get the number of fields in a hash.

    returns

    Number of fields in the hash, or 0 when key does not exist.

    Definition Classes
    RedisHash
  19. def hmget[K, V](key: K, fields: K*)(implicit connection: StatefulRedisConnection[K, V]): Observable[KeyValue[K, V]]

    Get the values of all the given hash fields.

    Get the values of all the given hash fields.

    returns

    Values associated with the given fields.

    Definition Classes
    RedisHash
  20. def hmset[K, V](key: K, map: Map[K, V])(implicit connection: StatefulRedisConnection[K, V]): Task[String]

    Set multiple hash fields to multiple values.

    Set multiple hash fields to multiple values.

    returns

    Simple string reply.

    Definition Classes
    RedisHash
  21. def hscan[K, V](key: K, scanCursor: ScanCursor)(implicit connection: StatefulRedisConnection[K, V]): Task[MapScanCursor[K, V]]
    Definition Classes
    RedisHash
  22. def hscan[K, V](key: K)(implicit connection: StatefulRedisConnection[K, V]): Task[MapScanCursor[K, V]]

    Incrementally iterate hash fields and associated values.

    Incrementally iterate hash fields and associated values.

    returns

    Map scan cursor.

    Definition Classes
    RedisHash
  23. def hset[K, V](key: K, field: K, value: V)(implicit connection: StatefulRedisConnection[K, V]): Task[Boolean]

    Set the string value of a hash field.

    Set the string value of a hash field.

    returns

    True if field is a new field in the hash and value was set. False if field already exists in the hash and the value was updated.

    Definition Classes
    RedisHash
  24. def hsetnx[K, V](key: K, field: K, value: V)(implicit connection: StatefulRedisConnection[K, V]): Task[Boolean]

    Set the value of a hash field, only if the field does not exist.

    Set the value of a hash field, only if the field does not exist.

    returns

    True if field is a new field in the hash and value was set. False if field already exists in the hash and the value was updated.

    Definition Classes
    RedisHash
  25. def hstrlen[K, V](key: K, field: K)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]

    Get the string length of the field value in a hash.

    Get the string length of the field value in a hash.

    returns

    Length of the field value, or 0 when field is not present in the hash or key does not exist at all.

    Definition Classes
    RedisHash
  26. def hvals[K, V](key: K)(implicit connection: StatefulRedisConnection[K, V]): Observable[V]

    Get all the values in a hash.

    Get all the values in a hash.

    returns

    Values in the hash, or an empty list when key does not exist.

    Definition Classes
    RedisHash
  27. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  32. def toString(): String
    Definition Classes
    AnyRef → Any
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from RedisHash

Inherited from AnyRef

Inherited from Any

Ungrouped