final case class RawCommand(value: String) extends AnyVal with Product with Serializable
A raw Redis command name for use in ACL SETUSER rules (e.g. RawCommand("get")).
The set of Redis commands is open (modules and new versions add commands), so it is modelled as an explicit string rather than a closed enum. Names unknown to the driver surface as AclError.UnknownCommand when the rule is applied, rather than throwing.
- Source
- effects.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- RawCommand
- Serializable
- Product
- Equals
- AnyVal
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new RawCommand(value: String)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- def +(other: String): String
- Implicit
- This member is added by an implicit conversion from RawCommand toany2stringadd[RawCommand] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- def ->[B](y: B): (RawCommand, B)
- Implicit
- This member is added by an implicit conversion from RawCommand toArrowAssoc[RawCommand] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def ensuring(cond: (RawCommand) => Boolean, msg: => Any): RawCommand
- Implicit
- This member is added by an implicit conversion from RawCommand toEnsuring[RawCommand] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (RawCommand) => Boolean): RawCommand
- Implicit
- This member is added by an implicit conversion from RawCommand toEnsuring[RawCommand] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): RawCommand
- Implicit
- This member is added by an implicit conversion from RawCommand toEnsuring[RawCommand] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): RawCommand
- Implicit
- This member is added by an implicit conversion from RawCommand toEnsuring[RawCommand] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val value: String
Deprecated Value Members
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from RawCommand toStringFormat[RawCommand] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)instead ofvalue.formatted(formatString), or use thef""string interpolator. In Java 15 and later,formattedresolves to the new method in String which has reversed parameters.
- def →[B](y: B): (RawCommand, B)
- Implicit
- This member is added by an implicit conversion from RawCommand toArrowAssoc[RawCommand] 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.
This is the API documentation for the Redis4Cats library.