Trait

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

SpatialStrategy

Related Doc: package strategies

Permalink

trait SpatialStrategy extends PrefixTreeLoader

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SpatialStrategy
  2. PrefixTreeLoader
  3. ContextLoader
  4. ShapeLuceneRDDConfigurable
  5. LuceneRDDConfigurable
  6. Configurable
  7. Serializable
  8. Serializable
  9. AnyRef
  10. 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. lazy val Config: Config

    Permalink
    Definition Classes
    Configurable
  5. val DefaultFacetNum: Int

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

    Permalink

    Default value for topK queries

    Default value for topK queries

    Attributes
    protected
    Definition Classes
    LuceneRDDConfigurable
  7. val LocationDefaultField: String

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

    Permalink
    Attributes
    protected
    Definition Classes
    LuceneRDDConfigurable
  9. val StringFieldsAnalyzed: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    LuceneRDDConfigurable
  10. val StringFieldsIndexOptions: IndexOptions

    Permalink
    Attributes
    protected
    Definition Classes
    LuceneRDDConfigurable
  11. val StringFieldsOmitNorms: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    LuceneRDDConfigurable
  12. val StringFieldsStoreTermPositions: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    LuceneRDDConfigurable
  13. val StringFieldsStoreTermVector: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    LuceneRDDConfigurable
  14. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  16. 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
  17. final def eq(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  21. val getLocationFieldName: String

    Permalink
    Attributes
    protected
    Definition Classes
    ShapeLuceneRDDConfigurable
  22. val getPrefixTreeMaxDistErr: Double

    Permalink
    Attributes
    protected
    Definition Classes
    ShapeLuceneRDDConfigurable
  23. val getPrefixTreeMaxLevel: Int

    Permalink
    Attributes
    protected
    Definition Classes
    ShapeLuceneRDDConfigurable
  24. val getPrefixTreeName: String

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

    Permalink
    Attributes
    protected
    Definition Classes
    ShapeLuceneRDDConfigurable
  26. val grid: SpatialPrefixTree

    Permalink
    Attributes
    protected
    Definition Classes
    PrefixTreeLoader
  27. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  29. val maxLevels: Int

    Permalink
    Attributes
    protected
    Definition Classes
    PrefixTreeLoader
  30. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  33. val prefixTreeMaxDistErr: Double

    Permalink
    Attributes
    protected
    Definition Classes
    PrefixTreeLoader
  34. val prefixTreeName: String

    Permalink
    Attributes
    protected
    Definition Classes
    PrefixTreeLoader
  35. lazy val shapeReader: ShapeReader

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    ContextLoader
  38. 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
  39. def stringToShape(shapeAsString: String): Shape

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

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

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

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

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

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

Inherited from PrefixTreeLoader

Inherited from ContextLoader

Inherited from LuceneRDDConfigurable

Inherited from Configurable

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped