final class CatalogViewSinceVersion extends CatalogView with NonEmptyCatalogView
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.
- Alphabetic
- By Inheritance
- CatalogViewSinceVersion
- NonEmptyCatalogView
- CatalogView
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
CatalogViewSinceVersion(catalog: Catalog, version: Version, sinceVersion: Version)
- 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.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
val
catalog: Catalog
The catalog which is encapsulated by this view.
The catalog which is encapsulated by this view.
- Definition Classes
- CatalogViewSinceVersion → CatalogView
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
empty(partitioner: PartitionerOfKey): JavaPairRDD[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.java.spark.partitioner.PartitionerOfKey applied when constructing the RDD returned.
- returns
An empty RDD of (com.here.platform.data.processing.java.catalog.partition.Key, com.here.platform.data.processing.java.catalog.partition.Meta), which is partitioned according to the partitioner parameter.
- Definition Classes
- CatalogView
-
def
empty(): JavaPairRDD[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. This version uses the root log context.
- returns
An empty RDD of (com.here.platform.data.processing.java.catalog.partition.Key, com.here.platform.data.processing.java.catalog.partition.Meta), which is partitioned according to the default partitioner of the catalog.
- Definition Classes
- CatalogView
-
def
emptyChanges(partitioner: PartitionerOfKey): JavaPairRDD[Key, Change]
Creates a partitioned empty RDD of (Key, Change) in compliance with other methods of this component.
Creates a partitioned empty RDD of (Key, Change) in compliance with other methods of this component.
- partitioner
The com.here.platform.data.processing.java.spark.partitioner.PartitionerOfKey applied when constructing the RDD returned.
- returns
An empty RDD of (com.here.platform.data.processing.java.catalog.partition.Key, com.here.platform.data.processing.java.catalog.partition.Change), partitioned according to the partitioner parameter.
-
def
emptyChanges(): JavaPairRDD[Key, Change]
Creates a partitioned empty RDD of (Key, Change) in compliance with other methods of this component.
Creates a partitioned empty RDD of (Key, Change) in compliance with other methods of this component. This version uses the root log context.
- returns
An empty RDD of (com.here.platform.data.processing.java.catalog.partition.Key, com.here.platform.data.processing.java.catalog.partition.Change), partitioned according to the default partitioner.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hasChanges(layers: Set[String]): Boolean
Returns true if at least one of the given layers has changes between this and the previous version.
Returns true if at least one of the given layers has changes between this and the previous version.
- layers
The set of layers for which the changes should be queried.
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
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
- CatalogView
-
def
id: String
The unique identifier for the catalog, that is added to every com.here.platform.data.processing.java.catalog.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 com.here.platform.data.processing.java.catalog.partition.Key returned by the query APIs and is used by the commit API for logging and statistics generation.
- Definition Classes
- CatalogView
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
queryAll(layers: Set[String], partitioner: PartitionerOfKey): JavaPairRDD[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
-
def
queryAll(layers: Set[String]): JavaPairRDD[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.
- returns
The queried metadata in an RDD object partitioned according to the default partitioner of the catalog.
- Definition Classes
- NonEmptyCatalogView
-
def
queryChanges(layers: Set[String], partitioner: PartitionerOfKey): JavaPairRDD[Key, Change]
Queries metadata of all the partitions in a given set of layers changed.
Queries metadata of all the partitions in a given set of layers changed.
Creates an RDD containing the queries metadata.
- layers
The set of layers for which the partitions should be queried.
- partitioner
The com.here.platform.data.processing.java.spark.partitioner.PartitionerOfKey applied when constructing the RDD returned.
- returns
The queried metadata in an RDD object partitioned according to the partitioner parameter.
-
def
queryChanges(layers: Set[String]): JavaPairRDD[Key, Change]
Queries metadata of all the partitions in a given set of layers changed.
Queries metadata of all the partitions in a given set of layers changed.
Creates an RDD containing the queries metadata.
- layers
The set of layers for which the partitions should be queried.
- returns
The queried metadata in an RDD object partitioned according to the default partitioner.
-
def
queryDependencies(): List[Dependency]
Queries the dependencies of the catalog at the version of the view.
Queries the dependencies of the catalog at the version of the view.
- returns
The dependencies of the catalog version.
- Definition Classes
- NonEmptyCatalogView
-
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
- CatalogView
- val sinceVersion: Version
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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
- CatalogViewSinceVersion → NonEmptyCatalogView
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()