public class PruneDependency<T> extends NarrowDependency<T>
Constructor and Description |
---|
PruneDependency(RDD<T> rdd,
scala.Function1<Object,Object> partitionFilterFunc) |
Modifier and Type | Method and Description |
---|---|
scala.collection.immutable.List<Object> |
getParents(int partitionId)
Get the parent partitions for a child partition.
|
Partition[] |
partitions() |
rdd
public Partition[] partitions()
public scala.collection.immutable.List<Object> getParents(int partitionId)
NarrowDependency
getParents
in class NarrowDependency<T>
partitionId
- a partition of the child RDD