All Downloads are FREE. Search and download functionalities are using the official Maven repository.

geotrellis.spark.io.index.KeyIndex.scala Maven / Gradle / Ivy

Go to download

GeoTrellis is an open source geographic data processing engine for high performance applications.

The newest version!
package geotrellis.spark.io.index

import geotrellis.spark.KeyBounds

trait KeyIndex[K] extends Serializable {
  /** Some(keybounds) if the indexed space is bounded; None if it is unbounded */
  def keyBounds: KeyBounds[K]
  def toIndex(key: K): Long
  def indexRanges(keyRange: (K, K)): Seq[(Long, Long)]
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy