ray.data.random_access_dataset.RandomAccessDataset#
- class ray.data.random_access_dataset.RandomAccessDataset(ds: Dataset, key: str, num_workers: int)[source]#
A class that provides distributed, random access to a Dataset.
See:
Dataset.to_random_access_dataset()
.PublicAPI (alpha): This API is in alpha and may change before becoming stable.
Methods
Construct a RandomAccessDataset (internal API).
Asynchronously finds the record for a single key.
Synchronously find the records for a list of keys.
Returns a string containing access timing information.