|
|
|
|
@@ -0,0 +1,180 @@
|
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
<appendix xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="appendix-command-reference" xmlns:xi="http://www.w3.org/2001/XInclude">
|
|
|
|
|
<title>Spring Data Redis Supported Commands</title>
|
|
|
|
|
|
|
|
|
|
<table>
|
|
|
|
|
<title>Redis commands supported by <classname>RedisTemplate</classname>.</title>
|
|
|
|
|
<tgroup cols="2">
|
|
|
|
|
<colspec colwidth="2*"/>
|
|
|
|
|
<colspec colwidth="1*"/>
|
|
|
|
|
<thead>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>Command</entry>
|
|
|
|
|
<entry>Template Support</entry>
|
|
|
|
|
</row>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<row><entry><code>APPEND</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>AUTH</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>BGREWRITEAOF</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>BGSAVE</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>BITCOUNT</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>BITOP</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>BLPOP</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>BRPOP</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>BRPOPLPUSH</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>CLIENT GETNAME</code></entry><entry>-</entry></row>
|
|
|
|
|
<row><entry><code>CLIENT KILL</code></entry><entry>-</entry></row>
|
|
|
|
|
<row><entry><code>CLIENT LIST</code></entry><entry>-</entry></row>
|
|
|
|
|
<row><entry><code>CLIENT SETNAME</code></entry><entry>-</entry></row>
|
|
|
|
|
<row><entry><code>CONFIG GET</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>CONFIG RESETSTAT</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>CONFIG REWRITE</code></entry><entry>-</entry></row>
|
|
|
|
|
<row><entry><code>CONFIG SET</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>DBSIZE</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>DEBUG OBJECT</code></entry><entry>-</entry></row>
|
|
|
|
|
<row><entry><code>DEBUG SEGFAULT</code></entry><entry>-</entry></row>
|
|
|
|
|
<row><entry><code>DECR</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>DECRBY</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>DEL</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>DISCARD</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>DUMP</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>ECHO</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>EVAL</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>EVALSHA</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>EXEC</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>EXISTS</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>EXPIRE</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>EXPIREAT</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>FLUSHALL</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>FLUSHDB</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>GET</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>GETBIT</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>GETRANGE</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>GETSET</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>HDEL</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>HEXISTS</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>HGET</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>HGETALL</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>HINCRBY</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>HINCRBYFLOAT</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>HKEYS</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>HLEN</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>HMGET</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>HMSET</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>HSCAN</code></entry><entry>-</entry></row>
|
|
|
|
|
<row><entry><code>HSET</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>HSETNX</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>HVALS</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>INCR</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>INCRBY</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>INCRBYFLOAT</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>INFO</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>KEYS</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>LASTSAVE</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>LINDEX</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>LINSERT</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>LLEN</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>LPOP</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>LPUSH</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>LPUSHX</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>LRANGE</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>LREM</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>LSET</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>LTRIM</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>MGET</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>MIGRATE</code></entry><entry>-</entry></row>
|
|
|
|
|
<row><entry><code>MONITOR</code></entry><entry>-</entry></row>
|
|
|
|
|
<row><entry><code>MOVE</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>MSET</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>MSETNX</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>MULTI</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>OBJECT</code></entry><entry>-</entry></row>
|
|
|
|
|
<row><entry><code>PERSIST</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>PEXIPRE</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>PEXPIREAT</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>PING</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>PSETEX</code></entry><entry>-</entry></row>
|
|
|
|
|
<row><entry><code>PSUBSCRIBE</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>PTTL</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>PUBLISH</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>PUBSUB</code></entry><entry>-</entry></row>
|
|
|
|
|
<row><entry><code>PUBSUBSCRIBE</code></entry><entry>-</entry></row>
|
|
|
|
|
<row><entry><code>QUIT</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>RANDOMKEY</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>RENAME</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>RENAMENX</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>RESTORE</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>RPOP</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>RPOPLPUSH</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>RPUSH</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>RPUSHX</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>SADD</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>SAVE</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>SCAN</code></entry><entry>-</entry></row>
|
|
|
|
|
<row><entry><code>SCARD</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>SCRIPT EXITS</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>SCRIPT FLUSH</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>SCRIPT KILL</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>SCRIPT LOAD</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>SDIFF</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>SDIFFSTORE</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>SELECT</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>SENTINEL FAILOVER</code></entry><entry>-</entry></row>
|
|
|
|
|
<row><entry><code>SENTINEL GET-MASTER-ADD-BY-NAME</code></entry><entry>-</entry></row>
|
|
|
|
|
<row><entry><code>SENTINEL MASTER</code></entry><entry>-</entry></row>
|
|
|
|
|
<row><entry><code>SENTINEL MASTERS</code></entry><entry>-</entry></row>
|
|
|
|
|
<row><entry><code>SENTINEL MONITOR</code></entry><entry>-</entry></row>
|
|
|
|
|
<row><entry><code>SENTINEL REMOVE</code></entry><entry>-</entry></row>
|
|
|
|
|
<row><entry><code>SENTINEL RESET</code></entry><entry>-</entry></row>
|
|
|
|
|
<row><entry><code>SENTINEL SET</code></entry><entry>-</entry></row>
|
|
|
|
|
<row><entry><code>SENTINEL SLAVES</code></entry><entry>-</entry></row>
|
|
|
|
|
<row><entry><code>SET</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>SETBIT</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>SETEX</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>SETNX</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>SETRANGE</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>SHUTDOWN</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>SINTER</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>SINTERSTORE</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>SISMEMBER</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>SLAVEOF</code></entry><entry>-</entry></row>
|
|
|
|
|
<row><entry><code>SLOWLOG</code></entry><entry>-</entry></row>
|
|
|
|
|
<row><entry><code>SMEMBERS</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>SMOVE</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>SORT</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>SPOP</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>SRANDMEMBER</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>SREM</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>SSCAN</code></entry><entry>-</entry></row>
|
|
|
|
|
<row><entry><code>STRLEN</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>SUBSCRIBE</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>SUNION</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>SUNIONSTORE</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>SYNC</code></entry><entry>-</entry></row>
|
|
|
|
|
<row><entry><code>TIME</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>TTL</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>TYPE</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>UNSUBSCRIBE</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>UNWATCH</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>WATCH</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>ZADD</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>ZCARD</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>ZCOUNT</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>ZINCRBY</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>ZINTERSTORE</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>ZRANGE</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>ZRANGEBYSCORE</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>ZRANK</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>ZREM</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>ZREMRANGEBYRANK</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>ZREVRANGE</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>ZREVRANGEBYSCORE</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>ZREVRANK</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>ZSCAN</code></entry><entry>-</entry></row>
|
|
|
|
|
<row><entry><code>ZSCORE</code></entry><entry>X</entry></row>
|
|
|
|
|
<row><entry><code>ZUNINONSTORE</code></entry><entry>X</entry></row>
|
|
|
|
|
</tbody>
|
|
|
|
|
</tgroup>
|
|
|
|
|
</table>
|
|
|
|
|
</appendix>
|