Class KeyBoundCursor<T>

java.lang.Object
org.springframework.data.redis.core.ScanCursor<T>
org.springframework.data.redis.core.KeyBoundCursor<T>
Type Parameters:
T -
All Implemented Interfaces:
Closeable, AutoCloseable, Iterator<T>, Cursor<T>, CloseableIterator<T>

public abstract class KeyBoundCursor<T> extends ScanCursor<T>
Since:
1.4
Author:
Christoph Strobl
  • Constructor Details

  • Method Details

    • doScan

      protected ScanIteration<T> doScan(long cursorId, ScanOptions options)
      Description copied from class: ScanCursor
      Performs the actual scan command using the native client implementation. The given options are never null.
      Specified by:
      doScan in class ScanCursor<T>
      Returns:
    • doScan

      protected abstract ScanIteration<T> doScan(byte[] key, long cursorId, ScanOptions options)
    • getKey

      public byte[] getKey()