Class ScanReactiveCursorImpl<K>
java.lang.Object
io.quarkus.redis.runtime.datasource.AbstractRedisCommands
io.quarkus.redis.runtime.datasource.ScanReactiveCursorImpl<K>
- All Implemented Interfaces:
ReactiveKeyScanCursor<K>,ReactiveCursor<Set<K>>
public class ScanReactiveCursorImpl<K>
extends AbstractRedisCommands
implements ReactiveKeyScanCursor<K>
-
Field Summary
Fields inherited from class io.quarkus.redis.runtime.datasource.AbstractRedisCommands
marshaller, redisFields inherited from interface io.quarkus.redis.datasource.ReactiveCursor
INITIAL_CURSOR_ID -
Constructor Summary
ConstructorsConstructorDescriptionScanReactiveCursorImpl(RedisCommandExecutor redis, Marshaller marshaller, Type typeOfKey, List<String> extra) -
Method Summary
Methods inherited from class io.quarkus.redis.runtime.datasource.AbstractRedisCommands
execute, isMap
-
Constructor Details
-
ScanReactiveCursorImpl
public ScanReactiveCursorImpl(RedisCommandExecutor redis, Marshaller marshaller, Type typeOfKey, List<String> extra)
-
-
Method Details
-
cursorId
public long cursorId()- Specified by:
cursorIdin interfaceReactiveCursor<K>
-
hasNext
public boolean hasNext()- Specified by:
hasNextin interfaceReactiveCursor<K>
-
next
- Specified by:
nextin interfaceReactiveCursor<K>
-
toMulti
Description copied from interface:ReactiveKeyScanCursorProduces aMultiemitting each key individually. UnlikeReactiveCursor.next()which provides the keys by batch, this method returns them one by one.- Specified by:
toMultiin interfaceReactiveKeyScanCursor<K>- Returns:
- the multi
-