Packages

package driver

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. trait Driver extends AnyRef

    Instantiates a Driver using a com.here.platform.data.processing.java.driver.DriverBuilder to run a Spark pipeline from one or more input catalogs to one output catalog, using the versions specified for all of the catalogs and the library configuration.

    Instantiates a Driver using a com.here.platform.data.processing.java.driver.DriverBuilder to run a Spark pipeline from one or more input catalogs to one output catalog, using the versions specified for all of the catalogs and the library configuration.

    This trait conceptually wraps together Catalogs, Retrievers, Uploaders, com.here.platform.data.processing.java.publisher.Publisher and processing code in the form of one or more DriverTasks.

  2. class DriverBuilder extends AnyRef

    Constructs a Driver from one or more DriverTasks.

    Constructs a Driver from one or more DriverTasks.

    You can build com.here.platform.data.processing.java.driver.DriverTasks using the TaskBuilders provided by this class and then you can add them to the DriverBuilder.

    Note

    This is a Java friendly version of com.here.platform.data.processing.driver.DriverBuilder.

  3. abstract class DriverContext extends AnyRef

    Provides access to a set of common resources a com.here.platform.data.processing.driver.Driver has that can be used by DriverTasks and Compilers.

    Provides access to a set of common resources a com.here.platform.data.processing.driver.Driver has that can be used by DriverTasks and Compilers.

    Note

    This is a Java friendly version of com.here.platform.data.processing.driver.DriverContext.

  4. trait DriverTask extends AnyRef

    A DriverTask processes input catalogs, given pairs of versions, and publishes the result to an output catalog, incrementing its version.

    A DriverTask processes input catalogs, given pairs of versions, and publishes the result to an output catalog, incrementing its version. One or more DriverTasks are attached to a Driver, which executes these DriverTasks sequentially.

    Note

    This is a Java friendly wrapper of com.here.platform.data.processing.driver.DriverTask.

  5. trait MultiCompilerTaskBuilder extends AnyRef

    Constructs a multi-compiler com.here.platform.data.processing.java.driver.DriverTask by creating com.here.platform.data.processing.driver.Executors for each compiler and their applicable com.here.platform.data.processing.driver.modes.TaskModes.

    Constructs a multi-compiler com.here.platform.data.processing.java.driver.DriverTask by creating com.here.platform.data.processing.driver.Executors for each compiler and their applicable com.here.platform.data.processing.driver.modes.TaskModes.

    Executors' IDs can be supplied or can be left out so that they are auto-generated. When supplied they must be unique or an exception will be thrown at runtime. When they are automatically generated they have the form of taskId-n where n is the index of the position of the executor in the constructed task sequence

    The resulting applicable mode is incremental, if all compilers in the driver task are incremental. Otherwise, it is non-incremental, even if only one non-incremental compiler is added to the task.

    When the task is executed, each compiler is executed sequentially. An output layer produced by a compiler can be used as input data for the subsequent steps.

    Note

    the class DriverBuilder offers the method DriverBuilder.newMultiCompilerTaskBuilder to create this builder, it is suggested to use it.

    ,

    This is a Java friendly version of com.here.platform.data.processing.driver.MultiCompilerTaskBuilder.

  6. trait TaskBuilder extends AnyRef

    Constructs a com.here.platform.data.processing.java.driver.DriverTask by creating an com.here.platform.data.processing.driver.Executor and its applicable com.here.platform.data.processing.driver.modes.TaskModes.

    Constructs a com.here.platform.data.processing.java.driver.DriverTask by creating an com.here.platform.data.processing.driver.Executor and its applicable com.here.platform.data.processing.driver.modes.TaskModes.

    Note

    This is a Java friendly version of com.here.platform.data.processing.driver.TaskBuilder.

  7. case class TaskResult(toCommit: Option[JavaPairRDD[Key, Commit]]) extends Product with Serializable

    The result obtained from processing a single DriverTask.

    The result obtained from processing a single DriverTask.

    toCommit

    The metadata to commit, if the DriverTask produced any. An empty java.util.Optional, otherwise.

Value Members

  1. object Default
  2. object DriverContext

Ungrouped