
geotrellis.spark.io.avro.codecs.Implicits.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.avro.codecs
import geotrellis.raster.Tile
import geotrellis.spark.io.avro.{AvroRecordCodec, AvroUnionCodec}
object Implicits extends Implicits
trait Implicits extends TileCodecs with KeyCodecs {
implicit def tileUnionCodec = new AvroUnionCodec[Tile](
byteArrayTileCodec,
floatArrayTileCodec,
doubleArrayTileCodec,
shortArrayTileCodec,
intArrayTileCodec,
bitArrayTileCodec,
uByteArrayTileCodec,
uShortArrayTileCodec)
implicit def tupleCodec[A: AvroRecordCodec, B: AvroRecordCodec]: TupleCodec[A, B] = TupleCodec[A, B]
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy