class FileAttributeStore extends BlobLayerAttributeStore

Stores and retrieves layer attributes from the file system.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FileAttributeStore
  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 FileAttributeStore(catalogPath: String)

    catalogPath

    The directory of the base catalog

Value Members

  1. val attributeDirectory: File
  2. def attributeFile(layerId: LayerId, attributeName: String): File
  3. def attributeFiles(layerId: LayerId): Seq[(String, File)]
  4. def availableAttributes(layerId: LayerId): Seq[String]
    Definition Classes
    FileAttributeStoreAttributeStore
  5. 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
    AttributeStore
  6. def cacheLayerType(layerId: LayerId, layerType: LayerType): LayerType
    Definition Classes
    AttributeCaching
  7. def cacheRead[T](layerId: LayerId, attributeName: String)(implicit arg0: Decoder[T]): T
    Definition Classes
    AttributeCaching
  8. def cacheWrite[T](layerId: LayerId, attributeName: String, value: T)(implicit arg0: Encoder[T]): Unit
    Definition Classes
    AttributeCaching
  9. val catalogPath: String
  10. def clearCache(id: LayerId, attribute: String): Unit
    Definition Classes
    AttributeCaching
  11. def clearCache(id: LayerId): Unit
    Definition Classes
    AttributeCaching
  12. def clearCache(): Unit
    Definition Classes
    AttributeCaching
  13. def copy(from: LayerId, to: LayerId, attributes: Seq[String]): Unit
    Definition Classes
    AttributeStore
  14. def copy(from: LayerId, to: LayerId): Unit
    Definition Classes
    AttributeStore
  15. def delete(layerId: LayerId): Unit
    Definition Classes
    FileAttributeStoreAttributeStore
  16. def delete(layerId: LayerId, attributeName: String): Unit
    Definition Classes
    FileAttributeStoreAttributeStore
  17. def isCOGLayer(id: LayerId): Boolean
    Definition Classes
    AttributeStore
  18. def layerAttributeFiles(layerId: LayerId): Seq[File]
  19. def layerExists(layerId: LayerId): Boolean
    Definition Classes
    FileAttributeStoreAttributeStore
  20. def layerIds: Seq[LayerId]
    Definition Classes
    FileAttributeStoreAttributeStore
  21. def layerType(id: LayerId): LayerType
    Definition Classes
    AttributeStore
  22. 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
  23. def read[T](layerId: LayerId, attributeName: String)(implicit arg0: Decoder[T]): T
    Definition Classes
    FileAttributeStoreAttributeStore
  24. def read[T](file: File)(implicit arg0: Decoder[T]): (LayerId, T)
  25. def readAll[T](attributeName: String)(implicit arg0: Decoder[T]): Map[LayerId, T]
    Definition Classes
    FileAttributeStoreAttributeStore
  26. def readCOGLayerAttributes[H, M](id: LayerId)(implicit arg0: Decoder[H], arg1: Decoder[M]): COGLayerAttributes[H, M]
  27. def readHeader[H](id: LayerId)(implicit arg0: Decoder[H]): H
  28. def readKeyIndex[K](id: LayerId)(implicit arg0: ClassTag[K]): KeyIndex[K]
  29. def readKeyIndexes[K](id: LayerId)(implicit arg0: ClassTag[K]): Map[ZoomRange, KeyIndex[K]]
  30. def readLayerAttributes[H, M, K](id: LayerId)(implicit arg0: Decoder[H], arg1: Decoder[M], arg2: ClassTag[K]): LayerAttributes[H, M, K]
  31. def readMetadata[M](id: LayerId)(implicit arg0: Decoder[M]): M
  32. def readSchema(id: LayerId): Schema
  33. def write[T](layerId: LayerId, attributeName: String, value: T)(implicit arg0: Encoder[T]): Unit
    Definition Classes
    FileAttributeStoreAttributeStore
  34. def writeCOGLayerAttributes[H, M](id: LayerId, header: H, metadata: M)(implicit arg0: Encoder[H], arg1: Encoder[M]): Unit
  35. 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