Interface RedisScanCommands
- All Known Implementing Classes:
RedisConnection
- Author:
- Matthew Tropiano
-
Method Details
-
scan
From http://redis.io/commands/scan:
Available since 2.8.0.
Time complexity: O(1) for every call. O(N) for a complete iteration, including enough command calls for the cursor to return back to 0. N is the number of elements inside the collection..
Incrementally iterates over a collection of elements.
- Parameters:
cursor- the cursor value.- Returns:
- a RedisCursor that represents the result of a SCAN call.
-
scan
From http://redis.io/commands/scan:
Available since 2.8.0.
Time complexity: O(1) for every call. O(N) for a complete iteration, including enough command calls for the cursor to return back to 0. N is the number of elements inside the collection..
Incrementally iterates over a collection of elements.
- Parameters:
cursor- the cursor value.pattern- if not null, return keys that fit a pattern.- Returns:
- a RedisCursor that represents the result of a SCAN call.
-
scan
From http://redis.io/commands/scan:
Available since 2.8.0.
Time complexity: O(1) for every call. O(N) for a complete iteration, including enough command calls for the cursor to return back to 0. N is the number of elements inside the collection..
Incrementally iterates over a collection of elements.
- Parameters:
cursor- the cursor value.count- if not null, cap the iterable keys at a limit.- Returns:
- a RedisCursor that represents the result of a SCAN call.
-
scan
From http://redis.io/commands/scan:
Available since 2.8.0.
Time complexity: O(1) for every call. O(N) for a complete iteration, including enough command calls for the cursor to return back to 0. N is the number of elements inside the collection..
Incrementally iterates over a collection of elements.
- Parameters:
cursor- the cursor value.pattern- if not null, return keys that fit a pattern.count- if not null, cap the iterable keys at a limit.- Returns:
- a RedisCursor that represents the result of a SCAN call.
-
hscan
From http://redis.io/commands/sscan:
Available since 2.8.0.
Time complexity: O(1) for every call. O(N) for a complete iteration, including enough command calls for the cursor to return back to 0. N is the number of elements inside the collection..
- Parameters:
key- the key of the hash to scan.cursor- the cursor value.- Returns:
- a RedisCursor that represents the result of a SCAN call.
-
hscan
From http://redis.io/commands/sscan:
Available since 2.8.0.
Time complexity: O(1) for every call. O(N) for a complete iteration, including enough command calls for the cursor to return back to 0. N is the number of elements inside the collection..
- Parameters:
key- the key of the hash to scan.cursor- the cursor value.pattern- if not null, return keys that fit a pattern.- Returns:
- a RedisCursor that represents the result of a SCAN call.
-
hscan
From http://redis.io/commands/sscan:
Available since 2.8.0.
Time complexity: O(1) for every call. O(N) for a complete iteration, including enough command calls for the cursor to return back to 0. N is the number of elements inside the collection..
- Parameters:
key- the key of the hash to scan.cursor- the cursor value.count- if not null, cap the iterable keys at a limit.- Returns:
- a RedisCursor that represents the result of a SCAN call.
-
hscan
From http://redis.io/commands/hscan:
Available since 2.8.0.
Time complexity: O(1) for every call. O(N) for a complete iteration, including enough command calls for the cursor to return back to 0. N is the number of elements inside the collection..
- Parameters:
key- the key of the hash to scan.cursor- the cursor value.pattern- if not null, return keys that fit a pattern.count- if not null, cap the iterable keys at a limit.- Returns:
- a RedisCursor that represents the result of a SCAN call.
-
sscan
From http://redis.io/commands/hscan:
Available since 2.8.0.
Time complexity: O(1) for every call. O(N) for a complete iteration, including enough command calls for the cursor to return back to 0. N is the number of elements inside the collection..
- Parameters:
key- the key of the set to scan.cursor- the cursor value.- Returns:
- a RedisCursor that represents the result of a SCAN call.
-
sscan
From http://redis.io/commands/hscan:
Available since 2.8.0.
Time complexity: O(1) for every call. O(N) for a complete iteration, including enough command calls for the cursor to return back to 0. N is the number of elements inside the collection..
- Parameters:
key- the key of the set to scan.cursor- the cursor value.pattern- if not null, return keys that fit a pattern.- Returns:
- a RedisCursor that represents the result of a SCAN call.
-
sscan
From http://redis.io/commands/hscan:
Available since 2.8.0.
Time complexity: O(1) for every call. O(N) for a complete iteration, including enough command calls for the cursor to return back to 0. N is the number of elements inside the collection..
- Parameters:
key- the key of the set to scan.cursor- the cursor value.count- if not null, cap the iterable keys at a limit.- Returns:
- a RedisCursor that represents the result of a SCAN call.
-
sscan
From http://redis.io/commands/sscan:
Available since 2.8.0.
Time complexity: O(1) for every call. O(N) for a complete iteration, including enough command calls for the cursor to return back to 0. N is the number of elements inside the collection..
- Parameters:
key- the key of the set to scan.cursor- the cursor value.pattern- if not null, return keys that fit a pattern.count- if not null, cap the iterable keys at a limit.- Returns:
- a RedisCursor that represents the result of a SCAN call.
-
zscan
From http://redis.io/commands/zscan:
Available since 2.8.0.
Time complexity: O(1) for every call. O(N) for a complete iteration, including enough command calls for the cursor to return back to 0. N is the number of elements inside the collection..
- Parameters:
key- the key of the sorted set to scan.cursor- the cursor value.- Returns:
- a RedisCursor that represents the result of a SCAN call.
-
zscan
From http://redis.io/commands/zscan:
Available since 2.8.0.
Time complexity: O(1) for every call. O(N) for a complete iteration, including enough command calls for the cursor to return back to 0. N is the number of elements inside the collection..
- Parameters:
key- the key of the sorted set to scan.cursor- the cursor value.pattern- if not null, return keys that fit a pattern.- Returns:
- a RedisCursor that represents the result of a SCAN call.
-
zscan
From http://redis.io/commands/zscan:
Available since 2.8.0.
Time complexity: O(1) for every call. O(N) for a complete iteration, including enough command calls for the cursor to return back to 0. N is the number of elements inside the collection..
- Parameters:
key- the key of the sorted set to scan.cursor- the cursor value.count- if not null, cap the iterable keys at a limit.- Returns:
- a RedisCursor that represents the result of a SCAN call.
-
zscan
From http://redis.io/commands/zscan:
Available since 2.8.0.
Time complexity: O(1) for every call. O(N) for a complete iteration, including enough command calls for the cursor to return back to 0. N is the number of elements inside the collection..
- Parameters:
key- the key of the sorted set to scan.cursor- the cursor value.pattern- if not null, return keys that fit a pattern.count- if not null, cap the iterable keys at a limit.- Returns:
- a RedisCursor that represents the result of a SCAN call.
-