Package io.quarkus.redis.datasource.hash
Interface HashScanCursor<K,V>
-
- All Known Implementing Classes:
HashScanBlockingCursorImpl
public interface HashScanCursor<K,V> extends Cursor<Map<K,V>>
-
-
Field Summary
-
Fields inherited from interface io.quarkus.redis.datasource.Cursor
INITIAL_CURSOR_ID
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Iterable<Map.Entry<K,V>>
toIterable()
Returns anIterable
providing each entry from the hash individually.
-
-
-
Method Detail
-
toIterable
Iterable<Map.Entry<K,V>> toIterable()
Returns anIterable
providing each entry from the hash individually. UnlikeCursor.next()
which provides the entries by batch, this method returns them one by one.- Returns:
- the iterable
-
-