Packages

t

com.here.platform.data.processing.java.driver

MultiCompilerTaskBuilder

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.

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.

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

Abstract Value Members

  1. abstract def addDepCompiler[T](compiler: DepCompiler[T], clazz: Class[T], executorId: String): MultiCompilerTaskBuilder

    Adds a com.here.platform.data.processing.java.compiler.DepCompiler to the multi-compilers driver task.

    Adds a com.here.platform.data.processing.java.compiler.DepCompiler to the multi-compilers driver task.

    T

    The type of the values passed between compileIn and compileOut.

    compiler

    A com.here.platform.data.processing.java.compiler.DepCompiler compiler.

    clazz

    The class object of type T.

    executorId

    The executor id. Should be unique for this driver task.

    returns

    this MultiCompilerTaskBuilder

  2. abstract def addDepCompiler[T](compiler: DepCompiler[T], clazz: Class[T]): MultiCompilerTaskBuilder

    Adds a com.here.platform.data.processing.java.compiler.DepCompiler to the multi-compilers driver task.

    Adds a com.here.platform.data.processing.java.compiler.DepCompiler to the multi-compilers driver task. The executor Id is auto-generated.

    T

    The type of the values passed between compileIn and compileOut.

    compiler

    A com.here.platform.data.processing.java.compiler.DepCompiler compiler.

    clazz

    The class object of type T.

    returns

    this MultiCompilerTaskBuilder

  3. abstract def addDirect1ToNCompiler[T](compiler: Direct1ToNCompiler[T], clazz: Class[T], executorId: String): MultiCompilerTaskBuilder

    Adds a com.here.platform.data.processing.java.compiler.Direct1ToNCompiler to the multi-compilers driver task.

    Adds a com.here.platform.data.processing.java.compiler.Direct1ToNCompiler to the multi-compilers driver task.

    T

    The type of the values passed between compileIn and compileOut.

    compiler

    A com.here.platform.data.processing.java.compiler.Direct1ToNCompiler compiler.

    clazz

    The class object of type T.

    executorId

    The executor id. Should be unique for this driver task.

    returns

    this MultiCompilerTaskBuilder

  4. abstract def addDirect1ToNCompiler[T](compiler: Direct1ToNCompiler[T], clazz: Class[T]): MultiCompilerTaskBuilder
  5. abstract def addDirectMToNCompiler[T](compiler: DirectMToNCompiler[T], clazz: Class[T], executorId: String): MultiCompilerTaskBuilder

    Adds a com.here.platform.data.processing.java.compiler.DirectMToNCompiler to the multi-compilers driver task.

    Adds a com.here.platform.data.processing.java.compiler.DirectMToNCompiler to the multi-compilers driver task.

    T

    The type of the values passed between compileIn and compileOut.

    compiler

    A com.here.platform.data.processing.java.compiler.DirectMToNCompiler compiler.

    clazz

    The class object of type T.

    executorId

    The executor id. Should be unique for this driver task.

    returns

    this MultiCompilerTaskBuilder

  6. abstract def addDirectMToNCompiler[T](compiler: DirectMToNCompiler[T], clazz: Class[T]): MultiCompilerTaskBuilder

    Adds a com.here.platform.data.processing.java.compiler.DirectMToNCompiler to the multi-compilers driver task.

    Adds a com.here.platform.data.processing.java.compiler.DirectMToNCompiler to the multi-compilers driver task. The executor Id is auto-generated.

    T

    The type of the values passed between compileIn and compileOut.

    compiler

    A com.here.platform.data.processing.java.compiler.DirectMToNCompiler compiler.

    clazz

    The class object of type T.

    returns

    this MultiCompilerTaskBuilder

  7. abstract def addIncrementalDepCompiler[T, C](compiler: IncrementalDepCompiler[T, C], clazz: Class[T], executorId: String): MultiCompilerTaskBuilder

    Adds a com.here.platform.data.processing.java.compiler.IncrementalDepCompiler to the multi-compilers driver task.

    T

    The type of the values passed between compileIn and compileOut.

    C

    The type of the opaque object carried over from updateDepGraph to compileIn.

    compiler

    A com.here.platform.data.processing.java.compiler.IncrementalDepCompiler compiler.

    clazz

    The class object of type T.

    executorId

    The executor id. Should be unique for this driver task.

    returns

    this MultiCompilerTaskBuilder

  8. abstract def addIncrementalDepCompiler[T, C](compiler: IncrementalDepCompiler[T, C], clazz: Class[T]): MultiCompilerTaskBuilder

    Adds a com.here.platform.data.processing.java.compiler.IncrementalDepCompiler to the multi-compilers driver task.

    Adds a com.here.platform.data.processing.java.compiler.IncrementalDepCompiler to the multi-compilers driver task. The executor Id is auto-generated.

    T

    The type of the values passed between compileIn and compileOut.

    C

    The type of the opaque object carried over from updateDepGraph to compileIn.

    compiler

    A com.here.platform.data.processing.java.compiler.IncrementalDepCompiler compiler.

    clazz

    The class object of type T.

    returns

    this MultiCompilerTaskBuilder

  9. abstract def addMapGroupCompiler[T](compiler: MapGroupCompiler[T], clazz: Class[T], executorId: String): MultiCompilerTaskBuilder

    Adds a com.here.platform.data.processing.java.compiler.MapGroupCompiler to the multi-compilers driver task.

    Adds a com.here.platform.data.processing.java.compiler.MapGroupCompiler to the multi-compilers driver task.

    T

    The type of the values passed between compileIn and compileOut.

    compiler

    A com.here.platform.data.processing.java.compiler.MapGroupCompiler compiler.

    clazz

    The class object of type T.

    executorId

    The executor id. Should be unique for this driver task.

    returns

    this MultiCompilerTaskBuilder

  10. abstract def addMapGroupCompiler[T](compiler: MapGroupCompiler[T], clazz: Class[T]): MultiCompilerTaskBuilder

    Adds a com.here.platform.data.processing.java.compiler.MapGroupCompiler to the multi-compilers driver task.

    Adds a com.here.platform.data.processing.java.compiler.MapGroupCompiler to the multi-compilers driver task. The executor Id is auto-generated.

    T

    The type of the values passed between compileIn and compileOut.

    compiler

    A com.here.platform.data.processing.java.compiler.MapGroupCompiler compiler.

    clazz

    The class object of type T.

    returns

    this MultiCompilerTaskBuilder

  11. abstract def addNonIncrementalCompiler(compiler: NonIncrementalCompiler, executorId: String): MultiCompilerTaskBuilder

    Adds a com.here.platform.data.processing.java.compiler.NonIncrementalCompiler to the multi-compilers driver task.

    compiler

    A com.here.platform.data.processing.java.compiler.NonIncrementalCompiler compiler.

    executorId

    The executor id. Should be unique for this driver task.

    returns

    this MultiCompilerTaskBuilder

  12. abstract def addNonIncrementalCompiler(compiler: NonIncrementalCompiler): MultiCompilerTaskBuilder

    Adds a com.here.platform.data.processing.java.compiler.NonIncrementalCompiler to the multi-compilers driver task.

    Adds a com.here.platform.data.processing.java.compiler.NonIncrementalCompiler to the multi-compilers driver task. The executor Id is auto-generated.

    compiler

    A com.here.platform.data.processing.java.compiler.NonIncrementalCompiler compiler.

    returns

    this MultiCompilerTaskBuilder

  13. abstract def addRefTreeCompiler[T](compiler: RefTreeCompiler[T], clazz: Class[T], executorId: String): MultiCompilerTaskBuilder

    Adds a com.here.platform.data.processing.java.compiler.RefTreeCompiler to the multi-compilers driver task.

    Adds a com.here.platform.data.processing.java.compiler.RefTreeCompiler to the multi-compilers driver task.

    T

    The type of the values passed between compileIn and compileOut.

    compiler

    A com.here.platform.data.processing.java.compiler.RefTreeCompiler compiler.

    clazz

    The class object of type T.

    executorId

    The executor id. Should be unique for this driver task.

    returns

    this MultiCompilerTaskBuilder

  14. abstract def addRefTreeCompiler[T](compiler: RefTreeCompiler[T], clazz: Class[T]): MultiCompilerTaskBuilder

    Adds a com.here.platform.data.processing.java.compiler.RefTreeCompiler to the multi-compilers driver task.

    Adds a com.here.platform.data.processing.java.compiler.RefTreeCompiler to the multi-compilers driver task. The executor Id is auto-generated.

    T

    The type of the values passed between compileIn and compileOut.

    compiler

    A com.here.platform.data.processing.java.compiler.RefTreeCompiler compiler.

    clazz

    The class object of type T.

    returns

    this MultiCompilerTaskBuilder

  15. abstract def build(): DriverTask

    Constructs a new com.here.platform.data.processing.java.driver.DriverTask that can run multiple compilers chained together in one of the modes applicable for all the compilers.

    Constructs a new com.here.platform.data.processing.java.driver.DriverTask that can run multiple compilers chained together in one of the modes applicable for all the compilers.

    returns

    the constructed multi-executor driver task

    Note

    The builder cannot be reused to avoid creating a driver task with a duplicated ID; an IllegalArgument exception is thrown.

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 toString(): String
    Definition Classes
    AnyRef → Any
  17. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped