Interface HashScanCursor<K,V>

All Superinterfaces:
Cursor<Map<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

    Modifier and Type
    Method
    Description
    Returns an Iterable providing each entry from the hash individually.

    Methods inherited from interface io.quarkus.redis.datasource.Cursor

    cursorId, hasNext, next
  • Method Details

    • toIterable

      Iterable<Map.Entry<K,V>> toIterable()
      Returns an Iterable providing each entry from the hash individually. Unlike Cursor.next() which provides the entries by batch, this method returns them one by one.
      Returns:
      the iterable