Trait

com.twitter.finagle.redis

Hashes

Related Doc: package redis

Permalink

trait Hashes extends AnyRef

Self Type
Hashes with BaseClient
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hashes
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

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 hDel(key: ChannelBuffer, fields: Seq[ChannelBuffer]): Future[Long]

    Permalink

    Deletes fields from given hash

    Deletes fields from given hash

    returns

    Number of fields deleted

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

    Permalink

    Determine if a hash field exists

    Determine if a hash field exists

    returns

    true if key field exists, false otherwise

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

    Permalink

    Gets field from hash

    Gets field from hash

    returns

    Value if field exists

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

    Permalink

    Gets all field value pairs for given hash

    Gets all field value pairs for given hash

    returns

    Sequence of field/value pairs

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

    Permalink

    Increment a field by a value

    Increment a field by a value

    returns

    new value of field

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

    Permalink

    Return all field names stored at key

    Return all field names stored at key

    returns

    List of fields in hash

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

    Permalink

    Gets values for given fields in hash

    Gets values for given fields in hash

    returns

    List of values

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

    Permalink

    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

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

    Permalink

    Returns keys in given hash, starting at cursor

    Returns keys in given hash, starting at cursor

    returns

    cursor followed by matching keys

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

    Permalink

    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

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

    Permalink

    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

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

    Permalink

    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

  22. def hashCode(): Int

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

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

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

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

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

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped