| Constructor and Description |
|---|
ConcurrentResultWrapper(Collection<CompletionStage<com.datastax.oss.driver.api.core.cql.AsyncResultSet>> futures) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
com.datastax.oss.driver.api.core.cql.Row |
next() |
void |
remove() |
Iterator<com.datastax.oss.driver.api.core.cql.Row> |
toBlockingIterator(com.datastax.oss.driver.api.core.cql.AsyncResultSet rs)
Converts a
AsyncResultSet to a blocking iterator. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic ConcurrentResultWrapper(Collection<CompletionStage<com.datastax.oss.driver.api.core.cql.AsyncResultSet>> futures)
public Iterator<com.datastax.oss.driver.api.core.cql.Row> toBlockingIterator(com.datastax.oss.driver.api.core.cql.AsyncResultSet rs)
AsyncResultSet to a blocking iterator.
This iterator blocks when the next page is loading - loading only one page at a time.public boolean hasNext()
public com.datastax.oss.driver.api.core.cql.Row next()
Copyright © 2023. All rights reserved.