Package

org.zouzias.spark.lucenerdd.spatial

shape

Permalink

package shape

Linear Supertypes
ContextLoader, ShapeLuceneRDDConfigurable, Configurable, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. shape
  2. ContextLoader
  3. ShapeLuceneRDDConfigurable
  4. Configurable
  5. Serializable
  6. Serializable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

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

    Permalink

    ShapeLuceneRDD for geospatial and full-text search queries

    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)

Abstract Value Members

  1. abstract def getClass(): Class[_]

    Permalink
    Definition Classes
    Any

Concrete Value Members

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

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

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

    Permalink
    Definition Classes
    Any
  4. val LocationDefaultField: String

    Permalink
    Attributes
    protected
    Definition Classes
    ContextLoader
  5. object ShapeLuceneRDD extends Serializable

    Permalink
  6. implicit def arrayPolygonToShape(rect: Array[(Double, Double)]): Shape

    Permalink
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. implicit def circleToShape(circle: ((Double, Double), Double)): Shape

    Permalink
  9. val config: Config

    Permalink
    Definition Classes
    Configurable
  10. package context

    Permalink
  11. implicit def convertToPoint(point: (Double, Double)): Shape

    Permalink
  12. lazy val ctx: JtsSpatialContext

    Permalink

    The Spatial4j SpatialContext is a sort of global-ish singleton needed by Lucene spatial.

    The Spatial4j SpatialContext is a sort of global-ish singleton needed by Lucene spatial. It's a facade to the rest of Spatial4j, acting as a factory for Shapes and provides access to reading and writing them from Strings.

    Quoting from spatial4j (https://github.com/locationtech/spatial4j#getting-started)

    "To get a SpatialContext (or just "context" for short), you could use a global singleton SpatialContext.GEO or JtsSpatialContext.GEO which both use geodesic surface-of-sphere calculations (when available); the JTS one principally adds Polygon support."

    Attributes
    protected
    Definition Classes
    ContextLoader
  13. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  14. val getGridMaxLevel: Int

    Permalink
    Attributes
    protected
    Definition Classes
    ShapeLuceneRDDConfigurable
  15. val getLocationFieldName: String

    Permalink
    Attributes
    protected
    Definition Classes
    ShapeLuceneRDDConfigurable
  16. val getShapeFormat: String

    Permalink
    Attributes
    protected
    Definition Classes
    ShapeLuceneRDDConfigurable
  17. package grids

    Permalink
  18. def hashCode(): Int

    Permalink
    Definition Classes
    Any
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. implicit def listPolygonToShape(rect: List[(Double, Double)]): Shape

    Permalink
  21. package partition

    Permalink
  22. implicit def rectangleToShape(rect: (Double, Double, Double, Double)): Shape

    Permalink
  23. lazy val shapeReader: ShapeReader

    Permalink
    Attributes
    protected
    Definition Classes
    ContextLoader
  24. def shapeToString(shape: Shape): String

    Permalink
    Attributes
    protected
    Definition Classes
    ContextLoader
  25. lazy val shapeWriter: ShapeWriter

    Permalink
    Attributes
    protected
    Definition Classes
    ContextLoader
  26. package strategies

    Permalink
  27. def stringToShape(shapeAsString: String): Shape

    Permalink
    Attributes
    protected
    Definition Classes
    ContextLoader
  28. def toString(): String

    Permalink
    Definition Classes
    Any

Inherited from ContextLoader

Inherited from Configurable

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped