public interface AsyncDatasetReader<K extends java.lang.Comparable<K>>
DatasetReader
.Modifier and Type | Method and Description |
---|---|
Operation<java.util.Optional<Record<K>>> |
get(K key)
An asynchronous equivalent to
DatasetReader.get(Comparable) . |
AsyncReadRecordAccessor<K> |
on(K key)
Equivalent to
DatasetReader.on(Comparable) , but returns an AsyncReadRecordAccessor
rather than a ReadRecordAccessor. |
AsyncRecordStream<K> |
records()
Returns an
AsyncStream of the records in this dataset. |
Operation<java.util.Optional<Record<K>>> get(K key)
DatasetReader.get(Comparable)
.key
- key for the recordAsyncReadRecordAccessor<K> on(K key)
DatasetReader.on(Comparable)
, but returns an AsyncReadRecordAccessor
rather than a ReadRecordAccessor.key
- key of the recordAsyncRecordStream<K> records()
AsyncStream
of the records in this dataset.