
geotrellis.spark.io.index.KeyIndex.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of geotrellis-spark_2.10 Show documentation
Show all versions of geotrellis-spark_2.10 Show documentation
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