Package

org.zouzias.spark.lucenerdd.spatial

shape

Permalink

package shape

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

Type Members

  1. class ShapeLuceneRDD[K, V] extends RDD[(K, V)] with LuceneRDDConfigurable 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 converted 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 DefaultFacetNum: Int

    Permalink
    Attributes
    protected
    Definition Classes
    LuceneRDDConfigurable
  5. val DefaultTopK: Int

    Permalink

    Default value for topK queries

    Default value for topK queries

    Attributes
    protected
    Definition Classes
    LuceneRDDConfigurable
  6. val LocationDefaultField: String

    Permalink
    Attributes
    protected
    Definition Classes
    ContextLoader
  7. val MaxDefaultTopKValue: Int

    Permalink
    Attributes
    protected
    Definition Classes
    LuceneRDDConfigurable
  8. object ShapeLuceneRDD extends Serializable

    Permalink
  9. object ShapeLuceneRDDKryoRegistrator

    Permalink

    Decorator for ShapeLuceneRDD Kryo serialization

  10. implicit def WKTToShape(shapeAsString: String): Shape

    Permalink

    ***Experimental***

    ***Experimental***

    Implicitly convert shape from its string representation

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

    Permalink
  12. final def asInstanceOf[T0]: T0

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

    Permalink
  14. val config: Config

    Permalink
    Definition Classes
    Configurable
  15. package context

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

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

    Permalink
    Definition Classes
    Any
  19. val getGridMaxLevel: Int

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    ShapeLuceneRDDConfigurable
  22. package grids

    Permalink
  23. def hashCode(): Int

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

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

    Permalink
  26. package partition

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

    Permalink
  28. lazy val shapeReader: ShapeReader

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    ContextLoader
  31. package strategies

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

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

    Permalink
    Definition Classes
    Any

Inherited from ContextLoader

Inherited from LuceneRDDConfigurable

Inherited from Configurable

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped