com.dataartisans.flink.cascading.FlinkConnector Maven / Gradle / Ivy
/*
* Copyright 2015 data Artisans GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.dataartisans.flink.cascading;
import cascading.flow.Flow;
import cascading.flow.FlowConnector;
import cascading.flow.FlowDef;
import cascading.flow.planner.FlowPlanner;
import cascading.flow.planner.rule.RuleRegistry;
import cascading.flow.planner.rule.RuleRegistrySet;
import cascading.flow.planner.rule.assertion.BufferAfterEveryAssert;
import cascading.flow.planner.rule.assertion.EveryAfterBufferAssert;
import cascading.flow.planner.rule.assertion.LoneGroupAssert;
import cascading.flow.planner.rule.assertion.MissingGroupAssert;
import cascading.flow.planner.rule.assertion.SplitBeforeEveryAssert;
import cascading.flow.planner.rule.partitioner.WholeGraphStepPartitioner;
import cascading.flow.planner.rule.transformer.ApplyAssertionLevelTransformer;
import cascading.flow.planner.rule.transformer.ApplyDebugLevelTransformer;
import cascading.flow.planner.rule.transformer.RemoveNoOpPipeTransformer;
import cascading.scheme.Scheme;
import com.dataartisans.flink.cascading.planner.rules.BoundaryAfterSplitEdgeTransformer;
import com.dataartisans.flink.cascading.planner.rules.BoundaryBeforeCoGroupTransformer;
import com.dataartisans.flink.cascading.planner.rules.BoundaryBeforeSinkTapTransformer;
import com.dataartisans.flink.cascading.planner.rules.BoundaryElementFactory;
import com.dataartisans.flink.cascading.planner.FlinkPlanner;
import com.dataartisans.flink.cascading.planner.rules.BottomUpBoundariesNodePartitioner;
import com.dataartisans.flink.cascading.planner.rules.BoundaryAfterMergeTransformer;
import com.dataartisans.flink.cascading.planner.rules.BoundaryAfterSplitNodeTransformer;
import com.dataartisans.flink.cascading.planner.rules.BoundaryBeforeGroupByTransformer;
import com.dataartisans.flink.cascading.planner.rules.BoundaryBeforeHashJoinTransformer;
import com.dataartisans.flink.cascading.planner.rules.BoundaryBeforeMergeTransformer;
import com.dataartisans.flink.cascading.planner.rules.BoundaryAfterSourceTapTransformer;
import com.dataartisans.flink.cascading.planner.rules.DoubleBoundaryRemovalTransformer;
import com.dataartisans.flink.cascading.planner.rules.TopDownSplitBoundariesNodePartitioner;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.Properties;
public class FlinkConnector extends FlowConnector {
List classPath = new ArrayList();
public FlinkConnector() {
this(new Properties());
}
public FlinkConnector(Map