Packages

package catalog

Contains an abstract Scala interface for accessing catalogs from Spark.

Use the com.here.platform.data.processing.catalog.Catalog factory methods to obtain instances.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. catalog
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class AppCredentials(id: String, code: String) extends Product with Serializable

    Models HERE app credentials, made up of an ID and a code.

    Models HERE app credentials, made up of an ID and a code. Not used with the Data API.

    id

    the app_id

    code

    the app_code

  2. case class AppInfo(appCredentials: AppCredentials, tag: Option[String] = None) extends Product with Serializable

    Models a HERE app information, made up of credentials and a tag.

    Models a HERE app information, made up of credentials and a tag.

    appCredentials

    The application credentials.

    tag

    The application tag.

  3. trait Catalog extends CatalogLight with CatalogNullMetrics with ContextLogging

    The interface to access the catalog metadata via Spark.

    The interface to access the catalog metadata via Spark.

    A catalog is partitioned logically into layers, to give clients the ability to only access the type of metadata that the client is interested in. A catalog can be configured to expose common properties and layer-specific properties. Metadata is versioned, so you can detect what has changed between two versions or retrieve metadata for a given version to provide a consistent view.

    This extends the base interface CatalogLight by providing methods to process metadata using Spark.

    You can retrieve the actual data by specifying the metadata and catalog configuration. This is implemented by com.here.platform.data.processing.blobstore.Retriever.

  4. trait CatalogFactory extends ServiceSupport

    A Catalog factory class.

    A Catalog factory class. Different implementations of the catalog interface must provide an implementation of the create method and specify which service(s) they support.

  5. trait CatalogLight extends AnyRef

    The interface to access basic catalog properties and perform the catalog operations that do not involve metadata or Spark.

  6. trait CatalogLightFactory extends ServiceSupport

    A CatalogLight factory class.

    A CatalogLight factory class. Different implementations of the catalog interface must provide an implementation of the create method and specify which service(s) they support.

  7. trait CatalogMetrics extends CatalogNullMetrics

    The mixin to add statistical calculation with Spark Accumulators.

  8. trait CatalogNullMetrics extends AnyRef

    The default mixin which does not collect any statistics.

  9. class CatalogProxy extends Catalog

    Proxy class to allow mixins for runtime loaded Catalog classes.

  10. sealed trait CatalogView extends CatalogViewLight

    Provides a view on a specific version of a catalog.

    Provides a view on a specific version of a catalog. The view may reference a non-existing version EmptyCatalogView, an existing version of a catalog CatalogViewAtVersion or an existing version of catalog with a reference to a previous version CatalogViewSinceVersion.

  11. final case class CatalogViewAtVersion(catalog: Catalog, version: Version) extends NonEmptyCatalogView with Product with Serializable

    Provides a view on a specific version of a catalog, without a reference to a previous version of the catalog.

    Provides a view on a specific version of a catalog, without a reference to a previous version of the catalog.

    catalog

    The catalog which is encapsulated by this view.

    version

    The version of the catalog. Must be non-negative.

  12. trait CatalogViewLight extends AnyRef

    Provides a view on a specific version of a CatalogLight.

  13. final case class CatalogViewSinceVersion(catalog: Catalog, version: Version, sinceVersion: Version) extends NonEmptyCatalogView with Product with Serializable

    Provides a view on a specific version of a catalog, with a reference to a previous version of the catalog, with respect to which changes are defined.

    Provides a view on a specific version of a catalog, with a reference to a previous version of the catalog, with respect to which changes are defined.

    catalog

    The catalog which is encapsulated by this view.

    version

    The version of the catalog. Must be non-negative.

    sinceVersion

    The version of the catalog with respect to which changes are calculated. Must be non-negative.

  14. case class Configuration(layers: Map[Id, LayerConfiguration]) extends Product with Serializable

    The interface for catalog configuration.

    The interface for catalog configuration.

    The configuration is a mapping from the layer ID to the layer-specific configuration.

  15. case class Dependency(hrn: HRN, version: Version, isDirect: Boolean) extends Product with Serializable

    The dependencies that were used to generate the data in a catalog.

    The dependencies that were used to generate the data in a catalog.

    hrn

    The HERE Resource Name for the catalog that was used to generate data for this version.

    version

    The version of the catalog that was used as a dependency.

    isDirect

    Whether the dependency is direct or indirect. Direct means that the data from this catalog was used by the filter processing the current version. Indirect means that the data from this catalog was not used by the filter processing the current version but it was only used by other upstream filters to generate the input data for this filter.

  16. sealed trait DependencyType extends AnyRef
  17. case class EmptyCatalogView(catalog: Catalog) extends CatalogView with Product with Serializable

    Provides a view on an empty catalog.

    Provides a view on an empty catalog. This can be used to model the access of a catalog in a version that does not exist.

    catalog

    The catalog which is encapsulated by this view.

  18. case class EndpointLocatorSettings(datastoreBaseUrl: Option[URL], blobstoreBaseUrl: Option[URL]) extends Product with Serializable

    Endpoint locator settings for a data store.

    Endpoint locator settings for a data store. Not used with the Data API.

    datastoreBaseUrl

    The base URL to the data store.

    blobstoreBaseUrl

    The base URL to the blob store.

  19. case class LayerConfiguration(partitioning: Scheme, dataUrl: Option[URL], properties: Map[String, String] = Map.empty, digest: Digest = DefaultDigest, compressed: Boolean = false) extends Product with Serializable

    Layer-specific configuration.

    Layer-specific configuration.

    Contains layer-specific parameters and partition data common to every partition in the layer. A layer is a partitioned dataset, for example, geo-spatially, that contains homogeneous feature data to be compiled.

    partitioning

    The partitioning scheme for the layer, either generic or heretile.

    dataUrl

    The prefix to use in front of the dataHandle for every partition. Not used with the Data API.

    properties

    Generic layer properties, such as the content type and schema bundle name. Not used with the Data API.

    digest

    The digest object used to compute the checksums for this layer.

    compressed

    Whether the layer is compressed (its contentEncoding is gzip).

  20. sealed trait NonEmptyCatalogView extends CatalogView

    Provides a view on an existing version of a non-empty catalog.

  21. trait QueryPersistence extends Catalog

    Persists RDDs that are returned by the Catalog querying APIs.

  22. trait QueryReuse extends QueryPersistence

    Reuses catalog query RDDs by persisting the corresponding RDD references in private mutable maps, similar to caches.

  23. trait ServiceSupport extends AnyRef

    Specifies if a given service is supported.

Value Members

  1. object AppInfo extends Serializable
  2. object Catalog

    Identifier to refer to a catalog in the compiler configuration.

  3. object CatalogLight
  4. object Dependency extends Serializable
  5. object DirectDependency extends DependencyType with Product with Serializable

    Catalog A is said to be directly dependent on Catalog B, if data from Catalog A was used to create Catalog B.

  6. object EndpointLocatorSettings extends Serializable
  7. object Implicits

    Implicit conversions for working with catalogs and partitions.

  8. object IndirectDependency extends DependencyType with Product with Serializable

    Catalog A is indirectly dependent on catalog B, if there is a catalog C from which data was used to create catalog A and data of Catalog B was used to create Catalog C.

  9. object Layer

    The model properties for layers and references to these layers.

  10. object Partition

    Groups common types to represent partitions, both generic and tiles, as well as various types of metadata that are used in the various stages of processing.

    Groups common types to represent partitions, both generic and tiles, as well as various types of metadata that are used in the various stages of processing. The information includes metadata returned by querying the catalog for a particular version, metadata returned by querying the differences between two versions, and metadata provided when committing a new version of a catalog.

  11. object Partitioning

    Layer partitioning traits.

Inherited from AnyRef

Inherited from Any

Ungrouped