Class/Object

geotrellis.spark.io.s3

S3AttributeStore

Related Docs: object S3AttributeStore | package s3

Permalink

class S3AttributeStore extends BlobLayerAttributeStore

Stores and retrieves layer attributes in an S3 bucket in JSON format

Linear Supertypes
BlobLayerAttributeStore, AttributeStore, LayerAttributeStore, Serializable, Serializable, AttributeCaching, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. S3AttributeStore
  2. BlobLayerAttributeStore
  3. AttributeStore
  4. LayerAttributeStore
  5. Serializable
  6. Serializable
  7. AttributeCaching
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new S3AttributeStore(bucket: String, prefix: String)

    Permalink

    bucket

    S3 bucket to use for attribute store

    prefix

    path in the bucket for given LayerId

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 attributePath(id: LayerId, attributeName: String): String

    Permalink
  6. def attributePrefix(attributeName: String): String

    Permalink
  7. def availableAttributes(layerId: LayerId): Seq[String]

    Permalink
    Definition Classes
    S3AttributeStore → AttributeStore
  8. def availableZoomLevels(layerName: String): Seq[Int]

    Permalink
    Definition Classes
    S3AttributeStore → AttributeStore
  9. val bucket: String

    Permalink

    S3 bucket to use for attribute store

  10. def cacheLayerType(layerId: LayerId, layerType: LayerType): LayerType

    Permalink
    Definition Classes
    AttributeCaching
  11. def cacheRead[T](layerId: LayerId, attributeName: String)(implicit arg0: JsonFormat[T]): T

    Permalink
    Definition Classes
    AttributeCaching
  12. def cacheWrite[T](layerId: LayerId, attributeName: String, value: T)(implicit arg0: JsonFormat[T]): Unit

    Permalink
    Definition Classes
    AttributeCaching
  13. def clearCache(id: LayerId, attribute: String): Unit

    Permalink
    Definition Classes
    AttributeCaching
  14. def clearCache(id: LayerId): Unit

    Permalink
    Definition Classes
    AttributeCaching
  15. def clearCache(): Unit

    Permalink
    Definition Classes
    AttributeCaching
  16. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  17. def copy(from: LayerId, to: LayerId, attributes: Seq[String]): Unit

    Permalink
    Definition Classes
    AttributeStore
  18. def copy(from: LayerId, to: LayerId): Unit

    Permalink
    Definition Classes
    AttributeStore
  19. def delete(layerId: LayerId): Unit

    Permalink
    Definition Classes
    S3AttributeStore → AttributeStore
  20. def delete(layerId: LayerId, attributeName: String): Unit

    Permalink
    Definition Classes
    S3AttributeStore → AttributeStore
  21. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  24. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  26. def isCOGLayer(id: LayerId): Boolean

    Permalink
    Definition Classes
    AttributeStore
  27. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  28. def layerExists(layerId: LayerId): Boolean

    Permalink
    Definition Classes
    S3AttributeStore → AttributeStore
  29. def layerIds: Seq[LayerId]

    Permalink
    Definition Classes
    S3AttributeStore → AttributeStore
  30. def layerType(id: LayerId): LayerType

    Permalink
    Definition Classes
    AttributeStore
  31. def layersWithZoomLevels: Map[String, Seq[Int]]

    Permalink
    Definition Classes
    AttributeStore
  32. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  35. def path(parts: String*): String

    Permalink

    NOTE: S3 is eventually consistent, therefore it is possible to write an attribute and fail to read it immediately afterwards.

    NOTE: S3 is eventually consistent, therefore it is possible to write an attribute and fail to read it immediately afterwards. It is not clear if this is a practical concern. It could be remedied by some kind of time-out cache for both read/write in this class.

  36. val prefix: String

    Permalink

    path in the bucket for given LayerId

  37. def read[T](layerId: LayerId, attributeName: String)(implicit arg0: JsonFormat[T]): T

    Permalink
    Definition Classes
    S3AttributeStore → AttributeStore
  38. def readAll[T](attributeName: String)(implicit arg0: JsonFormat[T]): Map[LayerId, T]

    Permalink
    Definition Classes
    S3AttributeStore → AttributeStore
  39. def readCOGLayerAttributes[H, M](id: LayerId)(implicit arg0: JsonFormat[H], arg1: JsonFormat[M]): COGLayerAttributes[H, M]

    Permalink
    Definition Classes
    BlobLayerAttributeStore → LayerAttributeStore
  40. def readHeader[H](id: LayerId)(implicit arg0: JsonFormat[H]): H

    Permalink
    Definition Classes
    BlobLayerAttributeStore → LayerAttributeStore
  41. def readKeyIndex[K](id: LayerId)(implicit arg0: ClassTag[K]): KeyIndex[K]

    Permalink
    Definition Classes
    BlobLayerAttributeStore → LayerAttributeStore
  42. def readKeyIndexes[K](id: LayerId)(implicit arg0: ClassTag[K]): Map[ZoomRange, KeyIndex[K]]

    Permalink
    Definition Classes
    BlobLayerAttributeStore → AttributeStore
  43. def readLayerAttributes[H, M, K](id: LayerId)(implicit arg0: JsonFormat[H], arg1: JsonFormat[M], arg2: ClassTag[K]): LayerAttributes[H, M, K]

    Permalink
    Definition Classes
    BlobLayerAttributeStore → LayerAttributeStore
  44. def readMetadata[M](id: LayerId)(implicit arg0: JsonFormat[M]): M

    Permalink
    Definition Classes
    BlobLayerAttributeStore → LayerAttributeStore
  45. def readSchema(id: LayerId): Schema

    Permalink
    Definition Classes
    BlobLayerAttributeStore → LayerAttributeStore
  46. def s3Client: S3Client

    Permalink
  47. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  52. def write[T](layerId: LayerId, attributeName: String, value: T)(implicit arg0: JsonFormat[T]): Unit

    Permalink
    Definition Classes
    S3AttributeStore → AttributeStore
  53. def writeCOGLayerAttributes[H, M](id: LayerId, header: H, metadata: M)(implicit arg0: JsonFormat[H], arg1: JsonFormat[M]): Unit

    Permalink
    Definition Classes
    BlobLayerAttributeStore → LayerAttributeStore
  54. def writeLayerAttributes[H, M, K](id: LayerId, header: H, metadata: M, keyIndex: KeyIndex[K], schema: Schema)(implicit arg0: JsonFormat[H], arg1: JsonFormat[M], arg2: ClassTag[K]): Unit

    Permalink
    Definition Classes
    BlobLayerAttributeStore → LayerAttributeStore

Inherited from BlobLayerAttributeStore

Inherited from AttributeStore

Inherited from LayerAttributeStore

Inherited from Serializable

Inherited from Serializable

Inherited from AttributeCaching

Inherited from AnyRef

Inherited from Any

Ungrouped