trait StringCommands[F[_], K, V] extends Getter[F, K, V] with Setter[F, K, V] with MultiKey[F, K, V] with Decrement[F, K, V] with Increment[F, K, V] with Unsafe[F, K, V]
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- StringCommands
- Unsafe
- Increment
- Decrement
- MultiKey
- Setter
- Getter
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Abstract Value Members
-
abstract
def
append(key: K, value: V): F[Unit]
- Definition Classes
- Setter
-
abstract
def
decr(key: K): F[Long]
- Definition Classes
- Decrement
-
abstract
def
decrBy(key: K, amount: Long): F[Long]
- Definition Classes
- Decrement
-
abstract
def
get(key: K): F[Option[V]]
- Definition Classes
- Getter
-
abstract
def
getEx(key: K, getExArg: GetExArg): F[Option[V]]
- Definition Classes
- Getter
-
abstract
def
getRange(key: K, start: Long, end: Long): F[Option[V]]
- Definition Classes
- Getter
-
abstract
def
getSet(key: K, value: V): F[Option[V]]
- Definition Classes
- Setter
-
abstract
def
incr(key: K): F[Long]
- Definition Classes
- Increment
-
abstract
def
incrBy(key: K, amount: Long): F[Long]
- Definition Classes
- Increment
-
abstract
def
incrByFloat(key: K, amount: Double): F[Double]
- Definition Classes
- Increment
-
abstract
def
mGet(keys: Set[K]): F[Map[K, V]]
- Definition Classes
- MultiKey
-
abstract
def
mSet(keyValues: Map[K, V]): F[Unit]
- Definition Classes
- MultiKey
-
abstract
def
mSetNx(keyValues: Map[K, V]): F[Boolean]
- Definition Classes
- MultiKey
-
abstract
def
set(key: K, value: V, setArgs: SetArgs): F[Boolean]
- Definition Classes
- Setter
-
abstract
def
set(key: K, value: V): F[Unit]
- Definition Classes
- Setter
-
abstract
def
setEx(key: K, value: V, expiresIn: FiniteDuration): F[Unit]
- Definition Classes
- Setter
-
abstract
def
setNx(key: K, value: V): F[Boolean]
- Definition Classes
- Setter
-
abstract
def
setRange(key: K, value: V, offset: Long): F[Unit]
- Definition Classes
- Setter
-
abstract
def
strLen(key: K): F[Option[Long]]
- Definition Classes
- Getter
-
abstract
def
unsafe[A](f: (RedisClusterAsyncCommands[K, V]) ⇒ RedisFuture[A]): F[A]
USE WITH CAUTION! It gives you access to the underlying Java API.
USE WITH CAUTION! It gives you access to the underlying Java API.
Useful whenever Redis4cats does not yet support the operation you're looking for.
- Definition Classes
- Unsafe
-
abstract
def
unsafeSync[A](f: (RedisClusterAsyncCommands[K, V]) ⇒ A): F[A]
USE WITH CAUTION! It gives you access to the underlying Java API.
USE WITH CAUTION! It gives you access to the underlying Java API.
Useful whenever Redis4cats does not yet support the operation you're looking for.
- Definition Classes
- Unsafe
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 StringCommands[F, K, V] to any2stringadd[StringCommands[F, K, V]] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (StringCommands[F, K, V], B)
- Implicit
- This member is added by an implicit conversion from StringCommands[F, K, V] to ArrowAssoc[StringCommands[F, K, V]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
-
def
ensuring(cond: (StringCommands[F, K, V]) ⇒ Boolean, msg: ⇒ Any): StringCommands[F, K, V]
- Implicit
- This member is added by an implicit conversion from StringCommands[F, K, V] to Ensuring[StringCommands[F, K, V]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (StringCommands[F, K, V]) ⇒ Boolean): StringCommands[F, K, V]
- Implicit
- This member is added by an implicit conversion from StringCommands[F, K, V] to Ensuring[StringCommands[F, K, V]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): StringCommands[F, K, V]
- Implicit
- This member is added by an implicit conversion from StringCommands[F, K, V] to Ensuring[StringCommands[F, K, V]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): StringCommands[F, K, V]
- Implicit
- This member is added by an implicit conversion from StringCommands[F, K, V] to Ensuring[StringCommands[F, K, V]] 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
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
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( ... )
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
→[B](y: B): (StringCommands[F, K, V], B)
- Implicit
- This member is added by an implicit conversion from StringCommands[F, K, V] to ArrowAssoc[StringCommands[F, K, V]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from StringCommands[F, K, V] to StringFormat[StringCommands[F, K, V]] 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.