B - Type of each batch replyD - Type of each datapublic abstract class JedisCommandIterationBase<B,D> extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
JedisCommandIterationBase(ConnectionProvider connectionProvider,
Builder<B> responseBuilder) |
| Modifier and Type | Method and Description |
|---|---|
Collection<D> |
collect(Collection<D> c) |
protected abstract Collection<D> |
convertBatchToData(B batch) |
protected abstract CommandArguments |
initCommandArguments() |
boolean |
isIterationCompleted() |
protected abstract boolean |
isNodeCompleted(B reply) |
B |
nextBatch() |
Collection<D> |
nextBatchList() |
protected abstract CommandArguments |
nextCommandArguments(B lastReply) |
protected JedisCommandIterationBase(ConnectionProvider connectionProvider, Builder<B> responseBuilder)
public final boolean isIterationCompleted()
protected abstract boolean isNodeCompleted(B reply)
protected abstract CommandArguments initCommandArguments()
protected abstract CommandArguments nextCommandArguments(B lastReply)
public final B nextBatch()
protected abstract Collection<D> convertBatchToData(B batch)
public final Collection<D> nextBatchList()
public final Collection<D> collect(Collection<D> c)
Copyright © 2024. All rights reserved.