Class DirectRunner


public class DirectRunner extends PipelineRunner<DirectRunner.DirectPipelineResult>
A PipelineRunner that executes a Pipeline within the process that constructed the Pipeline.

The DirectRunner is suitable for running a Pipeline on small scale, example, and test data, and should be used for ensuring that processing logic is correct. It also is appropriate for executing unit tests and performs additional work to ensure that behavior contained within a Pipeline does not break assumptions within the Beam model, to improve the ability to execute a Pipeline at scale on a distributed backend.