package protocol
- Alphabetic
- Public
- Protected
Type Members
- case class AddSlots(slots: Seq[Int]) extends Cluster with Product with Serializable
- sealed abstract class Aggregate extends Command with CommandArgument
- case class Append(key: Buf, value: Buf) extends Command with StrictKeyCommand with StrictValueCommand with Product with Serializable
- case class Auth(code: Buf) extends Command with Product with Serializable
- case class BitCount(key: Buf, start: Option[Int] = None, end: Option[Int] = None) extends Command with StrictKeyCommand with Product with Serializable
- case class BitOp(op: Buf, dstKey: Buf, srcKeys: Seq[Buf]) extends Command with Product with Serializable
- case class BulkReply(message: Buf) extends MultiLineReply with Product with Serializable
- abstract class Cluster extends Command
- case class ClusterInfo() extends Cluster with Product with Serializable
- case class ClusterNode(addr: InetSocketAddress, id: Option[String], flags: Seq[String]) extends Product with Serializable
- case class ClusterSlots() extends Cluster with Product with Serializable
- abstract class Command extends AnyRef
Redis command.
Redis command.
- See also
https://redis.io/commands
- trait CommandArgument extends Command
- abstract class Config extends Command
- case class ConfigGet(param: Buf) extends Config with Product with Serializable
- case class ConfigResetStat() extends Config with Product with Serializable
- case class ConfigSet(param: Buf, value: Buf) extends Config with Product with Serializable
- case class Decr(key: Buf) extends DecrBy with Product with Serializable
- class DecrBy extends Command with StrictKeyCommand
- case class Del(keys: Seq[Buf]) extends Command with StrictKeysCommand with Product with Serializable
- case class Dump(key: Buf) extends Command with StrictKeyCommand with Product with Serializable
- case class ErrorReply(message: String) extends SingleLineReply with Product with Serializable
- case class Eval(script: Buf, keys: Seq[Buf], argv: Seq[Buf]) extends Command with ScriptCommand with KeysCommand with Product with Serializable
- case class EvalSha(sha: Buf, keys: Seq[Buf], argv: Seq[Buf]) extends Command with ScriptDigestCommand with KeysCommand with Product with Serializable
- case class Exists(key: Buf) extends Command with StrictKeyCommand with Product with Serializable
- case class Expire(key: Buf, seconds: Long) extends Command with StrictKeyCommand with Product with Serializable
- case class ExpireAt(key: Buf, timestamp: Time) extends Command with StrictKeyCommand with Product with Serializable
- case class Get(key: Buf) extends Command with StrictKeyCommand with Product with Serializable
- case class GetBit(key: Buf, offset: Int) extends Command with StrictKeyCommand with Product with Serializable
- case class GetKeysInSlot(slot: Int, count: Int) extends Cluster with Product with Serializable
- case class GetRange(key: Buf, start: Long, end: Long) extends Command with StrictKeyCommand with Product with Serializable
- case class GetSet(key: Buf, value: Buf) extends Command with StrictKeyCommand with StrictValueCommand with Product with Serializable
- case class HDel(key: Buf, fields: Seq[Buf]) extends Command with StrictKeyCommand with Product with Serializable
- case class HExists(key: Buf, field: Buf) extends Command with StrictKeyCommand with Product with Serializable
- case class HGet(key: Buf, field: Buf) extends Command with StrictKeyCommand with Product with Serializable
- case class HGetAll(key: Buf) extends Command with StrictKeyCommand with Product with Serializable
- case class HIncrBy(key: Buf, field: Buf, amount: Long) extends Command with StrictKeyCommand with Product with Serializable
- case class HKeys(key: Buf) extends Command with StrictKeyCommand with Product with Serializable
- case class HLen(key: Buf) extends Command with StrictKeyCommand with Product with Serializable
- case class HMGet(key: Buf, fields: Seq[Buf]) extends Command with StrictKeyCommand with Product with Serializable
- case class HMSet(key: Buf, fv: Map[Buf, Buf]) extends Command with StrictKeyCommand with Product with Serializable
- case class HMSetEx(key: Buf, fv: Map[Buf, Buf], milliseconds: Long) extends Command with StrictKeyCommand with Product with Serializable
- case class HMergeEx(key: Buf, fv: Map[Buf, Buf], milliseconds: Long) extends Command with StrictKeyCommand with Product with Serializable
- case class HScan(key: Buf, cursor: Long, count: Option[Long] = None, pattern: Option[Buf] = None) extends Command with Product with Serializable
- case class HSet(key: Buf, field: Buf, value: Buf) extends Command with StrictKeyCommand with Product with Serializable
- case class HSetNx(key: Buf, field: Buf, value: Buf) extends Command with StrictKeyCommand with Product with Serializable
- case class HStrlen(key: Buf, field: Buf) extends Command with StrictKeyCommand with Product with Serializable
- case class HVals(key: Buf) extends Command with StrictKeyCommand with Product with Serializable
- case class InMilliseconds(millis: Long) extends TimeToLive with Product with Serializable
- case class InSeconds(seconds: Long) extends TimeToLive with Product with Serializable
- case class Incr(key: Buf) extends IncrBy with Product with Serializable
- class IncrBy extends Command with StrictKeyCommand
- case class Info(section: Buf) extends Command with Product with Serializable
- case class IntegerReply(id: Long) extends SingleLineReply with Product with Serializable
- trait KeyCommand extends Command
- case class Keys(pattern: Buf) extends Command with Product with Serializable
- trait KeysCommand extends Command
- case class LIndex(key: Buf, index: Long) extends Command with StrictKeyCommand with Product with Serializable
- case class LInsert(key: Buf, relativePosition: String, pivot: Buf, value: Buf) extends Command with StrictKeyCommand with StrictValueCommand with Product with Serializable
- case class LLen(key: Buf) extends Command with StrictKeyCommand with Product with Serializable
- case class LPop(key: Buf) extends Command with StrictKeyCommand with Product with Serializable
- case class LPush(key: Buf, values: Seq[Buf]) extends Command with StrictKeyCommand with Product with Serializable
- case class LRange(key: Buf, start: Long, end: Long) extends Command with ListRangeCommand with Product with Serializable
- case class LRem(key: Buf, count: Long, value: Buf) extends Command with StrictKeyCommand with StrictValueCommand with Product with Serializable
- case class LReset(key: Buf, values: List[Buf], ttl: Long, trim: Long) extends Command with StrictKeyCommand with Product with Serializable
- case class LSet(key: Buf, index: Long, value: Buf) extends Command with StrictKeyCommand with StrictValueCommand with Product with Serializable
- case class LTrim(key: Buf, start: Long, end: Long) extends Command with ListRangeCommand with Product with Serializable
- case class Limit(offset: Long, count: Long) extends Command with CommandArgument with Product with Serializable
- trait ListRangeCommand extends Command with StrictKeyCommand
- case class MBulkReply(messages: List[Reply]) extends MultiLineReply with Product with Serializable
- case class MGet(keys: Seq[Buf]) extends Command with StrictKeysCommand with Product with Serializable
- case class MSet(kv: Map[Buf, Buf]) extends Command with MultiSet with Product with Serializable
- case class MSetNx(kv: Map[Buf, Buf]) extends Command with MultiSet with Product with Serializable
- case class Meet(addr: InetSocketAddress) extends Cluster with Product with Serializable
- trait MemberCommand extends Command
- case class Migrate(addr: InetSocketAddress, keys: Seq[Buf], timeout: Duration) extends Command with Product with Serializable
- case class Move(key: Buf, db: Buf) extends Command with StrictKeyCommand with Product with Serializable
- trait MoveCommand extends Command
- sealed abstract class MultiLineReply extends Reply
- trait MultiSet extends Command with KeysCommand
- case class Nodes() extends Cluster with Product with Serializable
- case class PExpire(key: Buf, milliseconds: Long) extends Command with StrictKeyCommand with Product with Serializable
- case class PExpireAt(key: Buf, timestamp: Time) extends Command with StrictKeyCommand with Product with Serializable
- case class PFAdd(key: Buf, elements: Seq[Buf]) extends Command with StrictKeyCommand with Product with Serializable
- case class PFCount(keys: Seq[Buf]) extends Command with StrictKeysCommand with Product with Serializable
- case class PFMerge(destKey: Buf, srcKeys: Seq[Buf]) extends Command with Product with Serializable
- case class PSetEx(key: Buf, millis: Long, value: Buf) extends Command with StrictKeyCommand with StrictValueCommand with Product with Serializable
- case class PSubscribe(patterns: Seq[Buf], handler: SubscribeHandler) extends SubscribeCommand with Product with Serializable
- case class PTtl(key: Buf) extends Command with StrictKeyCommand with Product with Serializable
- case class PUnsubscribe(patterns: Seq[Buf], handler: SubscribeHandler) extends SubscribeCommand with Product with Serializable
- case class Persist(key: Buf) extends Command with StrictKeyCommand with Product with Serializable
- abstract class PubSub extends Command
- case class PubSubChannels(pattern: Option[Buf]) extends PubSub with Product with Serializable
- case class PubSubNumSub(channels: Seq[Buf]) extends PubSub with Product with Serializable
- case class Publish(key: Buf, message: Buf) extends Command with StrictKeyCommand with Product with Serializable
- case class RPop(key: Buf) extends Command with StrictKeyCommand with Product with Serializable
- case class RPopLPush(source: Buf, destination: Buf) extends Command with MoveCommand with Product with Serializable
- case class RPush(key: Buf, values: List[Buf]) extends Command with StrictKeyCommand with Product with Serializable
- case class Rename(key: Buf, newkey: Buf) extends Command with StrictKeyCommand with Product with Serializable
- case class RenameNx(key: Buf, newkey: Buf) extends Command with StrictKeyCommand with Product with Serializable
- case class ReplicaOf(host: Buf, port: Buf) extends Command with Product with Serializable
- case class Replicate(nodeId: String) extends Cluster with Product with Serializable
- sealed abstract class Reply extends AnyRef
- case class SAdd(key: Buf, values: Seq[Buf]) extends Command with StrictKeyCommand with Product with Serializable
- case class SCard(key: Buf) extends Command with StrictKeyCommand with Product with Serializable
- case class SInter(keys: Seq[Buf]) extends Command with StrictKeysCommand with Product with Serializable
- case class SIsMember(key: Buf, value: Buf) extends Command with StrictKeyCommand with StrictValueCommand with Product with Serializable
- case class SMembers(key: Buf) extends Command with StrictKeyCommand with Product with Serializable
- case class SPop(key: Buf) extends Command with StrictKeyCommand with Product with Serializable
- case class SRandMember(key: Buf, count: Option[Int] = None) extends Command with StrictKeyCommand with Product with Serializable
- case class SRem(key: Buf, values: List[Buf]) extends Command with StrictKeyCommand with Product with Serializable
- case class SScan(key: Buf, cursor: Long, count: Option[Long] = None, pattern: Option[Buf] = None) extends Command with Product with Serializable
- case class Scan(cursor: Long, count: Option[Long] = None, pattern: Option[Buf] = None) extends Command with Product with Serializable
- trait ScriptCommand extends Command
- trait ScriptDigestCommand extends Command
- case class ScriptExists(digests: Seq[Buf]) extends Command with Product with Serializable
- case class ScriptLoad(script: Buf) extends Command with ScriptCommand with Product with Serializable
- case class Select(index: Int) extends Command with Product with Serializable
- abstract class Sentinel extends Command
- case class SentinelCkQuorum(arg: String) extends Sentinel with Product with Serializable
- case class SentinelFailover(arg: String) extends Sentinel with Product with Serializable
- case class SentinelGetMasterAddrByName(arg: String) extends Sentinel with Product with Serializable
- case class SentinelMaster(arg: String) extends Sentinel with Product with Serializable
- case class SentinelMonitor(arg: String, ip: String, port: Int, quorum: Int) extends Sentinel with Product with Serializable
- case class SentinelRemove(arg: String) extends Sentinel with Product with Serializable
- case class SentinelReset(pattern: String) extends Sentinel with Product with Serializable
- case class SentinelSentinels(arg: String) extends Sentinel with Product with Serializable
- case class SentinelSet(arg: String, option: String, value: String) extends Sentinel with Product with Serializable
- case class SentinelSlaves(arg: String) extends Sentinel with Product with Serializable
- case class Set(key: Buf, value: Buf, ttl: Option[TimeToLive] = None, nx: Boolean = false, xx: Boolean = false) extends Command with StrictKeyCommand with StrictValueCommand with Product with Serializable
- case class SetBit(key: Buf, offset: Int, value: Int) extends Command with StrictKeyCommand with Product with Serializable
- case class SetEx(key: Buf, seconds: Long, value: Buf) extends Command with StrictKeyCommand with StrictValueCommand with Product with Serializable
- case class SetNx(key: Buf, value: Buf) extends Command with StrictKeyCommand with StrictValueCommand with Product with Serializable
- case class SetRange(key: Buf, offset: Int, value: Buf) extends Command with StrictKeyCommand with StrictValueCommand with Product with Serializable
- case class SetSlot(command: SetSlotState, slot: Int, nodeId: Option[String]) extends Cluster with Product with Serializable
- sealed trait SetSlotState extends AnyRef
- sealed abstract class SingleLineReply extends Reply
- case class SlaveOf(host: Buf, port: Buf) extends Command with Product with Serializable
- case class Slots(start: Int, end: Int, master: ClusterNode, replicas: Seq[ClusterNode]) extends Product with Serializable
- case class StatusReply(message: String) extends SingleLineReply with Product with Serializable
- trait StrictKeyCommand extends Command with KeyCommand
- trait StrictKeysCommand extends Command with KeysCommand
- trait StrictMemberCommand extends Command with MemberCommand
- trait StrictValueCommand extends Command with ValueCommand
- case class Strlen(key: Buf) extends Command with StrictKeyCommand with Product with Serializable
- case class Subscribe(channels: Seq[Buf], handler: SubscribeHandler) extends SubscribeCommand with Product with Serializable
- abstract class SubscribeCommand extends Command
- sealed trait TimeToLive extends AnyRef
- case class TopologyAdd(key: Buf, value: Buf) extends Command with StrictKeyCommand with StrictValueCommand with Product with Serializable
- case class TopologyDelete(key: Buf) extends Command with StrictKeyCommand with Product with Serializable
- case class TopologyGet(key: Buf) extends Command with StrictKeyCommand with Product with Serializable
- case class Ttl(key: Buf) extends Command with StrictKeyCommand with Product with Serializable
- case class Type(key: Buf) extends Command with StrictKeyCommand with Product with Serializable
- case class Unsubscribe(channels: Seq[Buf], handler: SubscribeHandler) extends SubscribeCommand with Product with Serializable
- trait ValueCommand extends Command
- case class Watch(keys: Seq[Buf]) extends Command with KeysCommand with Product with Serializable
- class Weights extends Command with CommandArgument with IndexedSeq[Double]
- case class XAck(key: Buf, group: Buf, ids: Seq[Buf]) extends Command with StrictKeyCommand with Product with Serializable
- case class XAdd(key: Buf, id: Option[Buf], fv: Map[Buf, Buf]) extends Command with StrictKeyCommand with Product with Serializable
- case class XClaim(key: Buf, group: Buf, consumer: Buf, minIdleTime: Long, ids: Seq[Buf], idle: Option[XClaimMillisOrUnixTs], retryCount: Option[Long], force: Boolean, justId: Boolean) extends Command with StrictKeyCommand with Product with Serializable
- case class XClaimMillis(ms: Long) extends XClaimMillisOrUnixTs with Product with Serializable
- sealed trait XClaimMillisOrUnixTs extends AnyRef
- case class XClaimUnixTs(ts: Long) extends XClaimMillisOrUnixTs with Product with Serializable
- case class XDel(key: Buf, ids: Seq[Buf]) extends Command with StrictKeyCommand with Product with Serializable
- abstract class XGroupCommand extends Command with StrictKeyCommand
- case class XGroupCreate(key: Buf, groupName: Buf, id: Buf) extends XGroupCommand with Product with Serializable
- case class XGroupDelConsumer(key: Buf, groupName: Buf, consumerName: Buf) extends XGroupCommand with Product with Serializable
- case class XGroupDestroy(key: Buf, groupName: Buf) extends XGroupCommand with Product with Serializable
- case class XGroupSetId(key: Buf, id: Buf) extends XGroupCommand with Product with Serializable
- abstract class XInfo extends Command
- case class XInfoConsumers(key: Buf, groupname: Buf) extends XInfo with Product with Serializable
- case class XInfoGroups(key: Buf) extends XInfo with Product with Serializable
- case class XInfoStream(key: Buf) extends XInfo with Product with Serializable
- case class XLen(key: Buf) extends Command with StrictKeyCommand with Product with Serializable
- case class XPending(key: Buf, group: Buf) extends Command with StrictKeyCommand with Product with Serializable
- case class XPendingRange(key: Buf, group: Buf, start: Buf, end: Buf, count: Long, consumer: Option[Buf]) extends Command with StrictKeyCommand with Product with Serializable
- case class XRange(key: Buf, start: Buf, end: Buf, count: Option[Long]) extends XRangeCommand with Product with Serializable
- abstract class XRangeCommand extends Command with StrictKeyCommand
- case class XRead(count: Option[Long], blockMs: Option[Long], keys: Seq[Buf], ids: Seq[Buf]) extends Command with Product with Serializable
- case class XReadGroup(group: Buf, consumer: Buf, count: Option[Long], blockMs: Option[Long], keys: Seq[Buf], ids: Seq[Buf]) extends Command with Product with Serializable
- case class XRevRange(key: Buf, start: Buf, end: Buf, count: Option[Long]) extends XRangeCommand with Product with Serializable
- case class XTrim(key: Buf, size: Long, exact: Boolean) extends Command with StrictKeyCommand with Product with Serializable
- case class ZAdd(key: Buf, members: Seq[ZMember]) extends Command with StrictKeyCommand with Product with Serializable
- case class ZCard(key: Buf) extends Command with StrictKeyCommand with Product with Serializable
- case class ZCount(key: Buf, min: ZInterval, max: ZInterval) extends Command with StrictKeyCommand with Product with Serializable
- case class ZIncrBy(key: Buf, amount: Double, member: Buf) extends Command with StrictKeyCommand with StrictMemberCommand with Product with Serializable
- case class ZInterStore(destination: Buf, numkeys: Int, keys: Seq[Buf], weights: Option[Weights] = None, aggregate: Option[Aggregate] = None) extends ZStore with Product with Serializable
- case class ZInterval(value: String) extends Product with Serializable
Represents part of an interval, helpers in companion object See https://redis.io/commands/zrangebyscore for more info on different intervals
- case class ZMember(score: Double, member: Buf) extends Product with Serializable
- case class ZPopMax(key: Buf, count: Option[Long] = None) extends Command with Product with Serializable
- case class ZPopMin(key: Buf, count: Option[Long] = None) extends Command with Product with Serializable
- case class ZRange(key: Buf, start: Long, stop: Long, withScores: Option[CommandArgument] = None) extends ZRangeCmd with Product with Serializable
- case class ZRangeByScore(key: Buf, min: ZInterval, max: ZInterval, withScores: Option[CommandArgument] = None, limit: Option[Limit] = None) extends Command with ZScoredRange with Product with Serializable
- abstract class ZRangeCmd extends Command with StrictKeyCommand
- case class ZRangeResults(entries: Array[Buf], scores: Array[Double]) extends Product with Serializable
Helper Objects
- case class ZRank(key: Buf, member: Buf) extends ZRankCmd with Product with Serializable
- abstract class ZRankCmd extends Command with StrictKeyCommand with StrictMemberCommand
- case class ZRem(key: Buf, members: Seq[Buf]) extends Command with StrictKeyCommand with Product with Serializable
- case class ZRemRangeByRank(key: Buf, start: Long, stop: Long) extends Command with StrictKeyCommand with Product with Serializable
- case class ZRemRangeByScore(key: Buf, min: ZInterval, max: ZInterval) extends Command with StrictKeyCommand with Product with Serializable
- case class ZRevRange(key: Buf, start: Long, stop: Long, withScores: Option[CommandArgument] = None) extends ZRangeCmd with Product with Serializable
- case class ZRevRangeByScore(key: Buf, max: ZInterval, min: ZInterval, withScores: Option[CommandArgument] = None, limit: Option[Limit] = None) extends Command with ZScoredRange with Product with Serializable
- case class ZRevRank(key: Buf, member: Buf) extends ZRankCmd with Product with Serializable
- case class ZScan(key: Buf, cursor: Long, count: Option[Long] = None, pattern: Option[Buf] = None) extends Command with Product with Serializable
- case class ZScore(key: Buf, member: Buf) extends Command with StrictKeyCommand with StrictMemberCommand with Product with Serializable
- trait ZScoredRange extends Command with KeyCommand
- abstract class ZStore extends Command with KeysCommand
Helper Traits
- case class ZUnionStore(destination: Buf, numkeys: Int, keys: Seq[Buf], weights: Option[Weights] = None, aggregate: Option[Aggregate] = None) extends ZStore with Product with Serializable
Value Members
- object Aggregate
- object BitOp extends Serializable
- object ClusterNode extends Serializable
- object Command
- case object DBSize extends Command with Product with Serializable
- object DecrBy
- case object Discard extends Command with Product with Serializable
- case object EmptyBulkReply extends MultiLineReply with Product with Serializable
- case object EmptyMBulkReply extends MultiLineReply with Product with Serializable
- case object Exec extends Command with Product with Serializable
- case object FlushAll extends Command with Product with Serializable
- case object FlushDB extends Command with Product with Serializable
- object IncrBy
- case object Multi extends Command with Product with Serializable
- case object NilMBulkReply extends MultiLineReply with Product with Serializable
- case object NoReply extends Reply with Product with Serializable
- case object Ping extends Command with Product with Serializable
- case object PubSubNumPat extends PubSub with Product with Serializable
- case object Quit extends Command with Product with Serializable
- case object Randomkey extends Command with Product with Serializable
- object Reply
- object RequireClientProtocol extends ErrorConversion
- object RequireServerProtocol extends ErrorConversion
- object ScriptFlush extends Command
- case object SentinelFlushConfig extends Sentinel with Product with Serializable
- case object SentinelMasters extends Sentinel with Product with Serializable
- object Set extends Serializable
- object SetSlotState
- case object UnWatch extends Command with Product with Serializable
- object Watch extends Serializable
- object Weights
- case object WithScores extends Command with CommandArgument with Product with Serializable
- object XAdd extends Serializable
- case object XInfoHelp extends XInfo with Product with Serializable
- object ZInterStore extends Serializable
- object ZInterval extends Serializable
- object ZRange extends Serializable
- object ZRangeByScore extends Serializable
- object ZRangeResults extends Serializable
- object ZUnionStore extends Serializable