Skip to content

Commit

Permalink
Revert "[FLINK-17126][java] Introduce CollectionPipelineExecutor for …
Browse files Browse the repository at this point in the history
…CollectionEnvironment"

This reverts commit c983ac9.
  • Loading branch information
dawidwys committed Jun 18, 2020
1 parent eb57c49 commit 2569d1b
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 269 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,13 @@
import org.apache.flink.api.common.JobExecutionResult;
import org.apache.flink.api.common.Plan;
import org.apache.flink.api.common.operators.CollectionExecutor;
import org.apache.flink.api.java.utils.CollectionPipelineExecutor;
import org.apache.flink.configuration.DeploymentOptions;

/**
* Version of {@link ExecutionEnvironment} that allows serial, local, collection-based executions of Flink programs.
*/
@PublicEvolving
public class CollectionEnvironment extends ExecutionEnvironment {

public CollectionEnvironment() {
getConfiguration().set(DeploymentOptions.TARGET, CollectionPipelineExecutor.NAME);
getConfiguration().set(DeploymentOptions.ATTACHED, true);
}

@Override
public JobExecutionResult execute(String jobName) throws Exception {
Plan p = createProgramPlan(jobName);
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@
*/
public class CollectionTestEnvironment extends CollectionEnvironment {

public CollectionTestEnvironment() {
super();
}

private CollectionTestEnvironment lastEnv = null;

@Override
Expand Down

0 comments on commit 2569d1b

Please sign in to comment.