object RedisString extends RedisString
- Annotations
- @deprecated
- Deprecated
(Since version 0.6.0) use the pure
monix.connect.redis.client.RedisConnection
- Source
- RedisString.scala
- Alphabetic
- By Inheritance
- RedisString
- RedisString
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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[K, V](key: K, value: V)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]
Append a value to a key.
Append a value to a key.
- returns
The length of the string after the append operation.
- Definition Classes
- RedisString
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def bitcount[K, V](key: K, start: Long, end: Long)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]
Count set bits in a string.
Count set bits in a string.
- returns
The number of bits set to 1.
- Definition Classes
- RedisString
- def bitcount[K, V](key: K)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]
Count set bits in a string.
Count set bits in a string.
- returns
The number of bits set to 1.
- Definition Classes
- RedisString
- def bitopAnd[K, V](destination: K, keys: K*)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]
Perform bitwise AND between strings.
Perform bitwise AND between strings.
- returns
The size of the string stored in the destination key, that is equal to the size of the longest input string.
- Definition Classes
- RedisString
- def bitopNot[K, V](destination: K, source: K)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]
Perform bitwise NOT between strings.
Perform bitwise NOT between strings.
- returns
The size of the string stored in the destination key, that is equal to the size of the longest input string.
- Definition Classes
- RedisString
- def bitopOr[K, V](destination: K, keys: K*)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]
Perform bitwise OR between strings.
Perform bitwise OR between strings.
- returns
The size of the string stored in the destination key, that is equal to the size of the longest input string.
- Definition Classes
- RedisString
- def bitopXor[K, V](destination: K, keys: K*)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]
Perform bitwise XOR between strings.
Perform bitwise XOR between strings.
- returns
The size of the string stored in the destination key, that is equal to the size of the longest input string.
- Definition Classes
- RedisString
- def bitpos[K, V](key: K, state: Boolean, start: Long, end: Long)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]
Find first bit set or clear in a string.
Find first bit set or clear in a string.
- returns
The command returns the position of the first bit set to 1 or 0 according to the request.
- Definition Classes
- RedisString
- def bitpos[K, V](key: K, state: Boolean, start: Long)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]
Find first bit set or clear in a string.
Find first bit set or clear in a string.
- returns
The command returns the position of the first bit set to 1 or 0 according to the request.
- Definition Classes
- RedisString
- def bitpos[K, V](key: K, state: Boolean)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]
Find first bit set or clear in a string.
Find first bit set or clear in a string.
- returns
The command returns the position of the first bit set to 1 or 0 according to the request.
- Definition Classes
- RedisString
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def decr[K, V](key: K)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]
Decrement the integer value of a key by one.
Decrement the integer value of a key by one.
- returns
The value of key after the decrement
- Definition Classes
- RedisString
- def decrby[K, V](key: K, amount: Long)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]
Decrement the integer value of a key by the given number.
Decrement the integer value of a key by the given number.
- returns
The value of key after the decrement.
- Definition Classes
- RedisString
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def get[K, V](key: K)(implicit connection: StatefulRedisConnection[K, V]): Task[V]
Get the value of a key.
Get the value of a key.
- returns
The value of key, or null when key does not exist.
- Definition Classes
- RedisString
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getbit[K, V](key: K, offset: Long)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]
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.
- returns
The bit value stored at offset.
- Definition Classes
- RedisString
- def getrange[K, V](key: K, start: Long, end: Long)(implicit connection: StatefulRedisConnection[K, V]): Task[V]
Get a substring of the string stored at a key.
Get a substring of the string stored at a key.
- returns
Bulk string reply.
- Definition Classes
- RedisString
- def getset[K, V](key: K, value: V)(implicit connection: StatefulRedisConnection[K, V]): Task[V]
Set the string value of a key and return its old value.
Set the string value of a key and return its old value.
- returns
The old value stored at key, or null when key did not exist.
- Definition Classes
- RedisString
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def incr[K, V](key: K)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]
Increment the integer value of a key by one.
Increment the integer value of a key by one.
- returns
The value of key after the increment.
- Definition Classes
- RedisString
- def incrby[K, V](key: K, amount: Long)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]
Increment the integer value of a key by the given amount.
Increment the integer value of a key by the given amount.
- returns
The value of key after the increment.
- Definition Classes
- RedisString
- def incrbyfloat[K, V](key: K, amount: Double)(implicit connection: StatefulRedisConnection[K, V]): Task[Double]
Increment the float value of a key by the given amount.
Increment the float value of a key by the given amount.
- returns
Double bulk string reply the value of key after the increment.
- Definition Classes
- RedisString
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def mget[K, V](keys: K*)(implicit connection: StatefulRedisConnection[K, V]): Observable[KeyValue[K, V]]
Get the values of all the given keys.
Get the values of all the given keys.
- returns
Values at the specified keys.
- Definition Classes
- RedisString
- def mset[K, V](map: Map[K, V])(implicit connection: StatefulRedisConnection[K, V]): Task[String]
Set multiple keys to multiple values.
Set multiple keys to multiple values.
- returns
Always OK since MSET can't fail.
- Definition Classes
- RedisString
- def msetnx[K, V](map: Map[K, V])(implicit connection: StatefulRedisConnection[K, V]): Task[Boolean]
Set multiple keys to multiple values, only if none of the keys exist.
Set multiple keys to multiple values, only if none of the keys exist.
- returns
True if the all the keys were set. False if no key was set (at least one key already existed).
- Definition Classes
- RedisString
- 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[K, V](key: K, milliseconds: Long, value: V)(implicit connection: StatefulRedisConnection[K, V]): Task[String]
Set the value and expiration in milliseconds of a key.
Set the value and expiration in milliseconds of a key.
- returns
String simple-string-reply
- Definition Classes
- RedisString
- def set[K, V](key: K, value: V)(implicit connection: StatefulRedisConnection[K, V]): Task[String]
Set the string value of a key.
Set the string value of a key.
- returns
OK if SET was executed correctly.
- Definition Classes
- RedisString
- def setbit[K, V](key: K, offset: Long, value: Int)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]
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.
- returns
The original bit value stored at offset.
- Definition Classes
- RedisString
- def setex[K, V](key: K, seconds: Long, value: V)(implicit connection: StatefulRedisConnection[K, V]): Task[String]
Set the value and expiration of a key.
Set the value and expiration of a key.
- returns
Simple string reply.
- Definition Classes
- RedisString
- def setnx[K, V](key: K, value: V)(implicit connection: StatefulRedisConnection[K, V]): Task[Boolean]
Set the value of a key, only if the key does not exist.
Set the value of a key, only if the key does not exist.
- returns
True if the key was set. False if the key was not set
- Definition Classes
- RedisString
- def setrange[K, V](key: K, offset: Long, value: V)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]
Overwrite part of a string at key starting at the specified offset.
Overwrite part of a string at key starting at the specified offset.
- returns
The length of the string after it was modified by the command.
- Definition Classes
- RedisString
- def strlen[K, V](key: K)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]
Get the length of the value stored in a key.
Get the length of the value stored in a key.
- returns
The length of the string at key, or 0 when key does not exist.
- Definition Classes
- RedisString
- 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()