com.twitter.finagle.redis

Hashes

trait Hashes extends AnyRef

Self Type
Hashes with BaseClient
Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hashes
  2. AnyRef
  3. 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 hDel(key: ChannelBuffer, fields: Seq[ChannelBuffer]): Future[Long]

    Deletes fields from given hash

    Deletes fields from given hash

    returns

    Number of fields deleted

  13. def hExists(key: ChannelBuffer, field: ChannelBuffer): Future[Boolean]

    Determine if a hash field exists

    Determine if a hash field exists

    returns

    true if key field exists, false otherwise

  14. def hGet(key: ChannelBuffer, field: ChannelBuffer): Future[Option[ChannelBuffer]]

    Gets field from hash

    Gets field from hash

    returns

    Value if field exists

  15. def hGetAll(key: ChannelBuffer): Future[Seq[(ChannelBuffer, ChannelBuffer)]]

    Gets all field value pairs for given hash

    Gets all field value pairs for given hash

    returns

    Sequence of field/value pairs

  16. def hIncrBy(key: ChannelBuffer, field: ChannelBuffer, amount: Long): Future[Long]

    Increment a field by a value

    Increment a field by a value

    returns

    new value of field

  17. def hKeys(key: ChannelBuffer): Future[Seq[ChannelBuffer]]

    Return all field names stored at key

    Return all field names stored at key

    returns

    List of fields in hash

  18. def hMGet(key: ChannelBuffer, fields: Seq[ChannelBuffer]): Future[Seq[ChannelBuffer]]

    Gets values for given fields in hash

    Gets values for given fields in hash

    returns

    List of values

  19. def hMSet(key: ChannelBuffer, fv: Map[ChannelBuffer, ChannelBuffer]): Future[Unit]

    Sets values for given fields in hash

    Sets values for given fields in hash

    key

    hash key

    fv

    map of field to value

    See also

    http://redis.io/commands/hmset

  20. def hScan(key: ChannelBuffer, cursor: Long, count: Option[Long], pattern: Option[ChannelBuffer]): Future[Seq[ChannelBuffer]]

    Returns keys in given hash, starting at cursor

    Returns keys in given hash, starting at cursor

    returns

    cursor followed by matching keys

  21. def hSet(key: ChannelBuffer, field: ChannelBuffer, value: ChannelBuffer): Future[Long]

    Sets field value pair in given hash

    Sets field value pair in given hash

    returns

    1 if field is new, 0 if field was updated

  22. def hSetNx(key: ChannelBuffer, field: ChannelBuffer, value: ChannelBuffer): Future[Long]

    Sets field value pair in given hash only if the field does not yet exist

    Sets field value pair in given hash only if the field does not yet exist

    returns

    1 if field is new, 0 if no operation was performed

  23. def hVals(key: ChannelBuffer): Future[Seq[ChannelBuffer]]

    Gets the values of all fields in given hash

    Gets the values of all fields in given hash

    returns

    list of values, or empty list when key does not exist

  24. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  25. final def isInstanceOf[T0]: Boolean

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

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

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

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

    Definition Classes
    AnyRef
  30. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped