Trait

org.zouzias.spark.lucenerdd.spatial.shape.strategies

SpatialStrategy

Related Doc: package strategies

Permalink

trait SpatialStrategy extends GridLoader

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

Value Members

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. val LocationDefaultField: String

    Permalink
    Attributes
    protected
    Definition Classes
    ContextLoader
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. val config: Config

    Permalink
    Definition Classes
    Configurable
  8. 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
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. val getGridMaxLevel: Int

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    ShapeLuceneRDDConfigurable
  16. val grid: GeohashPrefixTree

    Permalink
    Attributes
    protected
    Definition Classes
    GridLoader
  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. val maxLevels: Int

    Permalink
    Attributes
    protected
    Definition Classes
    GridLoader
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  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. val strategy: RecursivePrefixTreeStrategy

    Permalink

    The Lucene spatial SpatialStrategy encapsulates an approach to indexing and searching shapes, and providing distance values for them.

    The Lucene spatial SpatialStrategy encapsulates an approach to indexing and searching shapes, and providing distance values for them. It's a simple API to unify different approaches. You might use more than one strategy for a shape as each strategy has its strengths and weaknesses.

    Note that these are initialized with a field name.

    Attributes
    protected
  27. def stringToShape(shapeAsString: String): Shape

    Permalink
    Attributes
    protected
    Definition Classes
    ContextLoader
  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  29. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  30. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from GridLoader

Inherited from ContextLoader

Inherited from Configurable

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped