trait StringOperations[F[+_]] extends StringApi[F]
- Alphabetic
- By Inheritance
- StringOperations
- StringApi
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Abstract Value Members
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from StringOperations[F] to any2stringadd[StringOperations[F]] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (StringOperations[F], B)
- Implicit
- This member is added by an implicit conversion from StringOperations[F] to ArrowAssoc[StringOperations[F]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
append(key: Any, value: Any)(implicit format: Format): F[Resp[Option[Long]]]
appends the key value with the specified value.
appends the key value with the specified value.
- Definition Classes
- StringOperations → StringApi
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
bitcount(key: Any, range: Option[(Int, Int)] = None)(implicit format: Format): F[Resp[Option[Int]]]
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
- StringOperations → StringApi
-
def
bitop(op: String, destKey: Any, srcKeys: Any*)(implicit format: Format): F[Resp[Option[Int]]]
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
- StringOperations → StringApi
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
decr(key: Any)(implicit format: Format): F[Resp[Option[Long]]]
decrements the specified key by 1
decrements the specified key by 1
- Definition Classes
- StringOperations → StringApi
-
def
decrby(key: Any, increment: Long)(implicit format: Format): F[Resp[Option[Long]]]
decrements the specified key by increment
decrements the specified key by increment
- Definition Classes
- StringOperations → StringApi
-
def
ensuring(cond: (StringOperations[F]) ⇒ Boolean, msg: ⇒ Any): StringOperations[F]
- Implicit
- This member is added by an implicit conversion from StringOperations[F] to Ensuring[StringOperations[F]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (StringOperations[F]) ⇒ Boolean): StringOperations[F]
- Implicit
- This member is added by an implicit conversion from StringOperations[F] to Ensuring[StringOperations[F]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): StringOperations[F]
- Implicit
- This member is added by an implicit conversion from StringOperations[F] to Ensuring[StringOperations[F]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): StringOperations[F]
- Implicit
- This member is added by an implicit conversion from StringOperations[F] to Ensuring[StringOperations[F]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from StringOperations[F] to StringFormat[StringOperations[F]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
def
get[A](key: Any)(implicit format: Format, parse: Parse[A]): F[Resp[Option[A]]]
gets the value for the specified key.
gets the value for the specified key.
- Definition Classes
- StringOperations → StringApi
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
getbit(key: Any, offset: Int)(implicit format: Format): F[Resp[Option[Int]]]
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
- StringOperations → StringApi
-
def
getrange[A](key: Any, start: Int, end: Int)(implicit format: Format, parse: Parse[A]): F[Resp[Option[A]]]
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
- StringOperations → StringApi
-
def
getset[A](key: Any, value: Any)(implicit format: Format, parse: Parse[A]): F[Resp[Option[A]]]
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
- StringOperations → StringApi
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
incr(key: Any)(implicit format: Format): F[Resp[Option[Long]]]
increments the specified key by 1
increments the specified key by 1
- Definition Classes
- StringOperations → StringApi
-
def
incrby(key: Any, increment: Long)(implicit format: Format): F[Resp[Option[Long]]]
increments the specified key by increment
increments the specified key by increment
- Definition Classes
- StringOperations → StringApi
-
def
incrbyfloat(key: Any, increment: Float)(implicit format: Format): F[Resp[Option[Float]]]
- Definition Classes
- StringOperations → StringApi
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
mget[A](key: Any, keys: Any*)(implicit format: Format, parse: Parse[A]): F[Resp[Option[List[Option[A]]]]]
get the values of all the specified keys.
get the values of all the specified keys.
- Definition Classes
- StringOperations → StringApi
-
def
mset(kvs: (Any, Any)*)(implicit format: Format): F[Resp[Boolean]]
set the respective key value pairs.
set the respective key value pairs. Overwrite value if key exists
- Definition Classes
- StringOperations → StringApi
-
def
msetnx(kvs: (Any, Any)*)(implicit format: Format): F[Resp[Boolean]]
set the respective key value pairs.
set the respective key value pairs. Noop if any key exists
- Definition Classes
- StringOperations → StringApi
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
psetex(key: Any, expiryInMillis: Long, value: Any)(implicit format: Format): F[Resp[Boolean]]
- Definition Classes
- StringOperations → StringApi
-
def
set(key: Any, value: Any, whenSet: SetBehaviour = Always, expire: Duration = null, keepTTL: Boolean = false)(implicit format: Format): F[Resp[Boolean]]
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
- StringOperations → StringApi
-
def
setbit(key: Any, offset: Int, value: Any)(implicit format: Format): F[Resp[Option[Int]]]
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
- StringOperations → StringApi
-
def
setex(key: Any, expiry: Long, value: Any)(implicit format: Format): F[Resp[Boolean]]
- Definition Classes
- StringOperations → StringApi
-
def
setnx(key: Any, value: Any)(implicit format: Format): F[Resp[Boolean]]
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
- StringOperations → StringApi
-
def
setrange(key: Any, offset: Int, value: Any)(implicit format: Format): F[Resp[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.
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
- StringOperations → StringApi
-
def
strlen(key: Any)(implicit format: Format): F[Resp[Option[Long]]]
gets the length of the value associated with the key
gets the length of the value associated with the key
- Definition Classes
- StringOperations → StringApi
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
→[B](y: B): (StringOperations[F], B)
- Implicit
- This member is added by an implicit conversion from StringOperations[F] to ArrowAssoc[StringOperations[F]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc