class FlatGridPartitioner extends SpatialPartitioner

Linear Supertypes
SpatialPartitioner, Partitioner, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FlatGridPartitioner
  2. SpatialPartitioner
  3. Partitioner
  4. Serializable
  5. Serializable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FlatGridPartitioner(grids: List[Envelope])
  2. new FlatGridPartitioner(gridType: GridType, grids: List[Envelope])

Abstract Value Members

  1. abstract def placeObject[T <: Geometry](spatialObject: T): Iterator[(Integer, T)]

    Given a geometry, returns a list of partitions it overlaps.

    Given a geometry, returns a list of partitions it overlaps.

    For points, returns exactly one partition as long as grid type is non-overlapping. For other geometry types or for overlapping grid types, may return multiple partitions.

    Definition Classes
    SpatialPartitioner

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(o: Any): Boolean
    Definition Classes
    FlatGridPartitioner → AnyRef → Any
    Annotations
    @Override()
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def getDedupParams(): DedupParams
    Definition Classes
    FlatGridPartitionerSpatialPartitioner
    Annotations
    @Nullable()
  11. def getGridType(): GridType
    Definition Classes
    SpatialPartitioner
  12. def getGrids(): List[Envelope]
    Definition Classes
    SpatialPartitioner
  13. def getPartition(key: Any): Int
    Definition Classes
    SpatialPartitioner → Partitioner
    Annotations
    @Override()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. def numPartitions(): Int

    Equal and Hilbert partitioning methods have necessary properties to support de-dup.

    Equal and Hilbert partitioning methods have necessary properties to support de-dup. These methods provide non-overlapping partition extents and not require overflow partition as they cover full extent of the RDD. However, legacy SpatialRDD.spatialPartitioning(otherGrids) method doesn't preserve the grid type making it impossible to reliably detect whether partitioning allows efficient de-dup or not.

    TODO Figure out how to remove SpatialRDD.spatialPartitioning(otherGrids) API. Perhaps, make the implementation no-op and fold the logic into JoinQuery, RangeQuery and KNNQuery APIs.

    Definition Classes
    FlatGridPartitioner → Partitioner
    Annotations
    @Override()
  20. def placeObject(spatialObject: Geometry): Iterator[(Integer, Geometry)]
    Annotations
    @Override()
  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from SpatialPartitioner

Inherited from Partitioner

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped