class S3AttributeStore extends BlobLayerAttributeStore

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

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, s3Client: ⇒ S3Client = S3ClientProducer.get())

    bucket

    S3 bucket to use for attribute store

    prefix

    path in the bucket for given LayerId

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def attributePath(id: LayerId, attributeName: String): String
  6. def attributePrefix(attributeName: String): String
  7. def availableAttributes(layerId: LayerId): Seq[String]
    Definition Classes
    S3AttributeStoreAttributeStore
  8. def availableZoomLevels(layerName: String): Seq[Int]

    Return a sequence of available zoom levels for a named layer.

    Return a sequence of available zoom levels for a named layer.

    This function should be re-implemented by AttributeStore subclasses so that catalogs with large numbers of layers can be queried efficiently.

    Definition Classes
    S3AttributeStoreAttributeStore
  9. val bucket: String
  10. def cacheLayerType(layerId: LayerId, layerType: LayerType): LayerType
    Definition Classes
    AttributeCaching
  11. def cacheRead[T](layerId: LayerId, attributeName: String)(implicit arg0: Decoder[T]): T
    Definition Classes
    AttributeCaching
  12. def cacheWrite[T](layerId: LayerId, attributeName: String, value: T)(implicit arg0: Encoder[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. lazy val client: S3Client
    Annotations
    @transient()
  17. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  18. def copy(from: LayerId, to: LayerId, attributes: Seq[String]): Unit
    Definition Classes
    AttributeStore
  19. def copy(from: LayerId, to: LayerId): Unit
    Definition Classes
    AttributeStore
  20. def delete(layerId: LayerId): Unit
    Definition Classes
    S3AttributeStoreAttributeStore
  21. def delete(layerId: LayerId, attributeName: String): Unit
    Definition Classes
    S3AttributeStoreAttributeStore
  22. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  24. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  25. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  26. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  27. def isCOGLayer(id: LayerId): Boolean
    Definition Classes
    AttributeStore
  28. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  29. def layerExists(layerId: LayerId): Boolean
    Definition Classes
    S3AttributeStoreAttributeStore
  30. def layerIds: Seq[LayerId]
    Definition Classes
    S3AttributeStoreAttributeStore
  31. def layerType(id: LayerId): LayerType
    Definition Classes
    AttributeStore
  32. def layersWithZoomLevels: Map[String, Seq[Int]]

    Return a map with layer names and the list of available zoom levels for each.

    Return a map with layer names and the list of available zoom levels for each.

    This function should be re-implemented by AttributeStore subclasses so that catalogs with large numbers of layers can be queried efficiently.

    Definition Classes
    AttributeStore
  33. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  34. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  35. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  36. 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.

  37. val prefix: String
  38. def read[T](layerId: LayerId, attributeName: String)(implicit arg0: Decoder[T]): T
    Definition Classes
    S3AttributeStoreAttributeStore
  39. def readAll[T](attributeName: String)(implicit arg0: Decoder[T]): Map[LayerId, T]
    Definition Classes
    S3AttributeStoreAttributeStore
  40. def readCOGLayerAttributes[H, M](id: LayerId)(implicit arg0: Decoder[H], arg1: Decoder[M]): COGLayerAttributes[H, M]
  41. def readHeader[H](id: LayerId)(implicit arg0: Decoder[H]): H
  42. def readKeyIndex[K](id: LayerId)(implicit arg0: ClassTag[K]): KeyIndex[K]
  43. def readKeyIndexes[K](id: LayerId)(implicit arg0: ClassTag[K]): Map[ZoomRange, KeyIndex[K]]
  44. def readLayerAttributes[H, M, K](id: LayerId)(implicit arg0: Decoder[H], arg1: Decoder[M], arg2: ClassTag[K]): LayerAttributes[H, M, K]
  45. def readMetadata[M](id: LayerId)(implicit arg0: Decoder[M]): M
  46. def readSchema(id: LayerId): Schema
  47. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  48. def toString(): String
    Definition Classes
    AnyRef → Any
  49. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  50. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  51. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  52. def write[T](layerId: LayerId, attributeName: String, value: T)(implicit arg0: Encoder[T]): Unit
    Definition Classes
    S3AttributeStoreAttributeStore
  53. def writeCOGLayerAttributes[H, M](id: LayerId, header: H, metadata: M)(implicit arg0: Encoder[H], arg1: Encoder[M]): Unit
  54. def writeLayerAttributes[H, M, K](id: LayerId, header: H, metadata: M, keyIndex: KeyIndex[K], schema: Schema)(implicit arg0: Encoder[H], arg1: Encoder[M], arg2: ClassTag[K]): Unit

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