Class HashScanBlockingCursorImpl<K,V>

java.lang.Object
io.quarkus.redis.runtime.datasource.HashScanBlockingCursorImpl<K,V>
All Implemented Interfaces:
Cursor<Map<K,V>>, HashScanCursor<K,V>

public class HashScanBlockingCursorImpl<K,V> extends Object implements HashScanCursor<K,V>
  • Constructor Details

  • Method Details

    • hasNext

      public boolean hasNext()
      Specified by:
      hasNext in interface Cursor<K>
    • next

      public Map<K,V> next()
      Specified by:
      next in interface Cursor<K>
    • toIterable

      public Iterable<Map.Entry<K,V>> toIterable()
      Description copied from interface: HashScanCursor
      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.
      Specified by:
      toIterable in interface HashScanCursor<K,V>
      Returns:
      the iterable
    • cursorId

      public long cursorId()
      Specified by:
      cursorId in interface Cursor<K>