class_docstr: Abstract class for executors, which implement physical operator execution.
  
  Subclasses:
      StreamingExecutor
docstr: Create the executor.
docstr_tok: ["Create","the","executor","."]
code: def __init__(self, options: ExecutionOptions):
      """Create the executor."""
      options.validate()
      self._options = options
  
file_path: ray/python/ray/data/_internal/execution/interfaces/executor.py
imports: from typing import Iterable, Iterator, Optional
  from .execution_options import ExecutionOptions
  from .physical_operator import PhysicalOperator
  from .ref_bundle import RefBundle
  from ray.data._internal.stats import DatasetStats
label_desc: Use image node_id 1 to create a new Executor object  with example: obj = Executor(options)