Interface Executor

    • Method Detail

      • getConfiguration

        ReadableConfig getConfiguration()
        Gives read-only access to the configuration of the executor.
      • createPipeline

        Pipeline createPipeline​(List<Transformation<?>> transformations,
                                ReadableConfig tableConfiguration,
                                @Nullable
                                String defaultJobName)
        Translates the given transformations to a Pipeline.
        Parameters:
        transformations - list of transformations
        tableConfiguration - table-specific configuration options
        defaultJobName - default job name if not specified via PipelineOptions.NAME
        Returns:
        The pipeline representing the transformations.
      • execute

        JobExecutionResult execute​(Pipeline pipeline)
                            throws Exception
        Executes the given pipeline.
        Parameters:
        pipeline - the pipeline to execute
        Returns:
        The result of the job execution, containing elapsed time and accumulators.
        Throws:
        Exception - which occurs during job execution.
      • executeAsync

        JobClient executeAsync​(Pipeline pipeline)
                        throws Exception
        Executes the given pipeline asynchronously.
        Parameters:
        pipeline - the pipeline to execute
        Returns:
        A JobClient that can be used to communicate with the submitted job, completed on submission succeeded.
        Throws:
        Exception - which occurs during job execution.
      • isCheckpointingEnabled

        boolean isCheckpointingEnabled()
        Checks whether checkpointing is enabled.
        Returns:
        True if checkpointing is enables, false otherwise.