Class ScanBlockingCursorImpl<K>

java.lang.Object
io.quarkus.redis.runtime.datasource.ScanBlockingCursorImpl<K>
All Implemented Interfaces:
Cursor<Set<K>>, KeyScanCursor<K>

public class ScanBlockingCursorImpl<K> extends Object implements KeyScanCursor<K>
  • Constructor Details

  • Method Details

    • hasNext

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

      public Set<K> next()
      Specified by:
      next in interface Cursor<K>
    • cursorId

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

      public Iterable<K> toIterable()
      Description copied from interface: KeyScanCursor
      Returns an Iterable providing the keys individually. Unlike Cursor.next() which provides the keys by batch, this method returns them one by one.
      Specified by:
      toIterable in interface KeyScanCursor<K>
      Returns:
      the iterable