Class/Object

com.github.tsingjyujing.geo.algorithm.cluster

MongoDBScan

Related Docs: object MongoDBScan | package cluster

Permalink

class MongoDBScan extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MongoDBScan
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MongoDBScan(pointCollection: MongoCollection[Document], polygonCollection: MongoCollection[Document] = null, searchRadius: Double = 0.5, needInit: Boolean = false, isMergeClass: Boolean = false, updatePolygon: Boolean = false, extendedIndexes: Map[String, AnyRef] = Map.empty)

    Permalink

    pointCollection

    mongodb collection to save points

    polygonCollection

    mongo collection to save polygons

    searchRadius

    db-scan algorithm parameters to search points in radius

    needInit

    need to initialize collection while start

    isMergeClass

    need to merge class if find more than one class in searchRadius

    updatePolygon

    is update polygon automatically while inserted an point

    extendedIndexes

    other indexes to set as Map: field name -> index type

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. def appendPoint(point: IGeoPoint, appendInfo: Document): Int

    Permalink

    Insert one point into collection

    Insert one point into collection

    point

    point to insert

    appendInfo

    other field add to point

  5. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  9. val extendedIndexes: Map[String, AnyRef]

    Permalink

    other indexes to set as Map: field name -> index type

  10. def generatePolygon(classId: Int): Unit

    Permalink

    Generate polygon of some class

    Generate polygon of some class

    classId

    class id

  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  12. def getClusterResult: ClusterResult[Int, GeoPoint]

    Permalink
  13. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. val isMergeClass: Boolean

    Permalink

    need to merge class if find more than one class in searchRadius

  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. val needInit: Boolean

    Permalink

    need to initialize collection while start

  18. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  19. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  20. val pointCollection: MongoCollection[Document]

    Permalink

    mongodb collection to save points

  21. val polygonCollection: MongoCollection[Document]

    Permalink

    mongo collection to save polygons

  22. def regenerateAllPolygons(): Unit

    Permalink

    Regenerate all polygons

  23. def removePolygon(classId: Int): Unit

    Permalink

    Delete polygon of some class

    Delete polygon of some class

    classId

    class id

  24. val searchRadius: Double

    Permalink

    db-scan algorithm parameters to search points in radius

  25. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  27. val updatePolygon: Boolean

    Permalink

    is update polygon automatically while inserted an point

  28. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(): Unit

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

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from AnyRef

Inherited from Any

Ungrouped