class_docstr: A class that provides distributed, random access to a Dataset.
  
  See: ``Dataset.to_random_access_dataset()``.
class_docstr_tok: ["A","class","that","provides","distributed",",","random","access","to","a","Dataset",".","See",":","``","Dataset.to_random_access_dataset","(",")","``","."]
docstr: Synchronously find the records for a list of keys.
  
  Args:
      keys: List of keys to find the records for.
  
  Returns:
      List of found records (in pydict form), or None for missing records.
docstr_tok: ["Synchronously","find","the","records","for","a","list","of","keys",".","Args",":","keys",":","List","of","keys","to","find","the","records","for",".","Returns",":","List","of","found","records","(","in","pydict","form",")",",","or","None","for","missing","records","."]
code: def multiget(self, keys: List[Any]) -> List[Optional[Any]]:
      """Synchronously find the records for a list of keys.
  
      Args:
          keys: List of keys to find the records for.
  
      Returns:
          List of found records (in pydict form), or None for missing records.
      """
      batches = defaultdict(list)
      for k in keys:
          batches[self._find_le(k)].append(k)
      futures = {}
      for index, keybatch in batches.items():
          if index is None:
              continue
          fut = self._worker_for(index).multiget.remote(
              [index] * len(keybatch), keybatch
          )
          futures[index] = fut
      results = {}
      for i, fut in futures.items():
          keybatch = batches[i]
          values = ray.get(fut)
          for k, v in zip(keybatch, values):
              results[k] = v
      return [results.get(k) for k in keys]
  
imports: import bisect
  import logging
  import random
  import time
  from collections import defaultdict
  from typing import TYPE_CHECKING, Any, List, Optional
  import numpy
  import ray
  from ray.data._internal.remote_fn import cached_remote_fn
  from ray.data.block import BlockAccessor
  from ray.data.context import DataContext
  from ray.types import ObjectRef
  from ray.util.annotations import PublicAPI
label_desc: Use image node_id 4 for calling the RandomAccessDataset obj's underlying member method code with example usage: obj.multiget(keys) and returns: unknown