public class SparkPlan extends Object
Constructor and Description |
---|
SparkPlan() |
Modifier and Type | Method and Description |
---|---|
void |
addCachedRDDId(int rddId) |
void |
addTran(SparkTran tran) |
void |
connect(SparkTran parent,
SparkTran child)
Connects the two SparkTrans in the graph.
|
org.apache.spark.api.java.JavaPairRDD<HiveKey,org.apache.hadoop.io.BytesWritable> |
generateGraph() |
Set<Integer> |
getCachedRDDIds() |
List<SparkTran> |
getChildren(SparkTran tran) |
List<SparkTran> |
getParents(SparkTran tran) |
public org.apache.spark.api.java.JavaPairRDD<HiveKey,org.apache.hadoop.io.BytesWritable> generateGraph()
public void addTran(SparkTran tran)
public void addCachedRDDId(int rddId)
public void connect(SparkTran parent, SparkTran child)
parent
- child
- Copyright © 2017 The Apache Software Foundation. All rights reserved.