public abstract class SparkPipelineRunner extends Object
| Constructor and Description |
|---|
SparkPipelineRunner() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract SparkPairCollection<Object,Object> |
addJoinKey(StageSpec stageSpec,
String inputStageName,
SparkCollection<Object> inputCollection,
StageStatisticsCollector collector) |
protected abstract SparkCollection<RecordInfo<Object>> |
getSource(StageSpec stageSpec,
StageStatisticsCollector collector) |
protected abstract SparkCollection<Object> |
mergeJoinResults(StageSpec stageSpec,
SparkPairCollection<Object,List<JoinElement<Object>>> joinedInputs,
StageStatisticsCollector collector) |
void |
runPipeline(PipelinePhase pipelinePhase,
String sourcePluginType,
JavaSparkExecutionContext sec,
Map<String,Integer> stagePartitions,
PluginContext pluginContext,
Map<String,StageStatisticsCollector> collectors) |
protected abstract SparkCollection<RecordInfo<Object>> getSource(StageSpec stageSpec, StageStatisticsCollector collector) throws Exception
Exceptionprotected abstract SparkPairCollection<Object,Object> addJoinKey(StageSpec stageSpec, String inputStageName, SparkCollection<Object> inputCollection, StageStatisticsCollector collector) throws Exception
Exceptionprotected abstract SparkCollection<Object> mergeJoinResults(StageSpec stageSpec, SparkPairCollection<Object,List<JoinElement<Object>>> joinedInputs, StageStatisticsCollector collector) throws Exception
Exceptionpublic void runPipeline(PipelinePhase pipelinePhase, String sourcePluginType, JavaSparkExecutionContext sec, Map<String,Integer> stagePartitions, PluginContext pluginContext, Map<String,StageStatisticsCollector> collectors) throws Exception
ExceptionCopyright © 2018 Cask Data, Inc. Licensed under the Apache License, Version 2.0.