Class

org.locationtech.geomesa.utils.index

BucketIndex

Related Doc: package index

Permalink

class BucketIndex[T] extends SpatialIndex[T] with LazyLogging

Spatial index that breaks up space into discrete buckets to index points

Does not support non-point inserts

T

index value binding

Linear Supertypes
LazyLogging, SpatialIndex[T], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. BucketIndex
  2. LazyLogging
  3. SpatialIndex
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BucketIndex(xBuckets: Int = 360, yBuckets: Int = 180, extents: Envelope = ...)

    Permalink

    xBuckets

    number of x buckets

    yBuckets

    number of y buckets

    extents

    area to be indexed

Type Members

  1. class BucketIterator extends Iterator[T]

    Permalink

    Iterator over a range of buckets

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. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clear(): Unit

    Permalink

    Remove all items from the index

    Remove all items from the index

    Definition Classes
    BucketIndexSpatialIndex
  6. def clone(): AnyRef

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. def get(envelope: Envelope, key: String): T

    Permalink
    Definition Classes
    BucketIndexSpatialIndex
  11. def get(geom: Geometry, key: String): T

    Permalink

    Retrieves a value by primary key

    Retrieves a value by primary key

    geom

    geometry used for indexing

    key

    unique value key

    returns

    value, if it exists, or null

    Definition Classes
    BucketIndexSpatialIndex
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  14. def insert(envelope: Envelope, key: String, item: T): Unit

    Permalink
    Definition Classes
    BucketIndexSpatialIndex
  15. def insert(geom: Geometry, key: String, value: T): Unit

    Permalink

    Insert a value indexed by a geometry and unique key

    Insert a value indexed by a geometry and unique key

    geom

    geometry used for indexing

    key

    unique value key

    value

    value to store

    Definition Classes
    BucketIndexSpatialIndex
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. lazy val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    LazyLogging
  18. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  21. def query(): Iterator[T]

    Permalink

    Return all items

    Return all items

    Definition Classes
    BucketIndexSpatialIndex
  22. def query(xmin: Double, ymin: Double, xmax: Double, ymax: Double): Iterator[T]

    Permalink

    Query based on a bounding box

    Query based on a bounding box

    xmin

    xmin

    ymin

    ymin

    xmax

    xmax

    ymax

    ymax

    Definition Classes
    BucketIndexSpatialIndex
  23. def query(bbox: Envelope): Iterator[T]

    Permalink

    Query based on a bounding envelope

    Query based on a bounding envelope

    bbox

    bbox

    Definition Classes
    SpatialIndex
  24. def remove(envelope: Envelope, key: String): T

    Permalink
    Definition Classes
    BucketIndexSpatialIndex
  25. def remove(geom: Geometry, key: String): T

    Permalink

    Remove a value based on its indexed geometry and unique key

    Remove a value based on its indexed geometry and unique key

    geom

    geometry used for indexing

    key

    unique value key

    returns

    value, if it exists, or null

    Definition Classes
    BucketIndexSpatialIndex
  26. def size(): Int

    Permalink

    Number of items in this index

    Number of items in this index

    Definition Classes
    BucketIndexSpatialIndex
  27. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

Deprecated Value Members

  1. def get(x: Double, y: Double, key: String): T

    Permalink
    Definition Classes
    SpatialIndex
    Annotations
    @deprecated
    Deprecated

    use get(geometry, key)

  2. def insert(envelope: Envelope, item: T): Unit

    Permalink
    Definition Classes
    SpatialIndex
    Annotations
    @deprecated
    Deprecated

    use insert(geometry, key, item)

  3. def insert(x: Double, y: Double, key: String, item: T): Unit

    Permalink
    Definition Classes
    SpatialIndex
    Annotations
    @deprecated
    Deprecated

    use insert(geometry, key, item)

  4. def query(envelope: Envelope, filter: (T) ⇒ Boolean): Iterator[T]

    Permalink
    Definition Classes
    SpatialIndex
    Annotations
    @deprecated
    Deprecated

    query(bbox).filter(predicate)

  5. def remove(envelope: Envelope, item: T): Boolean

    Permalink
    Definition Classes
    SpatialIndex
    Annotations
    @deprecated
    Deprecated

    use remove(geometry, key)

  6. def remove(x: Double, y: Double, key: String): T

    Permalink
    Definition Classes
    SpatialIndex
    Annotations
    @deprecated
    Deprecated

    use remove(geometry, key)

Inherited from LazyLogging

Inherited from SpatialIndex[T]

Inherited from AnyRef

Inherited from Any

Ungrouped