Class/Object

org.zouzias.spark.lucenerdd.spatial.shape

ShapeLuceneRDD

Related Docs: object ShapeLuceneRDD | package shape

Permalink

class ShapeLuceneRDD[K, V] extends RDD[(K, V)] with SparkScoreDocAggregatable with Logging

ShapeLuceneRDD for geospatial and full-text search queries

K

Type containing the geospatial information (must be implicitly convertet to Shape)

V

Type containing remaining information (must be implicitly converted to Document)

Linear Supertypes
SparkScoreDocAggregatable, LuceneRDDConfigurable, Configurable, RDD[(K, V)], Logging, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ShapeLuceneRDD
  2. SparkScoreDocAggregatable
  3. LuceneRDDConfigurable
  4. Configurable
  5. RDD
  6. Logging
  7. Serializable
  8. Serializable
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ShapeLuceneRDD(partitionsRDD: RDD[AbstractShapeLuceneRDDPartition[K, V]])(implicit arg0: ClassTag[K], arg1: ClassTag[V])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def ++(other: RDD[(K, V)]): RDD[(K, V)]

    Permalink
    Definition Classes
    RDD
  4. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  5. val DefaultFacetNum: Int

    Permalink
    Attributes
    protected
    Definition Classes
    LuceneRDDConfigurable
  6. val DefaultTopK: Int

    Permalink

    Default value for topK queries

    Default value for topK queries

    Attributes
    protected
    Definition Classes
    LuceneRDDConfigurable
  7. val MaxDefaultTopKValue: Int

    Permalink
    Attributes
    protected
    Definition Classes
    LuceneRDDConfigurable
  8. val SparkDocTopKMonoid: TopKMonoid[SparkScoreDoc]

    Permalink
    Attributes
    protected
    Definition Classes
    SparkScoreDocAggregatable
  9. def aggregate[U](zeroValue: U)(seqOp: (U, (K, V)) ⇒ U, combOp: (U, U) ⇒ U)(implicit arg0: ClassTag[U]): U

    Permalink
    Definition Classes
    RDD
  10. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  11. def bboxSearch(lowerLeft: PointType, upperRight: PointType, k: Int, operationName: String): Iterable[SparkScoreDoc]

    Permalink

    Bounding box search with rectangle

    Bounding box search with rectangle

    lowerLeft

    Lower left corner

    upperRight

    Upper right corner

    k

    Number of results

    operationName

    Intersect, contained, etc.

  12. def bboxSearch(center: PointType, radius: Double, k: Int, operationName: String = SpatialOperation.Intersects.getName): Iterable[SparkScoreDoc]

    Permalink

    Bounding box search with center and radius

    Bounding box search with center and radius

    center

    given as (x, y)

    radius

    in kilometers (KM)

  13. def cache(): ShapeLuceneRDD.this.type

    Permalink
    Definition Classes
    ShapeLuceneRDD → RDD
  14. def cartesian[U](other: RDD[U])(implicit arg0: ClassTag[U]): RDD[((K, V), U)]

    Permalink
    Definition Classes
    RDD
  15. def checkpoint(): Unit

    Permalink
    Definition Classes
    RDD
  16. def circleSearch(center: PointType, radius: Double, k: Int): Iterable[SparkScoreDoc]

    Permalink

    Search for points within a circle

    Search for points within a circle

    center

    center of circle

    radius

    radius of circle in kilometers (KM)

    k

    number of points to return

  17. def clearDependencies(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    RDD
  18. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. def close(): Unit

    Permalink
  20. def coalesce(numPartitions: Int, shuffle: Boolean)(implicit ord: Ordering[(K, V)]): RDD[(K, V)]

    Permalink
    Definition Classes
    RDD
  21. def collect[U](f: PartialFunction[(K, V), U])(implicit arg0: ClassTag[U]): RDD[U]

    Permalink
    Definition Classes
    RDD
  22. def collect(): Array[(K, V)]

    Permalink
    Definition Classes
    RDD
  23. def compute(part: Partition, context: TaskContext): Iterator[(K, V)]

    Permalink

    RDD compute method.

    RDD compute method.

    Definition Classes
    ShapeLuceneRDD → RDD
  24. val config: Config

    Permalink
    Definition Classes
    Configurable
  25. def context: SparkContext

    Permalink
    Definition Classes
    RDD
  26. def count(): Long

    Permalink
    Definition Classes
    ShapeLuceneRDD → RDD
  27. def countApprox(timeout: Long, confidence: Double): PartialResult[BoundedDouble]

    Permalink
    Definition Classes
    RDD
  28. def countApproxDistinct(relativeSD: Double): Long

    Permalink
    Definition Classes
    RDD
  29. def countApproxDistinct(p: Int, sp: Int): Long

    Permalink
    Definition Classes
    RDD
  30. def countByValue()(implicit ord: Ordering[(K, V)]): Map[(K, V), Long]

    Permalink
    Definition Classes
    RDD
  31. def countByValueApprox(timeout: Long, confidence: Double)(implicit ord: Ordering[(K, V)]): PartialResult[Map[(K, V), BoundedDouble]]

    Permalink
    Definition Classes
    RDD
  32. final def dependencies: Seq[Dependency[_]]

    Permalink
    Definition Classes
    RDD
  33. def distinct(): RDD[(K, V)]

    Permalink
    Definition Classes
    RDD
  34. def distinct(numPartitions: Int)(implicit ord: Ordering[(K, V)]): RDD[(K, V)]

    Permalink
    Definition Classes
    RDD
  35. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  36. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  37. def exists(elem: K): Boolean

    Permalink
  38. def filter(pred: (K, V) ⇒ Boolean): ShapeLuceneRDD[K, V]

    Permalink
  39. def filter(f: ((K, V)) ⇒ Boolean): RDD[(K, V)]

    Permalink
    Definition Classes
    RDD
  40. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  41. def first(): (K, V)

    Permalink
    Definition Classes
    RDD
  42. def firstParent[U](implicit arg0: ClassTag[U]): RDD[U]

    Permalink
    Attributes
    protected[org.apache.spark]
    Definition Classes
    RDD
  43. def flatMap[U](f: ((K, V)) ⇒ TraversableOnce[U])(implicit arg0: ClassTag[U]): RDD[U]

    Permalink
    Definition Classes
    RDD
  44. def fold(zeroValue: (K, V))(op: ((K, V), (K, V)) ⇒ (K, V)): (K, V)

    Permalink
    Definition Classes
    RDD
  45. def foreach(f: ((K, V)) ⇒ Unit): Unit

    Permalink
    Definition Classes
    RDD
  46. def foreachPartition(f: (Iterator[(K, V)]) ⇒ Unit): Unit

    Permalink
    Definition Classes
    RDD
  47. def getCheckpointFile: Option[String]

    Permalink
    Definition Classes
    RDD
  48. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  49. def getDependencies: Seq[Dependency[_]]

    Permalink
    Attributes
    protected
    Definition Classes
    RDD
  50. final def getNumPartitions: Int

    Permalink
    Definition Classes
    RDD
    Annotations
    @Since( "1.6.0" )
  51. def getPartitions: Array[Partition]

    Permalink
    Attributes
    protected
    Definition Classes
    ShapeLuceneRDD → RDD
  52. def getPreferredLocations(s: Partition): Seq[String]

    Permalink
    Attributes
    protected
    Definition Classes
    ShapeLuceneRDD → RDD
  53. def getStorageLevel: StorageLevel

    Permalink
    Definition Classes
    RDD
  54. def glom(): RDD[Array[(K, V)]]

    Permalink
    Definition Classes
    RDD
  55. def groupBy[K](f: ((K, V)) ⇒ K, p: Partitioner)(implicit kt: ClassTag[K], ord: Ordering[K]): RDD[(K, Iterable[(K, V)])]

    Permalink
    Definition Classes
    RDD
  56. def groupBy[K](f: ((K, V)) ⇒ K, numPartitions: Int)(implicit kt: ClassTag[K]): RDD[(K, Iterable[(K, V)])]

    Permalink
    Definition Classes
    RDD
  57. def groupBy[K](f: ((K, V)) ⇒ K)(implicit kt: ClassTag[K]): RDD[(K, Iterable[(K, V)])]

    Permalink
    Definition Classes
    RDD
  58. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  59. val id: Int

    Permalink
    Definition Classes
    RDD
  60. def intersection(other: RDD[(K, V)], numPartitions: Int): RDD[(K, V)]

    Permalink
    Definition Classes
    RDD
  61. def intersection(other: RDD[(K, V)], partitioner: Partitioner)(implicit ord: Ordering[(K, V)]): RDD[(K, V)]

    Permalink
    Definition Classes
    RDD
  62. def intersection(other: RDD[(K, V)]): RDD[(K, V)]

    Permalink
    Definition Classes
    RDD
  63. def isCheckpointed: Boolean

    Permalink
    Definition Classes
    RDD
  64. def isEmpty(): Boolean

    Permalink
    Definition Classes
    RDD
  65. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  66. def isTraceEnabled(): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  67. final def iterator(split: Partition, context: TaskContext): Iterator[(K, V)]

    Permalink
    Definition Classes
    RDD
  68. def keyBy[K](f: ((K, V)) ⇒ K): RDD[(K, (K, V))]

    Permalink
    Definition Classes
    RDD
  69. def knnSearch(queryPoint: PointType, k: Int, searchString: String = ...): Iterable[SparkScoreDoc]

    Permalink

    K-nearest neighbors search

    K-nearest neighbors search

    queryPoint

    query point (X, Y)

    k

    number of nearest neighbor points to return

    searchString

    Lucene query string

  70. def linkByKnn[T](that: RDD[T], pointFunctor: (T) ⇒ PointType, topK: Int = DefaultTopK)(implicit arg0: ClassTag[T]): RDD[(T, List[SparkScoreDoc])]

    Permalink

    Link entities based on k-nearest neighbors (Knn)

    Link entities based on k-nearest neighbors (Knn)

    Links this and that based on nearest neighbors, returns Knn

    T

    A type

    that

    An RDD of entities to be linked

    pointFunctor

    Function that generates a point from each element of other

    returns

    an RDD of Tuple2 that contains the linked results Note: Currently the query coordinates of the other RDD are collected to the driver and broadcast to the workers.

  71. def linkByRadius[T](that: RDD[T], pointFunctor: (T) ⇒ PointType, radius: Double, topK: Int = DefaultTopK, spatialOp: String = SpatialOperation.Intersects.getName)(implicit arg0: ClassTag[T]): RDD[(T, List[SparkScoreDoc])]

    Permalink

    Link entities if their shapes are within a distance in kilometers (km)

    Link entities if their shapes are within a distance in kilometers (km)

    Links this and that based on distance threshold

    T

    A type

    that

    An RDD of entities to be linked

    pointFunctor

    Function that generates a point from each element of other

    returns

    an RDD of Tuple2 that contains the linked results Note: Currently the query coordinates of the other RDD are collected to the driver and broadcast to the workers.

  72. def linkDataFrameByKnn(other: DataFrame, searchQueryGen: (Row) ⇒ PointType, topK: Int = DefaultTopK): RDD[(Row, List[SparkScoreDoc])]

    Permalink

    Link with DataFrame based on k-nearest neighbors (Knn)

    Link with DataFrame based on k-nearest neighbors (Knn)

    Links this and that based on nearest neighbors, returns Knn

  73. def linkDataFrameByRadius(other: DataFrame, pointFunctor: (Row) ⇒ PointType, radius: Double, topK: Int = DefaultTopK, spatialOp: String = SpatialOperation.Intersects.getName): RDD[(Row, List[SparkScoreDoc])]

    Permalink

    Link entities if their shapes are within a distance in kilometers (km)

    Link entities if their shapes are within a distance in kilometers (km)

    Links this and that based on distance threshold

    other

    DataFrame of entities to be linked

    pointFunctor

    Function that generates a point from each element of other

    returns

    an RDD of Tuple2 that contains the linked results Note: Currently the query coordinates of the other RDD are collected to the driver and broadcast to the workers.

  74. def localCheckpoint(): ShapeLuceneRDD.this.type

    Permalink
    Definition Classes
    RDD
  75. def log: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  76. def logDebug(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  77. def logDebug(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  78. def logError(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  79. def logError(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  80. def logInfo(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  81. def logInfo(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  82. def logName: String

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  83. def logTrace(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  84. def logTrace(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  85. def logWarning(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  86. def logWarning(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  87. def map[U](f: ((K, V)) ⇒ U)(implicit arg0: ClassTag[U]): RDD[U]

    Permalink
    Definition Classes
    RDD
  88. def mapPartitions[U](f: (Iterator[(K, V)]) ⇒ Iterator[U], preservesPartitioning: Boolean)(implicit arg0: ClassTag[U]): RDD[U]

    Permalink
    Definition Classes
    RDD
  89. def mapPartitionsWithIndex[U](f: (Int, Iterator[(K, V)]) ⇒ Iterator[U], preservesPartitioning: Boolean)(implicit arg0: ClassTag[U]): RDD[U]

    Permalink
    Definition Classes
    RDD
  90. def max()(implicit ord: Ordering[(K, V)]): (K, V)

    Permalink
    Definition Classes
    RDD
  91. def min()(implicit ord: Ordering[(K, V)]): (K, V)

    Permalink
    Definition Classes
    RDD
  92. var name: String

    Permalink
    Definition Classes
    RDD
  93. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  94. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  95. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  96. def parent[U](j: Int)(implicit arg0: ClassTag[U]): RDD[U]

    Permalink
    Attributes
    protected[org.apache.spark]
    Definition Classes
    RDD
  97. val partitioner: Option[Partitioner]

    Permalink
    Definition Classes
    RDD
  98. final def partitions: Array[Partition]

    Permalink
    Definition Classes
    RDD
  99. def persist(newLevel: StorageLevel): ShapeLuceneRDD.this.type

    Permalink
    Definition Classes
    ShapeLuceneRDD → RDD
  100. def persist(): ShapeLuceneRDD.this.type

    Permalink
    Definition Classes
    RDD
  101. def pipe(command: Seq[String], env: Map[String, String], printPipeContext: ((String) ⇒ Unit) ⇒ Unit, printRDDElement: ((K, V), (String) ⇒ Unit) ⇒ Unit, separateWorkingDir: Boolean): RDD[String]

    Permalink
    Definition Classes
    RDD
  102. def pipe(command: String, env: Map[String, String]): RDD[String]

    Permalink
    Definition Classes
    RDD
  103. def pipe(command: String): RDD[String]

    Permalink
    Definition Classes
    RDD
  104. final def preferredLocations(split: Partition): Seq[String]

    Permalink
    Definition Classes
    RDD
  105. def randomSplit(weights: Array[Double], seed: Long): Array[RDD[(K, V)]]

    Permalink
    Definition Classes
    RDD
  106. def reduce(f: ((K, V), (K, V)) ⇒ (K, V)): (K, V)

    Permalink
    Definition Classes
    RDD
  107. def repartition(numPartitions: Int)(implicit ord: Ordering[(K, V)]): RDD[(K, V)]

    Permalink
    Definition Classes
    RDD
  108. def sample(withReplacement: Boolean, fraction: Double, seed: Long): RDD[(K, V)]

    Permalink
    Definition Classes
    RDD
  109. def saveAsObjectFile(path: String): Unit

    Permalink
    Definition Classes
    RDD
  110. def saveAsTextFile(path: String, codec: Class[_ <: CompressionCodec]): Unit

    Permalink
    Definition Classes
    RDD
  111. def saveAsTextFile(path: String): Unit

    Permalink
    Definition Classes
    RDD
  112. def setName(_name: String): ShapeLuceneRDD.this.type

    Permalink
    Definition Classes
    ShapeLuceneRDD → RDD
  113. def sortBy[K](f: ((K, V)) ⇒ K, ascending: Boolean, numPartitions: Int)(implicit ord: Ordering[K], ctag: ClassTag[K]): RDD[(K, V)]

    Permalink
    Definition Classes
    RDD
  114. def sparkContext: SparkContext

    Permalink
    Definition Classes
    RDD
  115. def spatialSearch(point: PointType, k: Int, operationName: String): Iterable[SparkScoreDoc]

    Permalink

    Spatial search with a single Point

  116. def spatialSearch(shapeWKT: String, k: Int, operationName: String = SpatialOperation.Intersects.getName): Iterable[SparkScoreDoc]

    Permalink

    Spatial search with arbitrary shape

    Spatial search with arbitrary shape

    shapeWKT

    Shape in WKT format

    k

    Number of element to return

  117. def subtract(other: RDD[(K, V)], p: Partitioner)(implicit ord: Ordering[(K, V)]): RDD[(K, V)]

    Permalink
    Definition Classes
    RDD
  118. def subtract(other: RDD[(K, V)], numPartitions: Int): RDD[(K, V)]

    Permalink
    Definition Classes
    RDD
  119. def subtract(other: RDD[(K, V)]): RDD[(K, V)]

    Permalink
    Definition Classes
    RDD
  120. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  121. def take(num: Int): Array[(K, V)]

    Permalink
    Definition Classes
    RDD
  122. def takeOrdered(num: Int)(implicit ord: Ordering[(K, V)]): Array[(K, V)]

    Permalink
    Definition Classes
    RDD
  123. def takeSample(withReplacement: Boolean, num: Int, seed: Long): Array[(K, V)]

    Permalink
    Definition Classes
    RDD
  124. def toDebugString: String

    Permalink
    Definition Classes
    RDD
  125. def toJavaRDD(): JavaRDD[(K, V)]

    Permalink
    Definition Classes
    RDD
  126. def toLocalIterator: Iterator[(K, V)]

    Permalink
    Definition Classes
    RDD
  127. def toString(): String

    Permalink
    Definition Classes
    RDD → AnyRef → Any
  128. def top(num: Int)(implicit ord: Ordering[(K, V)]): Array[(K, V)]

    Permalink
    Definition Classes
    RDD
  129. def treeAggregate[U](zeroValue: U)(seqOp: (U, (K, V)) ⇒ U, combOp: (U, U) ⇒ U, depth: Int)(implicit arg0: ClassTag[U]): U

    Permalink
    Definition Classes
    RDD
  130. def treeReduce(f: ((K, V), (K, V)) ⇒ (K, V), depth: Int): (K, V)

    Permalink
    Definition Classes
    RDD
  131. def union(other: RDD[(K, V)]): RDD[(K, V)]

    Permalink
    Definition Classes
    RDD
  132. def unpersist(blocking: Boolean = true): ShapeLuceneRDD.this.type

    Permalink
    Definition Classes
    ShapeLuceneRDD → RDD
  133. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  134. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  135. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  136. def zip[U](other: RDD[U])(implicit arg0: ClassTag[U]): RDD[((K, V), U)]

    Permalink
    Definition Classes
    RDD
  137. def zipPartitions[B, C, D, V](rdd2: RDD[B], rdd3: RDD[C], rdd4: RDD[D])(f: (Iterator[(K, V)], Iterator[B], Iterator[C], Iterator[D]) ⇒ Iterator[V])(implicit arg0: ClassTag[B], arg1: ClassTag[C], arg2: ClassTag[D], arg3: ClassTag[V]): RDD[V]

    Permalink
    Definition Classes
    RDD
  138. def zipPartitions[B, C, D, V](rdd2: RDD[B], rdd3: RDD[C], rdd4: RDD[D], preservesPartitioning: Boolean)(f: (Iterator[(K, V)], Iterator[B], Iterator[C], Iterator[D]) ⇒ Iterator[V])(implicit arg0: ClassTag[B], arg1: ClassTag[C], arg2: ClassTag[D], arg3: ClassTag[V]): RDD[V]

    Permalink
    Definition Classes
    RDD
  139. def zipPartitions[B, C, V](rdd2: RDD[B], rdd3: RDD[C])(f: (Iterator[(K, V)], Iterator[B], Iterator[C]) ⇒ Iterator[V])(implicit arg0: ClassTag[B], arg1: ClassTag[C], arg2: ClassTag[V]): RDD[V]

    Permalink
    Definition Classes
    RDD
  140. def zipPartitions[B, C, V](rdd2: RDD[B], rdd3: RDD[C], preservesPartitioning: Boolean)(f: (Iterator[(K, V)], Iterator[B], Iterator[C]) ⇒ Iterator[V])(implicit arg0: ClassTag[B], arg1: ClassTag[C], arg2: ClassTag[V]): RDD[V]

    Permalink
    Definition Classes
    RDD
  141. def zipPartitions[B, V](rdd2: RDD[B])(f: (Iterator[(K, V)], Iterator[B]) ⇒ Iterator[V])(implicit arg0: ClassTag[B], arg1: ClassTag[V]): RDD[V]

    Permalink
    Definition Classes
    RDD
  142. def zipPartitions[B, V](rdd2: RDD[B], preservesPartitioning: Boolean)(f: (Iterator[(K, V)], Iterator[B]) ⇒ Iterator[V])(implicit arg0: ClassTag[B], arg1: ClassTag[V]): RDD[V]

    Permalink
    Definition Classes
    RDD
  143. def zipWithIndex(): RDD[((K, V), Long)]

    Permalink
    Definition Classes
    RDD
  144. def zipWithUniqueId(): RDD[((K, V), Long)]

    Permalink
    Definition Classes
    RDD

Deprecated Value Members

  1. def filterWith[A](constructA: (Int) ⇒ A)(p: ((K, V), A) ⇒ Boolean): RDD[(K, V)]

    Permalink
    Definition Classes
    RDD
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) use mapPartitionsWithIndex and filter

  2. def flatMapWith[A, U](constructA: (Int) ⇒ A, preservesPartitioning: Boolean)(f: ((K, V), A) ⇒ Seq[U])(implicit arg0: ClassTag[U]): RDD[U]

    Permalink
    Definition Classes
    RDD
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) use mapPartitionsWithIndex and flatMap

  3. def foreachWith[A](constructA: (Int) ⇒ A)(f: ((K, V), A) ⇒ Unit): Unit

    Permalink
    Definition Classes
    RDD
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) use mapPartitionsWithIndex and foreach

  4. def mapPartitionsWithContext[U](f: (TaskContext, Iterator[(K, V)]) ⇒ Iterator[U], preservesPartitioning: Boolean)(implicit arg0: ClassTag[U]): RDD[U]

    Permalink
    Definition Classes
    RDD
    Annotations
    @DeveloperApi() @deprecated
    Deprecated

    (Since version 1.2.0) use TaskContext.get

  5. def mapPartitionsWithSplit[U](f: (Int, Iterator[(K, V)]) ⇒ Iterator[U], preservesPartitioning: Boolean)(implicit arg0: ClassTag[U]): RDD[U]

    Permalink
    Definition Classes
    RDD
    Annotations
    @deprecated
    Deprecated

    (Since version 0.7.0) use mapPartitionsWithIndex

  6. def mapWith[A, U](constructA: (Int) ⇒ A, preservesPartitioning: Boolean)(f: ((K, V), A) ⇒ U)(implicit arg0: ClassTag[U]): RDD[U]

    Permalink
    Definition Classes
    RDD
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) use mapPartitionsWithIndex

  7. def toArray(): Array[(K, V)]

    Permalink
    Definition Classes
    RDD
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) use collect

Inherited from SparkScoreDocAggregatable

Inherited from LuceneRDDConfigurable

Inherited from Configurable

Inherited from RDD[(K, V)]

Inherited from Logging

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped