Packages

class Publisher extends AnyRef

Publishes payloads, in the form of an RDD of com.here.platform.data.processing.catalog.Partition.Key and com.here.platform.data.processing.blobstore.Payload, to the Blob API and returns RDD of com.here.platform.data.processing.catalog.Partition.Commit to be committed to the Metadata API.

Note

both the full snapshot and the incremental one are implemented here the difference is mainly in the filtering strategy adopted

,

metadata related to the published payloads need to be committed in a subsequent operation

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

Instance Constructors

  1. new Publisher(uploader: Uploader, numThreads: Int, uniquePartitionLimitInBytes: Int, statistics: Option[Map[Id, PublisherStats]] = None)

    Creates a new publisher.

    Creates a new publisher.

    uploader

    The com.here.platform.data.processing.blobstore.Uploader object.

    numThreads

    The number of uploads to perform in parallel.

    statistics

    The optional statistics counters.

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 clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. val dataPublisher: DataPublisher
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. def publishFullSnapshot(current: RDD[(Key, Meta)], candidates: RDD[(Key, Option[Payload])]): RDD[(Key, Commit)]

    Publishes a full snapshot of data.

    Publishes a full snapshot of data.

    current

    The RDD containing the catalog's current status.

    candidates

    the RDD containing the candidate operations to upload.

    returns

    the metadata RDD that were already published but not yet committed.

    Note

    Candidate operations are potential operations that can be done, depending on the status of the catalog. These operations depend on whether there is duplicated content or not, as duplicated content do not have to be published. This function deletes content in the current RDD that is not present in the candidates' RDD.

  17. def publishIncrementalSnapshot(current: RDD[(Key, Meta)], candidates: RDD[(Key, Option[Payload])]): RDD[(Key, Commit)]

    Publishes an increment snapshot of data.

    Publishes an increment snapshot of data.

    current

    The RDD containing the catalog's current status.

    candidates

    the RDD containing the candidate operations to upload.

    returns

    the metadata RDD that were already published but not yet committed.

    Note

    Candidate operations are potential operations that can be done, depending on the status of the catalog. These operations depend on whether there is duplicated content or not, as duplicated content do not have to be published.

  18. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  19. def toString(): String
    Definition Classes
    AnyRef → Any
  20. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped