geotrellis.spark.io.s3

S3AttributeStore

class S3AttributeStore extends AttributeStore with BlobLayerAttributeStore

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

Linear Supertypes
BlobLayerAttributeStore, AttributeStore, LayerAttributeStore, AttributeCaching, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. S3AttributeStore
  2. BlobLayerAttributeStore
  3. AttributeStore
  4. LayerAttributeStore
  5. AttributeCaching
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

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

    bucket

    S3 bucket to use for attribute store

    prefix

    path in the bucket for given LayerId, not ending in "/"

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def attributePath(id: LayerId, attributeName: String): String

  8. def attributePrefix(attributeName: String): String

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

    Definition Classes
    S3AttributeStore → AttributeStore
  10. val bucket: String

    S3 bucket to use for attribute store

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

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

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

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

    Definition Classes
    AttributeCaching
  15. def clearCache(): Unit

    Definition Classes
    AttributeCaching
  16. def clone(): AnyRef

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

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

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

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

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

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

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

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

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

    Definition Classes
    AnyRef → Any
  26. final def isInstanceOf[T0]: Boolean

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

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

    Definition Classes
    S3AttributeStore → AttributeStore
  29. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  30. final def notify(): Unit

    Definition Classes
    AnyRef
  31. final def notifyAll(): Unit

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

    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.

  33. val prefix: String

    path in the bucket for given LayerId, not ending in "/"

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

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

    Definition Classes
    S3AttributeStore → AttributeStore
  36. def readHeader[H](id: LayerId)(implicit arg0: JsonFormat[H]): H

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

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

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

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

    Definition Classes
    BlobLayerAttributeStore → LayerAttributeStore
  41. val s3Client: S3Client

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

    Definition Classes
    AnyRef
  43. def toString(): String

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

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

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

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

    Definition Classes
    S3AttributeStore → AttributeStore
  48. 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

    Definition Classes
    BlobLayerAttributeStore → LayerAttributeStore

Inherited from BlobLayerAttributeStore

Inherited from AttributeStore

Inherited from LayerAttributeStore

Inherited from AttributeCaching

Inherited from AnyRef

Inherited from Any

Ungrouped