package util
- Alphabetic
- By Inheritance
- util
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
case class
BTree[T](value: T, left: Option[BTree[T]], right: Option[BTree[T]]) extends Product with Serializable
An immutable Binary Tree.
-
trait
ByteReader extends AnyRef
This trait is a characteristic of instances that can retrieve bytes from some source.
-
trait
Component[T, C] extends GetComponent[T, C] with SetComponent[T, C]
Defines an object that can be used as a lens into a component C of some type T.
- sealed trait Direction extends AnyRef
-
class
FileRangeReader extends RangeReader
This class extends RangeReader by reading chunks from a given local path.
This class extends RangeReader by reading chunks from a given local path. This allows for reading in of files larger than 4gb into GeoTrellis.
- returns
A new instance of FileRangeReader
- class FileRangeReaderProvider extends RangeReaderProvider
- trait GetComponent[T, C] extends Serializable
-
class
HttpRangeReader extends RangeReader
This class extends RangeReader by reading chunks out of a GeoTiff at the specified HTTP location.
This class extends RangeReader by reading chunks out of a GeoTiff at the specified HTTP location.
- Exceptions thrown
[[HttpStatusException]]
if the HTTP response code is 4xx or 5xx
- class HttpRangeReaderProvider extends RangeReaderProvider
-
trait
MethodExtensions[+T] extends Serializable
The base-trait from which all implicit classes containing extension methods are derived.
-
trait
RangeReader extends AnyRef
This trait defines methods for breaking up a source of bytes into Map[Long, Array[Byte]] called a, "chunk".
This trait defines methods for breaking up a source of bytes into Map[Long, Array[Byte]] called a, "chunk". Where the Long is where within the file the chunk begins and the Array[Byte] containing the actual bytes.
- trait RangeReaderProvider extends AnyRef
- trait SetComponent[T, C] extends Serializable
-
class
StreamingByteReader extends ByteReader
This class extends ByteReader who's source of bytes is from a RangeReader instance.
This class extends ByteReader who's source of bytes is from a RangeReader instance.
The StreamingByteReader will read ranges of bytes (chunks) from a source using a RangeReader. If bytes are requested from it that require chunks it does not have, it will fetch those chunks and store them in memory. If the maximum number of chunks is reached, the oldest chunks will be kicked out.
- returns
A new instance of StreamingByteReader
-
implicit
class
withGetComponentMethods[T] extends MethodExtensions[T]
A sugar method for getting a component of an object that has an implicitly defined lens into a component of that object with a specific type.
-
implicit
class
withSetComponentMethods[T] extends MethodExtensions[T]
A sugar method for setting a component of an object that has an implicitly defined lens into a component of that object with a specific type.
Value Members
- implicit def getIdentityComponent[C, T <: C]: GetComponent[T, C]
- implicit def identityComponent[T]: Component[T, T]
- implicit def setIdentityComponent[T, C <: T]: SetComponent[T, C]
- object BTree extends Serializable
-
object
ByteReader
The companion object of ByteReader.
The companion object of ByteReader. This object contains implicit conversion to and from ByteBuffers and ByteReaders.
- object Component extends Serializable
- object Constants
- object Direction
-
object
FileRangeReader
The companion object of FileRangeReader
- object Filesystem
- object GetComponent extends Serializable
- object Haversine
-
object
HttpRangeReader
The companion object of HttpRangeReader
- object RangeReader
- object SetComponent extends Serializable
-
object
StreamingByteReader
The companion object of StreamingByteReader
- object UriUtils