C
- Redis Client JedisRedisClient
public abstract class AbstractKeyOperations<C extends JedisRedisClient> extends AbstractJedisRedisOperations<C> implements KeyOperations
KeyCommands.RestoreArgument, KeyCommands.SortArgument
JedisRedisOperations.AbstractJedisCommand<C extends JedisRedisClient,R>, JedisRedisOperations.JedisClusterCommand<R>, JedisRedisOperations.JedisCommand<R>, JedisRedisOperations.JedisSentinelCommand<R>
client
logger
构造器和说明 |
---|
AbstractKeyOperations(C client) |
限定符和类型 | 方法和说明 |
---|---|
ScanResult<List<String>> |
scan(long cursor)
迭代当前数据库中的数据库键
详情说明http://redisdoc.com/database/scan.html
|
ScanResult<List<byte[]>> |
scan(long cursor,
byte[] pattern)
迭代当前数据库中的数据库键
详情说明 http://redisdoc.com/database/scan.html
|
ScanResult<List<byte[]>> |
scan(long cursor,
byte[] pattern,
long count)
迭代当前数据库中的数据库键
详情说明 http://redisdoc.com/database/scan.html
|
ScanResult<List<String>> |
scan(long cursor,
long count)
迭代当前数据库中的数据库键
详情说明 http://redisdoc.com/database/scan.html
|
ScanResult<List<String>> |
scan(long cursor,
String pattern)
迭代当前数据库中的数据库键
详情说明 http://redisdoc.com/database/scan.html
|
ScanResult<List<String>> |
scan(long cursor,
String pattern,
long count)
迭代当前数据库中的数据库键
详情说明 http://redisdoc.com/database/scan.html
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
copy, copy, copy, copy, copy, copy, copy, copy, del, del, dump, dump, exists, exists, exists, exists, expire, expire, expire, expire, expireAt, expireAt, keys, keys, migrate, migrate, migrate, migrate, migrate, migrate, migrate, migrate, migrate, migrate, migrate, migrate, move, move, objectEncoding, objectEncoding, objectFreq, objectFreq, objectIdleTime, objectIdleTime, objectRefcount, objectRefcount, persist, persist, pExpire, pExpire, pExpireAt, pExpireAt, pTtl, pTtl, randomKey, rename, rename, renameNx, renameNx, restore, restore, restore, restore, scan, scan, scan, scan, scan, scan, scan, scan, sort, sort, sort, sort, sort, sort, sort, sort, touch, touch, ttl, ttl, type, type, unlink, unlink, wait
public AbstractKeyOperations(C client)
public ScanResult<List<String>> scan(long cursor)
KeyCommands
scan
在接口中 KeyCommands
cursor
- 游标public ScanResult<List<String>> scan(long cursor, String pattern)
KeyCommands
scan
在接口中 KeyCommands
cursor
- 游标pattern
- glob 风格的模式参数public ScanResult<List<byte[]>> scan(long cursor, byte[] pattern)
KeyCommands
scan
在接口中 KeyCommands
cursor
- 游标pattern
- glob 风格的模式参数public ScanResult<List<String>> scan(long cursor, long count)
KeyCommands
scan
在接口中 KeyCommands
cursor
- 游标count
- 返回元素数量public ScanResult<List<String>> scan(long cursor, String pattern, long count)
KeyCommands
scan
在接口中 KeyCommands
cursor
- 游标pattern
- glob 风格的模式参数count
- 返回元素数量public ScanResult<List<byte[]>> scan(long cursor, byte[] pattern, long count)
KeyCommands
scan
在接口中 KeyCommands
cursor
- 游标pattern
- glob 风格的模式参数count
- 返回元素数量Copyright © 2022 buession.com Inc.. All rights reserved.