trait StringOps extends StringApi
- Alphabetic
- By Inheritance
- StringOps
- StringApi
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def append(key: Any, value: Any)(implicit format: Format): Option[Long]
appends the key value with the specified value.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def bitcount(key: Any, range: Option[(Int, Int)])(implicit format: Format): Option[Int]
Count the number of set bits in the given key within the optional range
- def bitop(op: String, destKey: Any, srcKeys: Any*)(implicit format: Format): Option[Int]
Perform a bitwise operation between multiple keys (containing string values) and store the result in the destination key.
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def decr(key: Any)(implicit format: Format): Option[Long]
decrements the specified key by 1
- def decrby(key: Any, increment: Long)(implicit format: Format): Option[Long]
decrements the specified key by increment
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def get[A](key: Any)(implicit format: Format, parse: Parse[A]): Option[A]
gets the value for the specified key.
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getbit(key: Any, offset: Int)(implicit format: Format): Option[Int]
Returns the bit value at offset in the string value stored at key
- def getrange[A](key: Any, start: Int, end: Int)(implicit format: Format, parse: Parse[A]): Option[A]
Returns the substring of the string value stored at key, determined by the offsets start and end (both are inclusive).
- def getset[A](key: Any, value: Any)(implicit format: Format, parse: Parse[A]): Option[A]
is an atomic set this value and return the old value command.
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def incr(key: Any)(implicit format: Format): Option[Long]
increments the specified key by 1
- def incrby(key: Any, increment: Long)(implicit format: Format): Option[Long]
increments the specified key by increment
- def incrbyfloat(key: Any, increment: Float)(implicit format: Format): Option[Float]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def mget[A](key: Any, keys: Any*)(implicit format: Format, parse: Parse[A]): Option[List[Option[A]]]
get the values of all the specified keys.
- def mset(kvs: (Any, Any)*)(implicit format: Format): Boolean
set the respective key value pairs.
- def msetnx(kvs: (Any, Any)*)(implicit format: Format): Boolean
set the respective key value pairs.
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def psetex(key: Any, expiryInMillis: Long, value: Any)(implicit format: Format): Boolean
- def set(key: Any, value: Any, onlyIfExists: Boolean, time: SecondsOrMillis): Boolean
- def set(key: Any, value: Any)(implicit format: Format): Boolean
sets the key with the specified value.
- def setbit(key: Any, offset: Int, value: Any)(implicit format: Format): Option[Int]
Sets or clears the bit at offset in the string value stored at key
- def setex(key: Any, expiry: Long, value: Any)(implicit format: Format): Boolean
- def setnx(key: Any, value: Any)(implicit format: Format): Boolean
sets the value for the specified key, only if the key is not there.
- def setrange(key: Any, offset: Int, value: Any)(implicit format: Format): Option[Long]
SETRANGE key offset value Overwrites part of the string stored at key, starting at the specified offset, for the entire length of value.
- def strlen(key: Any)(implicit format: Format): Option[Long]
gets the length of the value associated with the key
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()