Class

com.spark3d.spatial3DRDD

Point3DRDDFromRDD

Related Doc: package spatial3DRDD

Permalink

class Point3DRDDFromRDD extends Shape3DRDD[Point3D]

Construct a Point3DRDD from a RDD[Point3D]

Linear Supertypes
Shape3DRDD[Point3D], Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Point3DRDDFromRDD
  2. Shape3DRDD
  3. Serializable
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Point3DRDDFromRDD(rdd: RDD[Point3D], isSpherical: Boolean)

    Permalink

    rdd

    : (RDD[Point3D]) RDD whose elements are Point3D instances.

    isSpherical

    : (Boolean) If true, it assumes that the coordinates of the Point3D are (r, theta, phi). Otherwise, it assumes cartesian coordinates (x, y, z).

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  10. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  11. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  12. val isSpherical: Boolean

    Permalink

    : (Boolean) If true, it assumes that the coordinates of the Point3D are (r, theta, phi).

    : (Boolean) If true, it assumes that the coordinates of the Point3D are (r, theta, phi). Otherwise, it assumes cartesian coordinates (x, y, z).

    Definition Classes
    Point3DRDDFromRDDShape3DRDD
  13. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  16. def partition(partitioner: SpatialPartitioner)(implicit c: ClassTag[Point3D]): RDD[Point3D]

    Permalink

    Repartion a RDD[T] according to a custom partitioner.

    Repartion a RDD[T] according to a custom partitioner.

    partitioner

    : (SpatialPartitioner) Instance of SpatialPartitioner or any extension of it.

    returns

    (RDD[T]) Repartitioned RDD[T].

    Definition Classes
    Shape3DRDD
  17. val rawRDD: RDD[Point3D]

    Permalink

    RDD containing the initial data formated as T.

    RDD containing the initial data formated as T.

    Definition Classes
    Point3DRDDFromRDDShape3DRDD
  18. def spatialPartitioning(gridtype: GridType, numPartitions: Int = 1)(implicit c: ClassTag[Point3D]): RDD[Point3D]

    Permalink

    Apply a spatial partitioning to this.rawRDD, and return a RDD[T] with the new partitioning.

    Apply a spatial partitioning to this.rawRDD, and return a RDD[T] with the new partitioning. The list of available partitioning can be found in utils/GridType. By default, the outgoing level of parallelism is the same as the incoming one (i.e. same number of partitions).

    gridtype

    : (GridType) Type of partitioning to apply. See utils/GridType.

    numPartitions

    : (Int) Number of partitions for the partitioned RDD. By default (-1), the number of partitions is that of the raw RDD. You can force it to be different by setting manually this parameter. Be aware of shuffling though...

    returns

    (RDD[T]) RDD whose elements are T (Point3D, Sphere, etc...)

    Definition Classes
    Shape3DRDD
  19. def spatialPartitioning(partitioner: SpatialPartitioner)(implicit c: ClassTag[Point3D]): RDD[Point3D]

    Permalink

    Apply any Spatial Partitioner to this.rawRDD[T], and return a RDD[T] with the new partitioning.

    Apply any Spatial Partitioner to this.rawRDD[T], and return a RDD[T] with the new partitioning.

    partitioner

    : (SpatialPartitioner) Spatial partitioner as defined in utils.GridType

    returns

    (RDD[T]) RDD whose elements are T (Point3D, Sphere, etc...)

    Definition Classes
    Shape3DRDD
  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  21. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  22. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Shape3DRDD[Point3D]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped