t

effredis

BaseOperations

trait BaseOperations[F[+_]] extends BaseApi[F]

Self Type
BaseOperations[F] with Redis[F, _]
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BaseOperations
  2. BaseApi
  3. AnyRef
  4. 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. implicit abstract def conc: Concurrent[F]
  2. implicit abstract def ctx: ContextShift[F]

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 BaseOperations[F] toany2stringadd[BaseOperations[F]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (BaseOperations[F], B)
    Implicit
    This member is added by an implicit conversion from BaseOperations[F] toArrowAssoc[BaseOperations[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 auth(secret: Any)(implicit format: Format): F[Resp[Boolean]]

    auths with the server.

    auths with the server.

    Definition Classes
    BaseOperationsBaseApi
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  9. def dbsize: F[Resp[Option[Long]]]

    returns the size of the db.

    returns the size of the db.

    Definition Classes
    BaseOperationsBaseApi
  10. def del(key: Any, keys: Any*)(implicit format: Format): F[Resp[Option[Long]]]

    deletes the specified keys.

    deletes the specified keys.

    Definition Classes
    BaseOperationsBaseApi
  11. def echo(message: Any)(implicit format: Format): F[Resp[Option[String]]]
    Definition Classes
    BaseOperationsBaseApi
  12. def ensuring(cond: (BaseOperations[F]) => Boolean, msg: => Any): BaseOperations[F]
    Implicit
    This member is added by an implicit conversion from BaseOperations[F] toEnsuring[BaseOperations[F]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: (BaseOperations[F]) => Boolean): BaseOperations[F]
    Implicit
    This member is added by an implicit conversion from BaseOperations[F] toEnsuring[BaseOperations[F]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean, msg: => Any): BaseOperations[F]
    Implicit
    This member is added by an implicit conversion from BaseOperations[F] toEnsuring[BaseOperations[F]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean): BaseOperations[F]
    Implicit
    This member is added by an implicit conversion from BaseOperations[F] toEnsuring[BaseOperations[F]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  18. def exists(key: Any)(implicit format: Format): F[Resp[Boolean]]

    test if the specified key exists.

    test if the specified key exists.

    Definition Classes
    BaseOperationsBaseApi
  19. def expire(key: Any, ttl: Int)(implicit format: Format): F[Resp[Boolean]]

    sets the expire time (in sec.) for the specified key.

    sets the expire time (in sec.) for the specified key.

    Definition Classes
    BaseOperationsBaseApi
  20. def expireat(key: Any, timestamp: Long)(implicit format: Format): F[Resp[Boolean]]

    sets the expire time for the specified key.

    sets the expire time for the specified key.

    Definition Classes
    BaseOperationsBaseApi
  21. def flushall: F[Resp[Boolean]]

    removes data from all the DB's.

    removes data from all the DB's.

    Definition Classes
    BaseOperationsBaseApi
  22. def flushdb: F[Resp[Boolean]]

    removes all the DB data.

    removes all the DB data.

    Definition Classes
    BaseOperationsBaseApi
  23. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from BaseOperations[F] toStringFormat[BaseOperations[F]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  24. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. def getConfig(key: Any = "*")(implicit format: Format): F[Resp[Option[Map[String, Option[String]]]]]

    CONFIG GET

    CONFIG GET

    Definition Classes
    BaseOperationsBaseApi
  26. def getType(key: Any)(implicit format: Format): F[Resp[Option[String]]]

    returns the type of the value stored at key in form of a string.

    returns the type of the value stored at key in form of a string.

    Definition Classes
    BaseOperationsBaseApi
  27. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  28. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  29. def keys[A](pattern: Any = "*")(implicit format: Format, parse: Parse[A]): F[Resp[Option[List[Option[A]]]]]

    returns all the keys matching the glob-style pattern.

    returns all the keys matching the glob-style pattern.

    Definition Classes
    BaseOperationsBaseApi
  30. def move(key: Any, db: Int)(implicit format: Format): F[Resp[Boolean]]

    Move the specified key from the currently selected DB to the specified destination DB.

    Move the specified key from the currently selected DB to the specified destination DB.

    Definition Classes
    BaseOperationsBaseApi
  31. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  32. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  33. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  34. def persist(key: Any)(implicit format: Format): F[Resp[Boolean]]

    Remove the existing timeout on key, turning the key from volatile (a key with an expire set) to persistent (a key that will never expire as no timeout is associated).

    Remove the existing timeout on key, turning the key from volatile (a key with an expire set) to persistent (a key that will never expire as no timeout is associated).

    Definition Classes
    BaseOperationsBaseApi
  35. def pexpire(key: Any, ttlInMillis: Int)(implicit format: Format): F[Resp[Boolean]]

    sets the expire time (in milli sec.) for the specified key.

    sets the expire time (in milli sec.) for the specified key.

    Definition Classes
    BaseOperationsBaseApi
  36. def pexpireat(key: Any, timestampInMillis: Long)(implicit format: Format): F[Resp[Boolean]]

    sets the expire timestamp in millis for the specified key.

    sets the expire timestamp in millis for the specified key.

    Definition Classes
    BaseOperationsBaseApi
  37. def ping: F[Resp[Option[String]]]

    ping

    ping

    Definition Classes
    BaseOperationsBaseApi
  38. val pong: Option[String]
    Attributes
    protected
    Definition Classes
    BaseApi
  39. def pttl(key: Any)(implicit format: Format): F[Resp[Option[Long]]]

    returns the remaining time to live of a key that has a timeout in millis

    returns the remaining time to live of a key that has a timeout in millis

    Definition Classes
    BaseOperationsBaseApi
  40. def quit: F[Resp[Boolean]]

    exits the server.

    exits the server.

    Definition Classes
    BaseOperationsBaseApi
  41. def randomkey[A](implicit parse: Parse[A]): F[Resp[Option[A]]]

    returns a randomly selected key from the currently selected DB.

    returns a randomly selected key from the currently selected DB.

    Definition Classes
    BaseOperationsBaseApi
  42. def rename(oldkey: Any, newkey: Any)(implicit format: Format): F[Resp[Boolean]]

    atomically renames the key oldkey to newkey.

    atomically renames the key oldkey to newkey.

    Definition Classes
    BaseOperationsBaseApi
  43. def renamenx(oldkey: Any, newkey: Any)(implicit format: Format): F[Resp[Boolean]]

    rename oldkey into newkey but fails if the destination key newkey already exists.

    rename oldkey into newkey but fails if the destination key newkey already exists.

    Definition Classes
    BaseOperationsBaseApi
  44. def scan[A](cursor: Int, pattern: Any = "*", count: Int = 10)(implicit format: Format, parse: Parse[A]): F[Resp[Option[(Option[Int], Option[List[Option[A]]])]]]

    Incrementally iterate the keys space (since 2.8)

    Incrementally iterate the keys space (since 2.8)

    Definition Classes
    BaseOperationsBaseApi
  45. def select(index: Int): F[Resp[Boolean]]

    selects the DB to connect, defaults to 0 (zero).

    selects the DB to connect, defaults to 0 (zero).

    Definition Classes
    BaseOperationsBaseApi
  46. def setConfig(key: Any, value: Any)(implicit format: Format): F[Resp[Option[String]]]

    CONFIG SET

    CONFIG SET

    Definition Classes
    BaseOperationsBaseApi
  47. def sort[A](key: String, limit: Option[(Int, Int)] = None, desc: Boolean = false, alpha: Boolean = false, by: Option[String] = None, get: List[String] = Nil)(implicit format: Format, parse: Parse[A]): F[Resp[Option[List[Option[A]]]]]

    sort keys in a set, and optionally pull values for them

    sort keys in a set, and optionally pull values for them

    Definition Classes
    BaseOperationsBaseApi
  48. def sortNStore[A](key: String, limit: Option[(Int, Int)] = None, desc: Boolean = false, alpha: Boolean = false, by: Option[String] = None, get: List[String] = Nil, storeAt: String)(implicit format: Format, parse: Parse[A]): F[Resp[Option[Long]]]

    sort keys in a set, and stores result in the supplied key

    sort keys in a set, and stores result in the supplied key

    Definition Classes
    BaseOperationsBaseApi
  49. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  50. def time[A](implicit format: Format, parse: Parse[A]): F[Resp[Option[List[Option[A]]]]]

    returns the current server time as a two items lists: a Unix timestamp and the amount of microseconds already elapsed in the current second.

    returns the current server time as a two items lists: a Unix timestamp and the amount of microseconds already elapsed in the current second.

    Definition Classes
    BaseOperationsBaseApi
  51. def toString(): String
    Definition Classes
    AnyRef → Any
  52. def ttl(key: Any)(implicit format: Format): F[Resp[Option[Long]]]

    returns the remaining time to live of a key that has a timeout

    returns the remaining time to live of a key that has a timeout

    Definition Classes
    BaseOperationsBaseApi
  53. def unwatch(): F[Resp[Boolean]]

    Flushes all the previously watched keys for a transaction

    Flushes all the previously watched keys for a transaction

    Definition Classes
    BaseOperationsBaseApi
  54. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  55. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  56. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  57. def watch(key: Any, keys: Any*)(implicit format: Format): F[Resp[Boolean]]

    Marks the given keys to be watched for conditional execution of a transaction.

    Marks the given keys to be watched for conditional execution of a transaction.

    Definition Classes
    BaseOperationsBaseApi

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated
  2. def randkey[A](implicit parse: Parse[A]): F[Resp[Option[A]]]
    Annotations
    @deprecated
    Deprecated

    (Since version 2.8) use randomkey

  3. def [B](y: B): (BaseOperations[F], B)
    Implicit
    This member is added by an implicit conversion from BaseOperations[F] toArrowAssoc[BaseOperations[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 BaseApi[F]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromBaseOperations[F] to any2stringadd[BaseOperations[F]]

Inherited by implicit conversion StringFormat fromBaseOperations[F] to StringFormat[BaseOperations[F]]

Inherited by implicit conversion Ensuring fromBaseOperations[F] to Ensuring[BaseOperations[F]]

Inherited by implicit conversion ArrowAssoc fromBaseOperations[F] to ArrowAssoc[BaseOperations[F]]

Ungrouped