public abstract class ZippedPartitionsBaseRDD<V> extends RDD<V>
Constructor and Description |
---|
ZippedPartitionsBaseRDD(SparkContext sc,
scala.collection.Seq<RDD<?>> rdds,
boolean preservesPartitioning,
scala.reflect.ClassTag<V> evidence$1) |
Modifier and Type | Method and Description |
---|---|
void |
clearDependencies()
Clears the dependencies of this RDD.
|
Partition[] |
getPartitions()
Implemented by subclasses to return the set of partitions in this RDD.
|
scala.collection.Seq<String> |
getPreferredLocations(Partition s)
Optionally overridden by subclasses to specify placement preferences.
|
scala.Option<Partitioner> |
partitioner()
Optionally overridden by subclasses to specify how they are partitioned.
|
scala.collection.Seq<RDD<?>> |
rdds() |
aggregate, cache, cartesian, checkpoint, checkpointData, coalesce, collect, collect, collectPartitions, compute, computeOrReadCheckpoint, conf, context, count, countApprox, countApproxDistinct, countApproxDistinct, countByValue, countByValueApprox, creationSite, dependencies, distinct, distinct, doCheckpoint, doubleRDDToDoubleRDDFunctions, elementClassTag, filter, filterWith, first, flatMap, flatMapWith, fold, foreach, foreachPartition, foreachWith, getCheckpointFile, getCreationSite, getNarrowAncestors, getStorageLevel, glom, groupBy, groupBy, groupBy, id, intersection, intersection, intersection, isCheckpointed, isEmpty, iterator, keyBy, map, mapPartitions, mapPartitionsWithContext, mapPartitionsWithIndex, mapPartitionsWithSplit, mapWith, markCheckpointed, max, min, name, numericRDDToDoubleRDDFunctions, partitions, persist, persist, pipe, pipe, pipe, preferredLocations, randomSplit, rddToAsyncRDDActions, rddToOrderedRDDFunctions, rddToPairRDDFunctions, rddToSequenceFileRDDFunctions, reduce, repartition, retag, retag, sample, saveAsObjectFile, saveAsTextFile, saveAsTextFile, setName, sortBy, sparkContext, subtract, subtract, subtract, take, takeOrdered, takeSample, toArray, toDebugString, toJavaRDD, toLocalIterator, top, toString, treeAggregate, treeReduce, union, unpersist, zip, zipPartitions, zipPartitions, zipPartitions, zipPartitions, zipPartitions, zipPartitions, zipWithIndex, zipWithUniqueId
initializeIfNecessary, initializeLogging, isTraceEnabled, log_, log, logDebug, logDebug, logError, logError, logInfo, logInfo, logName, logTrace, logTrace, logWarning, logWarning
public ZippedPartitionsBaseRDD(SparkContext sc, scala.collection.Seq<RDD<?>> rdds, boolean preservesPartitioning, scala.reflect.ClassTag<V> evidence$1)
public scala.collection.Seq<RDD<?>> rdds()
public scala.Option<Partitioner> partitioner()
RDD
partitioner
in class RDD<V>
public Partition[] getPartitions()
RDD
public scala.collection.Seq<String> getPreferredLocations(Partition s)
RDD
public void clearDependencies()
RDD
UnionRDD
for an example.