Packages

trait StringApi[F[+_]] extends AnyRef

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StringApi
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def append(key: Any, value: Any)(implicit format: Format): F[Resp[Option[Long]]]

    appends the key value with the specified value.

  2. abstract 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

  3. abstract 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.

  4. abstract def decr(key: Any)(implicit format: Format): F[Resp[Option[Long]]]

    decrements the specified key by 1

  5. abstract def decrby(key: Any, increment: Long)(implicit format: Format): F[Resp[Option[Long]]]

    decrements the specified key by increment

  6. abstract def get[A](key: Any)(implicit format: Format, parse: Parse[A]): F[Resp[Option[A]]]

    gets the value for the specified key.

  7. abstract 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

  8. abstract 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).

  9. abstract 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.

  10. abstract def incr(key: Any)(implicit format: Format): F[Resp[Option[Long]]]

    increments the specified key by 1

  11. abstract def incrby(key: Any, increment: Long)(implicit format: Format): F[Resp[Option[Long]]]

    increments the specified key by increment

  12. abstract def incrbyfloat(key: Any, increment: Float)(implicit format: Format): F[Resp[Option[Float]]]
  13. abstract 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.

  14. abstract 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

  15. abstract 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

  16. abstract def psetex(key: Any, expiryInMillis: Long, value: Any)(implicit format: Format): F[Resp[Boolean]]
  17. abstract 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.

  18. abstract 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

  19. abstract def setex(key: Any, expiry: Long, value: Any)(implicit format: Format): F[Resp[Boolean]]
  20. abstract 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.

  21. abstract 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.

  22. abstract def strlen(key: Any)(implicit format: Format): F[Resp[Option[Long]]]

    gets the length of the value associated with the key

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from StringApi[F] toany2stringadd[StringApi[F]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (StringApi[F], B)
    Implicit
    This member is added by an implicit conversion from StringApi[F] toArrowAssoc[StringApi[F]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  8. def ensuring(cond: (StringApi[F]) => Boolean, msg: => Any): StringApi[F]
    Implicit
    This member is added by an implicit conversion from StringApi[F] toEnsuring[StringApi[F]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  9. def ensuring(cond: (StringApi[F]) => Boolean): StringApi[F]
    Implicit
    This member is added by an implicit conversion from StringApi[F] toEnsuring[StringApi[F]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: Boolean, msg: => Any): StringApi[F]
    Implicit
    This member is added by an implicit conversion from StringApi[F] toEnsuring[StringApi[F]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean): StringApi[F]
    Implicit
    This member is added by an implicit conversion from StringApi[F] toEnsuring[StringApi[F]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from StringApi[F] toStringFormat[StringApi[F]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated
  2. def [B](y: B): (StringApi[F], B)
    Implicit
    This member is added by an implicit conversion from StringApi[F] toArrowAssoc[StringApi[F]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromStringApi[F] to any2stringadd[StringApi[F]]

Inherited by implicit conversion StringFormat fromStringApi[F] to StringFormat[StringApi[F]]

Inherited by implicit conversion Ensuring fromStringApi[F] to Ensuring[StringApi[F]]

Inherited by implicit conversion ArrowAssoc fromStringApi[F] to ArrowAssoc[StringApi[F]]

Ungrouped