Packages

trait PublishingMode extends AnyRef

Represent a policy to publish payloads to a catalog.

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

Abstract Value Members

  1. abstract def correlate(current: RDD[(Key, Meta)], candidates: RDD[(Key, Option[Payload])], digests: Map[Id, Digest], statistics: Option[Map[Id, PublisherStats]] = None): RDD[(Key, Option[DigestedPayload])]

    Correlates metadata of what is already published in the output catalog with candidate com.here.platform.data.processing.blobstore.Payloads to be published, discard data that hasn't changed and return what has to be uploaded or deleted.

    Correlates metadata of what is already published in the output catalog with candidate com.here.platform.data.processing.blobstore.Payloads to be published, discard data that hasn't changed and return what has to be uploaded or deleted.

    current

    Metadata currently published in the output catalog.

    candidates

    Candidate payloads.

    digests

    Digest objects to compute the checksum of the payloads based on the layer.

    statistics

    Statistic per layer to be updated.

    returns

    What has to be uploaded or deleted.

Concrete 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. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  16. def toBeUploaded(payload: DigestedPayload, meta: Meta): Boolean

    Checks whether a com.here.platform.data.processing.blobstore.Payload needs to be uploaded given the metadata of the payload already present in the output catalog.

    Checks whether a com.here.platform.data.processing.blobstore.Payload needs to be uploaded given the metadata of the payload already present in the output catalog. The check is performed using content checksums.

    payload

    the com.here.platform.data.processing.blobstore.DigestedPayload containing the data candidate to be uploaded and the checksum.

    meta

    the current content metadata stored in the catalog.

    returns

    if the payload is different and therefore needs to be uploaded.

    Attributes
    protected
  17. def toString(): String
    Definition Classes
    AnyRef → Any
  18. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped