Module: Valkey::Commands

Includes:
BitmapCommands, ConnectionCommands, GenericCommands, GeoCommands, HyperLogLogCommands, ListCommands, ServerCommands, SortedSetCommands, StringCommands
Included in:
Valkey, Pipeline
Defined in:
lib/valkey/commands.rb,
lib/valkey/commands/geo_commands.rb,
lib/valkey/commands/list_commands.rb,
lib/valkey/commands/bitmap_commands.rb,
lib/valkey/commands/server_commands.rb,
lib/valkey/commands/string_commands.rb,
lib/valkey/commands/generic_commands.rb,
lib/valkey/commands/connection_commands.rb,
lib/valkey/commands/sorted_set_commands.rb,
lib/valkey/commands/hyper_log_log_commands.rb

Overview

Valkey commands module

This module includes various command modules that provide methods for interacting with a Valkey server. Each command module corresponds to a specific set of commands that can be executed against the Valkey server.

The commands are organized into groups based on their functionality, such as string operations, connection management, server information, key management, and bitmap operations.

Defined Under Namespace

Modules: BitmapCommands, ConnectionCommands, GenericCommands, GeoCommands, HyperLogLogCommands, ListCommands, ServerCommands, SortedSetCommands, StringCommands

Method Summary

Methods included from SortedSetCommands

#zadd, #zcard, #zincrby, #zrank, #zrem, #zrevrank, #zscore

Methods included from HyperLogLogCommands

#pfadd, #pfcount, #pfmerge

Methods included from GeoCommands

#geoadd, #geodist, #geohash, #geopos, #geosearch, #geosearchstore

Methods included from ListCommands

#blmove, #blmpop, #blpop, #brpop, #brpoplpush, #lindex, #linsert, #llen, #lmove, #lmpop, #lpop, #lpush, #lpushx, #lrange, #lrem, #lset, #ltrim, #rpop, #rpoplpush, #rpush, #rpushx

Methods included from BitmapCommands

#bitcount, #bitfield, #bitfield_ro, #bitop, #bitpos, #getbit, #setbit

Methods included from GenericCommands

#_scan, #copy, #del, #dump, #exists, #exists?, #expire, #expireat, #expiretime, #move, #object, #persist, #pexpire, #pexpireat, #pexpiretime, #pttl, #randomkey, #rename, #renamenx, #restore, #scan, #sort, #touch, #ttl, #type, #unlink, #wait, #waitof

Methods included from ServerCommands

#bgrewriteaof, #bgsave, #client, #config, #dbsize, #debug, #flushall, #flushdb, #info, #lastsave, #monitor, #save, #shutdown, #slaveof, #slowlog, #sync, #time

Methods included from ConnectionCommands

#auth, #echo, #ping, #quit, #select

Methods included from StringCommands

#append, #decr, #decrby, #get, #getdel, #getex, #getrange, #getset, #incr, #incrby, #incrbyfloat, #lcs, #mapped_mget, #mapped_mset, #mapped_msetnx, #mget, #mset, #msetnx, #psetex, #set, #setex, #setnx, #setrange, #strlen