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 with Logging

    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)

  2. class ShapeLuceneRDDKryoRegistrator extends KryoRegistrator

    Permalink

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. object ShapeLuceneRDDKryoRegistrator

    Permalink

    Decorator for ShapeLuceneRDD Kryo serialization

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

    Permalink
  8. final def asInstanceOf[T0]: T0

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

    Permalink
  10. val config: Config

    Permalink
    Definition Classes
    Configurable
  11. package context

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

    Permalink
  13. 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
  14. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  15. val getGridMaxLevel: Int

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    ShapeLuceneRDDConfigurable
  18. package grids

    Permalink
  19. def hashCode(): Int

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

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

    Permalink
  22. package partition

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

    Permalink
  24. lazy val shapeReader: ShapeReader

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    ContextLoader
  27. package strategies

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

    Permalink
    Attributes
    protected
    Definition Classes
    ContextLoader
  29. 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