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 WKTToShape(shapeAsString: String): Shape

    Permalink

    ***Experimental***

    ***Experimental***

    Implicitly convert shape from its string representation

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

    Permalink
  9. final def asInstanceOf[T0]: T0

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

    Permalink
  11. val config: Config

    Permalink
    Definition Classes
    Configurable
  12. package context

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

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

    Permalink
    Definition Classes
    Any
  16. val getGridMaxLevel: Int

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    ShapeLuceneRDDConfigurable
  19. package grids

    Permalink
  20. def hashCode(): Int

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

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

    Permalink
  23. package partition

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

    Permalink
  25. lazy val shapeReader: ShapeReader

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    ContextLoader
  28. package strategies

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

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