Trait

com.redis

StringOperations

Related Doc: package redis

Permalink

trait StringOperations extends StringApi

Self Type
StringOperations with Redis
Linear Supertypes
StringApi, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StringOperations
  2. StringApi
  3. AnyRef
  4. 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. def append(key: Any, value: Any)(implicit format: Format): Option[Long]

    Permalink

    appends the key value with the specified value.

    appends the key value with the specified value.

    Definition Classes
    StringOperationsStringApi
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def bitcount(key: Any, range: Option[(Int, Int)] = None)(implicit format: Format): Option[Int]

    Permalink

    Count the number of set bits in the given key within the optional range

    Count the number of set bits in the given key within the optional range

    Definition Classes
    StringOperationsStringApi
  7. def bitop(op: String, destKey: Any, srcKeys: Any*)(implicit format: Format): Option[Int]

    Permalink

    Perform a bitwise operation between multiple keys (containing string values) and store the result in the destination key.

    Perform a bitwise operation between multiple keys (containing string values) and store the result in the destination key.

    Definition Classes
    StringOperationsStringApi
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def decr(key: Any)(implicit format: Format): Option[Long]

    Permalink

    decrements the specified key by 1

    decrements the specified key by 1

    Definition Classes
    StringOperationsStringApi
  10. def decrby(key: Any, increment: Long)(implicit format: Format): Option[Long]

    Permalink

    decrements the specified key by increment

    decrements the specified key by increment

    Definition Classes
    StringOperationsStringApi
  11. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def get[A](key: Any)(implicit format: Format, parse: Parse[A]): Option[A]

    Permalink

    gets the value for the specified key.

    gets the value for the specified key.

    Definition Classes
    StringOperationsStringApi
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. def getbit(key: Any, offset: Int)(implicit format: Format): Option[Int]

    Permalink

    Returns the bit value at offset in the string value stored at key

    Returns the bit value at offset in the string value stored at key

    Definition Classes
    StringOperationsStringApi
  17. def getrange[A](key: Any, start: Int, end: Int)(implicit format: Format, parse: Parse[A]): Option[A]

    Permalink

    Returns the substring of the string value stored at key, determined by the offsets start and end (both are inclusive).

    Returns the substring of the string value stored at key, determined by the offsets start and end (both are inclusive).

    Definition Classes
    StringOperationsStringApi
  18. def getset[A](key: Any, value: Any)(implicit format: Format, parse: Parse[A]): Option[A]

    Permalink

    is an atomic set this value and return the old value command.

    is an atomic set this value and return the old value command.

    Definition Classes
    StringOperationsStringApi
  19. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  20. def incr(key: Any)(implicit format: Format): Option[Long]

    Permalink

    increments the specified key by 1

    increments the specified key by 1

    Definition Classes
    StringOperationsStringApi
  21. def incrby(key: Any, increment: Long)(implicit format: Format): Option[Long]

    Permalink

    increments the specified key by increment

    increments the specified key by increment

    Definition Classes
    StringOperationsStringApi
  22. def incrbyfloat(key: Any, increment: Float)(implicit format: Format): Option[Float]

    Permalink
    Definition Classes
    StringOperationsStringApi
  23. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  24. def mget[A](key: Any, keys: Any*)(implicit format: Format, parse: Parse[A]): Option[List[Option[A]]]

    Permalink

    get the values of all the specified keys.

    get the values of all the specified keys.

    Definition Classes
    StringOperationsStringApi
  25. def mset(kvs: (Any, Any)*)(implicit format: Format): Boolean

    Permalink

    set the respective key value pairs.

    set the respective key value pairs. Overwrite value if key exists

    Definition Classes
    StringOperationsStringApi
  26. def msetnx(kvs: (Any, Any)*)(implicit format: Format): Boolean

    Permalink

    set the respective key value pairs.

    set the respective key value pairs. Noop if any key exists

    Definition Classes
    StringOperationsStringApi
  27. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  30. def psetex(key: Any, expiryInMillis: Long, value: Any)(implicit format: Format): Boolean

    Permalink
    Definition Classes
    StringOperationsStringApi
  31. def set(key: Any, value: Any, whenSet: SetBehaviour = Always, expire: Duration = null)(implicit format: Format): Boolean

    Permalink

    sets the key with the specified value.

    sets the key with the specified value. Starting with Redis 2.6.12 SET supports a set of options that modify its behavior:

    NX -- Only set the key if it does not already exist. XX -- Only set the key if it already exist. PX milliseconds -- Set the specified expire time, in milliseconds.

    Definition Classes
    StringOperationsStringApi
  32. def setbit(key: Any, offset: Int, value: Any)(implicit format: Format): Option[Int]

    Permalink

    Sets or clears the bit at offset in the string value stored at key

    Sets or clears the bit at offset in the string value stored at key

    Definition Classes
    StringOperationsStringApi
  33. def setex(key: Any, expiry: Long, value: Any)(implicit format: Format): Boolean

    Permalink
    Definition Classes
    StringOperationsStringApi
  34. def setnx(key: Any, value: Any)(implicit format: Format): Boolean

    Permalink

    sets the value for the specified key, only if the key is not there.

    sets the value for the specified key, only if the key is not there.

    Definition Classes
    StringOperationsStringApi
  35. def setrange(key: Any, offset: Int, value: Any)(implicit format: Format): Option[Long]

    Permalink

    SETRANGE key offset value Overwrites part of the string stored at key, starting at the specified offset, for the entire length of value.

    SETRANGE key offset value Overwrites part of the string stored at key, starting at the specified offset, for the entire length of value.

    Definition Classes
    StringOperationsStringApi
  36. def strlen(key: Any)(implicit format: Format): Option[Long]

    Permalink

    gets the length of the value associated with the key

    gets the length of the value associated with the key

    Definition Classes
    StringOperationsStringApi
  37. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

Deprecated Value Members

  1. def set(key: Any, value: Any, onlyIfExists: Boolean, time: SecondsOrMillis): Boolean

    Permalink
    Definition Classes
    StringApi
    Annotations
    @deprecated
    Deprecated

    (Since version 3.10) Use implementation with scala.concurrent.duration.Duration and SetBehaviour

Inherited from StringApi

Inherited from AnyRef

Inherited from Any

Ungrouped