Packages

c

com.here.platform.data.processing.catalog

CatalogViewAtVersion

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.

catalog

The catalog which is encapsulated by this view.

version

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

Linear Supertypes
Serializable, Serializable, Product, Equals, NonEmptyCatalogView, CatalogView, CatalogViewLight, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CatalogViewAtVersion
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. NonEmptyCatalogView
  7. CatalogView
  8. CatalogViewLight
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CatalogViewAtVersion(catalog: Catalog, version: Version)

    catalog

    The catalog which is encapsulated by this view.

    version

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

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. val catalog: Catalog

    The catalog which is encapsulated by this view.

    The catalog which is encapsulated by this view.

    Definition Classes
    CatalogViewAtVersionCatalogViewCatalogViewLight
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. def empty(partitioner: Partitioner[Key] = catalog.defaultPartitioner): RDD[(Key, Meta)]

    Creates a partitioned empty RDD of (Key, Meta) in compliance with other methods of this component.

    Creates a partitioned empty RDD of (Key, Meta) in compliance with other methods of this component.

    partitioner

    The com.here.platform.data.processing.spark.partitioner.Partitioner applied when constructing the RDD returned.

    returns

    An empty RDD of (Partition.Key, Partition.Meta), which is partitioned according to the partitioner parameter.

    Definition Classes
    CatalogView
  8. def emptyChanges(partitioner: Partitioner[Key] = catalog.defaultPartitioner): RDD[(Key, Change)]

    Creates a partitioned empty RDD of (Partition.Key, Partition.Change) in compliance with other methods of this component.

    Creates a partitioned empty RDD of (Partition.Key, Partition.Change) in compliance with other methods of this component.

    partitioner

    The com.here.platform.data.processing.spark.partitioner.Partitioner applied when constructing the RDD returned.

    returns

    An empty RDD of (Partition.Key, Partition.Change), partitioned according to the partitioner parameter.

    Definition Classes
    CatalogView
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def hrn: HRN

    The HRN (HERE Resource Name) of the catalog.

    The HRN (HERE Resource Name) of the catalog. It is a resource descriptor that provides a globally unique handle for a catalog in the sense of an instance.

    Definition Classes
    CatalogViewLight
  13. def id: Id

    The unique identifier for the catalog, that is added to every Partition.Key returned by the query APIs and is used by the commit API for logging and statistics generation.

    The unique identifier for the catalog, that is added to every Partition.Key returned by the query APIs and is used by the commit API for logging and statistics generation.

    Definition Classes
    CatalogViewLight
    See also

    Catalog.Id for more details.

  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. def queryAll(layers: Set[Id], partitioner: Partitioner[Key] = catalog.defaultPartitioner): RDD[(Key, Meta)]

    Queries metadata of all the partitions in a given set of layers.

    Queries metadata of all the partitions in a given set of layers.

    Creates an RDD containing the queried metadata.

    layers

    The set of layers for which the partitions should be queried.

    partitioner

    The com.here.platform.data.processing.spark.partitioner.Partitioner applied when constructing the RDD returned.

    returns

    The queried metadata in an RDD object partitioned according to the partitioner parameter.

    Definition Classes
    NonEmptyCatalogView
  19. def queryDependencies(): Seq[Dependency]

    Queries the dependencies for the catalog.

    Queries the dependencies for the catalog.

    returns

    The dependencies of the catalog version.

    Definition Classes
    NonEmptyCatalogView
  20. def querySinglePartitions(layer: Id, partitions: Set[Name]): Map[Key, Meta]

    Queries metadata for the selected partitions.

    Queries metadata for the selected partitions.

    You can query up to 100 partitions with one call.

    layer

    The layer that contains the partitions being queried.

    partitions

    The partition names that should be queried.

    returns

    The queried metadata, for partitions that have content in the version referenced by this catalog view. Partitions not present are not returned.

    Definition Classes
    NonEmptyCatalogViewCatalogViewLight
    Note

    Querying large amounts of metadata using this function is expensive and should be avoided. Instead, CatalogView.queryAll(...) should be used whenever possible.

  21. def retriever: Retriever

    Exposes the Retriever for this catalog.

    Exposes the Retriever for this catalog. The returned object can be captured in Spark functions and transmitted to worker nodes.

    Definition Classes
    CatalogViewLight
  22. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  23. val version: Version

    The catalog version which is encapsulated by this view.

    The catalog version which is encapsulated by this view. Must be non-negative.

    Definition Classes
    CatalogViewAtVersionNonEmptyCatalogView
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from NonEmptyCatalogView

Inherited from CatalogView

Inherited from CatalogViewLight

Inherited from AnyRef

Inherited from Any

Ungrouped