Cross match 2 RDD based on the object centers.
Cross match 2 RDD based on the object centers. You have to choice to return: (1) Elements of (A, B) matching (returnType="AB") (2) Elements of A matching B (returnType="A") (3) Elements of B matching A (returnType="B")
Which one you should choose? That depends on what you need: (1) gives you all elements but is slow. (2) & (3) give you all elements only in one side but is faster.
: (RDD[A<:Shape3D]) RDD whose elements are Shape3D or any extension (Point3D, ...)
: (RDD[B<:Shape3D]) RDD whose elements are Shape3D or any extension (Point3D, ...)
: (Double) Tolerance for the distance between 2 centers. Should have the same units as the center coordinates.
: (String) Kind of crossmatch to perform:
Perform a full cross match between partition A and partition B based on the object centers.
Perform a full cross match between partition A and partition B based on the object centers.
: (Iterator[A]) Iterator containing elements of A in a partition
: (Iterator[B]) Iterator containing elements of B in the same partition
: (Double) Tolerance for the distance between 2 centers. Should have the same units as the center coordinates.
(Iterator[(A, B)]) iterator containing elements matching in both.
Perform a cross match between partition A and partition B based on the object centers, and return elements of B which match with A.
Perform a cross match between partition A and partition B based on the object centers, and return elements of B which match with A.
: (Iterator[A]) Iterator containing elements of A in a partition
: (Iterator[B]) Iterator containing elements of B in the same partition
: (Double) Tolerance for the distance between 2 centers. Should have the same units as the center coordinates.
(Iterator[B]) iterator containing elements of B matching with A.
Object containing routines to perform cross match between two sets A & B based on the position of object centers.