public interface RDDApi<T>
Modifier and Type | Method and Description |
---|---|
RDDApi<T> |
cache() |
Object |
collect() |
java.util.List<T> |
collectAsList() |
long |
count() |
DataFrame |
distinct() |
T |
first() |
<R> RDD<R> |
flatMap(scala.Function1<T,scala.collection.TraversableOnce<R>> f,
scala.reflect.ClassTag<R> evidence$2) |
void |
foreach(scala.Function1<T,scala.runtime.BoxedUnit> f) |
void |
foreachPartition(scala.Function1<scala.collection.Iterator<T>,scala.runtime.BoxedUnit> f) |
<R> RDD<R> |
map(scala.Function1<T,R> f,
scala.reflect.ClassTag<R> evidence$1) |
<R> RDD<R> |
mapPartitions(scala.Function1<scala.collection.Iterator<T>,scala.collection.Iterator<R>> f,
scala.reflect.ClassTag<R> evidence$3) |
RDDApi<T> |
persist() |
RDDApi<T> |
persist(StorageLevel newLevel) |
DataFrame |
repartition(int numPartitions) |
Object |
take(int n) |
RDDApi<T> |
unpersist() |
RDDApi<T> |
unpersist(boolean blocking) |
RDDApi<T> persist(StorageLevel newLevel)
<R> RDD<R> flatMap(scala.Function1<T,scala.collection.TraversableOnce<R>> f, scala.reflect.ClassTag<R> evidence$2)
<R> RDD<R> mapPartitions(scala.Function1<scala.collection.Iterator<T>,scala.collection.Iterator<R>> f, scala.reflect.ClassTag<R> evidence$3)
void foreach(scala.Function1<T,scala.runtime.BoxedUnit> f)
void foreachPartition(scala.Function1<scala.collection.Iterator<T>,scala.runtime.BoxedUnit> f)
Object take(int n)
Object collect()
java.util.List<T> collectAsList()
long count()
T first()
DataFrame repartition(int numPartitions)
DataFrame distinct()