StringCommands

dev.profunktor.redis4cats.algebra.StringCommands
trait StringCommands[F[_], K, V] extends Getter[F, K, V], Setter[F, K, V], MultiKey[F, K, V], Decrement[F, K, V], Increment[F, K, V], Unsafe[F, K, V]

Attributes

Graph
Supertypes
trait Unsafe[F, K, V]
trait Increment[F, K, V]
trait Decrement[F, K, V]
trait MultiKey[F, K, V]
trait Setter[F, K, V]
trait Getter[F, K, V]
class Object
trait Matchable
class Any
Show all
Known subtypes
trait RedisCommands[F, K, V]

Members list

Value members

Inherited and Abstract methods

def append(key: K, value: V): F[Unit]

Attributes

Inherited from:
Setter
def decr(key: K): F[Long]

Attributes

Inherited from:
Decrement
def decrBy(key: K, amount: Long): F[Long]

Attributes

Inherited from:
Decrement
def get(key: K): F[Option[V]]

Attributes

Inherited from:
Getter
def getEx(key: K, getExArg: GetExArg): F[Option[V]]

Attributes

Inherited from:
Getter
def getRange(key: K, start: Long, end: Long): F[Option[V]]

Attributes

Inherited from:
Getter
def getSet(key: K, value: V): F[Option[V]]

Attributes

Inherited from:
Setter
def incr(key: K): F[Long]

Attributes

Inherited from:
Increment
def incrBy(key: K, amount: Long): F[Long]

Attributes

Inherited from:
Increment
def incrByFloat(key: K, amount: Double): F[Double]

Attributes

Inherited from:
Increment
def mGet(keys: Set[K]): F[Map[K, V]]

Attributes

Inherited from:
MultiKey
def mSet(keyValues: Map[K, V]): F[Unit]

Attributes

Inherited from:
MultiKey
def mSetNx(keyValues: Map[K, V]): F[Boolean]

Attributes

Inherited from:
MultiKey
def set(key: K, value: V, setArgs: SetArgs): F[Boolean]

Attributes

Inherited from:
Setter
def set(key: K, value: V): F[Unit]

Attributes

Inherited from:
Setter
def setEx(key: K, value: V, expiresIn: FiniteDuration): F[Unit]

Attributes

Inherited from:
Setter
def setNx(key: K, value: V): F[Boolean]

Attributes

Inherited from:
Setter
def setRange(key: K, value: V, offset: Long): F[Unit]

Attributes

Inherited from:
Setter
def strLen(key: K): F[Long]

Attributes

Inherited from:
Getter
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.

Attributes

Inherited from:
Unsafe
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.

Attributes

Inherited from:
Unsafe