インターフェースの使用
org.springframework.data.redis.core.Cursor
Cursor を使用するパッケージ
パッケージ
説明
さまざまな Redis ' ドライバー '/libraries と対話するための低レベルの抽象化を提供する接続パッケージ。
Jedis ライブラリの接続パッケージ。
Lettuce の接続パッケージ Redis クライアント。
Redis を Spring の概念と統合するためのコアパッケージ。
Redis に加えて、ほとんどの
java.util
コレクションの実装を提供するパッケージ。org.springframework.data.redis.connection 内の Cursor 使用
修飾子と型メソッド説明default Cursor<Map.EntrySE<byte[],
byte[]>> DefaultedRedisConnection.hScan
(byte[] key, ScanOptions options) 使用すべきではありません。Cursor<Map.EntrySE<byte[],
byte[]>> DefaultStringRedisConnection.hScan
(byte[] key, ScanOptions options) DefaultStringRedisConnection.hScan
(StringSE key, ScanOptions options) Cursor<Map.EntrySE<byte[],
byte[]>> RedisHashCommands.hScan
(byte[] key, ScanOptions options) Cursor
を使用して、key
でハッシュ内のエントリを反復処理します。StringRedisConnection.hScan
(StringSE key, ScanOptions options) Cursor
を使用して、key
でハッシュ内のエントリを反復処理します。default Cursor<byte[]>
DefaultedRedisConnection.scan
(ScanOptions options) 使用すべきではありません。Cursor<byte[]>
DefaultStringRedisConnection.scan
(ScanOptions options) Cursor<byte[]>
RedisClusterConnection.scan
(RedisClusterNode node, ScanOptions options) Cursor
を使用して、キーを繰り返し処理します。default Cursor<byte[]>
RedisKeyCommands.scan
(KeyScanOptions options) Cursor
を使用して、キーを繰り返し処理します。Cursor<byte[]>
RedisKeyCommands.scan
(ScanOptions options) Cursor
を使用して、キーを繰り返し処理します。default Cursor<byte[]>
DefaultedRedisConnection.sScan
(byte[] key, ScanOptions options) 使用すべきではありません。Cursor<byte[]>
DefaultStringRedisConnection.sScan
(byte[] key, ScanOptions options) DefaultStringRedisConnection.sScan
(StringSE key, ScanOptions options) Cursor<byte[]>
RedisSetCommands.sScan
(byte[] key, ScanOptions options) Cursor
を使用して、key
に設定されている要素を反復処理します。StringRedisConnection.sScan
(StringSE key, ScanOptions options) Cursor
を使用して、key
に設定されている要素を反復処理します。DefaultedRedisConnection.zScan
(byte[] key, ScanOptions options) 使用すべきではありません。DefaultStringRedisConnection.zScan
(byte[] key, ScanOptions options) DefaultStringRedisConnection.zScan
(StringSE key, ScanOptions options) RedisZSetCommands.zScan
(byte[] key, ScanOptions options) Cursor
を使用して、key
でソートされたセットの要素を反復処理します。StringRedisConnection.zScan
(StringSE key, ScanOptions options) Cursor
を使用して、key
でソートされたセットの要素を反復処理します。org.springframework.data.redis.connection.jedis 内の Cursor 使用
org.springframework.data.redis.connection.lettuce 内の Cursor 使用
修飾子と型メソッド説明Cursor<byte[]>
LettuceClusterConnection.scan
(RedisClusterNode node, ScanOptions options) org.springframework.data.redis.core 内の Cursor 使用
Cursor を実装している org.springframework.data.redis.core のクラス修飾子と型クラス説明class
ConvertingCursor<S,
T> ConvertingCursor
は、指定されたカーソルをラップし、指定されたConverter
をアイテムに適用してからアイテムを返します。class
class
ScanCursor<T>
Redis クライアントに依存しないCursor
実装は、開始点zero
に到達するまで、Redis サーバーから追加の結果を継続的にロードします。Cursor を返す org.springframework.data.redis.core のメソッド修飾子と型メソッド説明BoundHashOperations.scan
(ScanOptions options) Cursor
を使用して、バインドされたキーでハッシュ内のエントリを反復処理します。BoundSetOperations.scan
(ScanOptions options) Cursor
を使用して、key
で設定されたエントリを反復処理します。BoundZSetOperations.scan
(ScanOptions options) Cursor
を使用して、バインドされたキーで zset のエントリを反復処理します。HashOperations.scan
(H key, ScanOptions options) Cursor
を使用して、key
でハッシュ内のエントリを反復処理します。RedisOperations.scan
(ScanOptions options) Cursor
を使用して、キーを繰り返し処理します。RedisTemplate.scan
(ScanOptions options) SetOperations.scan
(K key, ScanOptions options) Cursor
を使用して、key
で設定されたエントリを反復処理します。ZSetOperations.scan
(K key, ScanOptions options) Cursor
を使用して、key
でエントリ zset を反復処理します。型 Cursor のパラメーターを持つ org.springframework.data.redis.core のコンストラクターorg.springframework.data.redis.support.collections 内の Cursor 使用
修飾子と型メソッド説明Cursor<Map.EntrySE<K,
V>> DefaultRedisMap.scan()
DefaultRedisSet.scan()
DefaultRedisSet.scan
(ScanOptions options) DefaultRedisZSet.scan()
DefaultRedisZSet.scan
(ScanOptions options)
RedisCommandsProvider.hashCommands()
を推奨。