Class ZScanReactiveCursorImpl<V>
java.lang.Object
io.quarkus.redis.runtime.datasource.AbstractRedisCommands
io.quarkus.redis.runtime.datasource.ZScanReactiveCursorImpl<V>
- All Implemented Interfaces:
ReactiveCursor<List<ScoredValue<V>>>,ReactiveZScanCursor<V>
public class ZScanReactiveCursorImpl<V>
extends AbstractRedisCommands
implements ReactiveZScanCursor<V>
-
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
ConstructorsConstructorDescriptionZScanReactiveCursorImpl(RedisCommandExecutor redis, K key, Marshaller marshaller, Type typeOfValue, List<String> extra) -
Method Summary
Modifier and TypeMethodDescriptionlongcursorId()booleanhasNext()io.smallrye.mutiny.Uni<List<ScoredValue<V>>>next()io.smallrye.mutiny.Multi<ScoredValue<V>>toMulti()Produces aMultiemitting each member from the sorted set individually.Methods inherited from class io.quarkus.redis.runtime.datasource.AbstractRedisCommands
execute, isMap
-
Constructor Details
-
ZScanReactiveCursorImpl
public ZScanReactiveCursorImpl(RedisCommandExecutor redis, K key, Marshaller marshaller, Type typeOfValue, List<String> extra)
-
-
Method Details
-
hasNext
public boolean hasNext()- Specified by:
hasNextin interfaceReactiveCursor<V>
-
next
- Specified by:
nextin interfaceReactiveCursor<V>
-
cursorId
public long cursorId()- Specified by:
cursorIdin interfaceReactiveCursor<V>
-
toMulti
Description copied from interface:ReactiveZScanCursorProduces aMultiemitting each member from the sorted set individually. UnlikeReactiveCursor.next()which provides the members by batch, this method returns them one by one.- Specified by:
toMultiin interfaceReactiveZScanCursor<V>- Returns:
- the multi
-