com.datastax.spark.connector.rdd.reader
Allows to efficiently iterate over a large, paged ResultSet, asynchronously prefetching the next page.
This iterator is NOT thread safe. Attempting to retrieve elements from many threads without synchronization may yield unspecified results.
result set obtained from the Java driver
a Codahale timer to optionally gather the metrics of fetching time
(Changed in version 2.8.0) collect has changed. The previous behavior can be reproduced with toSeq.
collect
toSeq
Allows to efficiently iterate over a large, paged ResultSet, asynchronously prefetching the next page.
This iterator is NOT thread safe. Attempting to retrieve elements from many threads without synchronization may yield unspecified results.