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
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
    S3AttributeStoreAttributeStore
  8. val bucket: String

    Permalink

    S3 bucket to use for attribute store

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    S3AttributeStoreAttributeStore
  18. def delete(layerId: LayerId, attributeName: String): Unit

    Permalink
    Definition Classes
    S3AttributeStoreAttributeStore
  19. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

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

    Permalink
    Definition Classes
    S3AttributeStoreAttributeStore
  26. def layerIds: Seq[LayerId]

    Permalink
    Definition Classes
    S3AttributeStoreAttributeStore
  27. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  30. 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.

  31. val prefix: String

    Permalink

    path in the bucket for given LayerId

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

    Permalink
    Definition Classes
    S3AttributeStoreAttributeStore
  33. def readAll[T](attributeName: String)(implicit arg0: JsonFormat[T]): Map[LayerId, T]

    Permalink
    Definition Classes
    S3AttributeStoreAttributeStore
  34. def readHeader[H](id: LayerId)(implicit arg0: JsonFormat[H]): H

    Permalink
  35. def readKeyIndex[K](id: LayerId)(implicit arg0: ClassTag[K]): KeyIndex[K]

    Permalink
  36. def readLayerAttributes[H, M, K](id: LayerId)(implicit arg0: JsonFormat[H], arg1: JsonFormat[M], arg2: ClassTag[K]): LayerAttributes[H, M, K]

    Permalink
  37. def readMetadata[M](id: LayerId)(implicit arg0: JsonFormat[M]): M

    Permalink
  38. def readSchema(id: LayerId): Schema

    Permalink
  39. def s3Client: S3Client

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

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

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

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

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

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

    Permalink
    Definition Classes
    S3AttributeStoreAttributeStore
  46. 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

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