com.redis

HashOperations

trait HashOperations extends HashApi

Self Type
HashOperations with Redis
Linear Supertypes
HashApi, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. HashOperations
  2. HashApi
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Definition Classes
    AnyRef → Any
  13. def hdel(key: Any, field: Any, fields: Any*)(implicit format: Format): Option[Long]

    Definition Classes
    HashOperationsHashApi
  14. def hexists(key: Any, field: Any)(implicit format: Format): Boolean

    Definition Classes
    HashOperationsHashApi
  15. def hget[A](key: Any, field: Any)(implicit format: Format, parse: Parse[A]): Option[A]

    Definition Classes
    HashOperationsHashApi
  16. def hgetall[K, V](key: Any)(implicit format: Format, parseK: Parse[K], parseV: Parse[V]): Option[Map[K, V]]

    Definition Classes
    HashOperationsHashApi
  17. def hgetall1[K, V](key: Any)(implicit format: Format, parseK: Parse[K], parseV: Parse[V]): Option[Map[K, V]]

    Definition Classes
    HashOperationsHashApi
  18. def hincrby(key: Any, field: Any, value: Long)(implicit format: Format): Option[Long]

    Definition Classes
    HashOperationsHashApi
  19. def hincrbyfloat(key: Any, field: Any, value: Float)(implicit format: Format): Option[Float]

    Definition Classes
    HashOperationsHashApi
  20. def hkeys[A](key: Any)(implicit format: Format, parse: Parse[A]): Option[List[A]]

    Definition Classes
    HashOperationsHashApi
  21. def hlen(key: Any)(implicit format: Format): Option[Long]

    Definition Classes
    HashOperationsHashApi
  22. def hmget[K, V](key: Any, fields: K*)(implicit format: Format, parseV: Parse[V]): Option[Map[K, V]]

    Definition Classes
    HashOperationsHashApi
  23. def hmset(key: Any, map: Iterable[Product2[Any, Any]])(implicit format: Format): Boolean

    Sets the specified fields to their respective values in the hash stored at key.

    Sets the specified fields to their respective values in the hash stored at key. This command overwrites any existing fields in the hash. If key does not exist, a new key holding a hash is created.

    map

    from fields to values

    returns

    True if operation completed successfully, False otherwise.

    Definition Classes
    HashOperationsHashApi
    See also

    HMSET documentation

  24. def hscan[A](key: Any, cursor: Int, pattern: Any = "*", count: Int = 10)(implicit format: Format, parse: Parse[A]): Option[(Option[Int], Option[List[Option[A]]])]

    Incrementally iterate hash fields and associated values (since 2.

    Incrementally iterate hash fields and associated values (since 2.8)

    Definition Classes
    HashOperationsHashApi
  25. def hset1(key: Any, field: Any, value: Any)(implicit format: Format): Option[Long]

    Sets field in the hash stored at key to value.

    Sets field in the hash stored at key to value. If key does not exist, a new key holding a hash is created. If field already exists in the hash, it is overwritten.

    returns

    Some(0) if field is a new field in the hash and value was set, Some(1) if field already exists in the hash and the value was updated.

    Definition Classes
    HashOperationsHashApi
    See also

    HSET documentation

  26. def hsetnx(key: Any, field: Any, value: Any)(implicit format: Format): Boolean

    Sets field in the hash stored at key to value, only if field does not yet exist.

    Sets field in the hash stored at key to value, only if field does not yet exist. If key does not exist, a new key holding a hash is created. If field already exists, this operation has no effect.

    returns

    True if field is a new field in the hash and value was set. False if field exists in the hash and no operation was performed.

    Definition Classes
    HashOperationsHashApi
    See also

    HSETNX documentation

  27. def hvals[A](key: Any)(implicit format: Format, parse: Parse[A]): Option[List[A]]

    Definition Classes
    HashOperationsHashApi
  28. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  29. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  30. final def notify(): Unit

    Definition Classes
    AnyRef
  31. final def notifyAll(): Unit

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

    Definition Classes
    AnyRef
  33. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def hset(key: Any, field: Any, value: Any)(implicit format: Format): Boolean

    Sets field in the hash stored at key to value.

    Sets field in the hash stored at key to value. If key does not exist, a new key holding a hash is created. If field already exists in the hash, it is overwritten.

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

    return value semantics is inconsistent with com.redis.HashOperations#hsetnx and com.redis.HashOperations#hmset. Use com.redis.HashOperations#hset1 instead

    See also

    HSET documentation

Inherited from HashApi

Inherited from AnyRef

Inherited from Any

Ungrouped