package job
Type Members
-
case class
InCatalog(hrn: HRN, processingType: ProcessingType) extends Product with Serializable
What is needed to process data from an input catalog
What is needed to process data from an input catalog
- hrn
HRN of the catalog that should be processed
- processingType
Which version(s) of this catalog should be processed
-
case class
Job(inCatalogs: Map[Id, InCatalog], outCatalog: OutCatalog, appInfo: Option[AppInfo], commitToken: Option[String]) extends Product with Serializable
Actual configuration for a job.
Actual configuration for a job. Contains catalog changeset information along with multipart commit token which should be used to commit data.
The com.here.platform.data.processing.driver.Driver requires a Job to run.
- inCatalogs
the set of upstream catalogs to use for processing, each with its com.here.platform.data.processing.catalog.Catalog.Id, HRNs and processing types.
- outCatalog
the references to the output catalog
- appInfo
the app info to use when committing to the output catalog
- commitToken
multipart commit token
- Note
For unit test, synthesize a Job class directly with the parameters needed for the tests
-
case class
JobVersions(inCatalogs: Map[Id, ProcessingType], outCatalog: BaseVersion) extends Product with Serializable
A reduced version of Job, that contains just the versions being processed.
A reduced version of Job, that contains just the versions being processed.
- inCatalogs
the set of upstream catalogs to use for processing, each with its com.here.platform.data.processing.catalog.Catalog.Id and which versions to process
- outCatalog
the com.here.platform.data.processing.catalog.utils.BaseVersion of the output catalog on top of which it is being committed
- Note
For unit test, synthesize a JobVersions class directly with the parameters needed for the tests
-
case class
OutCatalog(hrn: HRN, baseVersion: BaseVersion) extends Product with Serializable
Contains what is needed to publish to the output catalog.
Contains what is needed to publish to the output catalog.
- hrn
HRN of the output catalog
- baseVersion
the base version of the catalog on top of which to commit