Packages

t

com.here.platform.data.processing.compiler

CompileOutLayerStackFn

trait CompileOutLayerStackFn[T] extends CompileOut1ToNFn[T]

Produces multiple layers, each with its com.here.platform.data.processing.blobstore.Payload, for each "nominal" output partition the compiler generates.

T

the custom type of the values passed between front-end and back-end

Linear Supertypes
CompileOut1ToNFn[T], CompileOutFn[T], Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CompileOutLayerStackFn
  2. CompileOut1ToNFn
  3. CompileOutFn
  4. Serializable
  5. Serializable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def compileOutFn(outKey: OutKey, intermediate: Iterable[T]): Map[OutKey, Payload]

    Compiles a single output partition.

    Compiles a single output partition.

    outKey

    the key of the output partition to generate

    intermediate

    non-empty scala.Iterable of intermediate data as provided by compileInFn which is required to compile the output partition. This collection will have multiple entries of the same value in case the same value was returned for this outKey by multiple compileInFn executions (for different input keys). outKeys which do not have any intermediate values assigned from the compileInFn calls get deleted automatically.

    returns

    output keys and their com.here.platform.data.processing.blobstore.Payload for each partition that contains data. Any old data for keys returned by compileOutMapping but not returned here will be automatically deleted from the catalog.

    Definition Classes
    CompileOut1ToNFn
  2. abstract def compileOutLayerMapping: Map[Id, Set[Id]]

    Map that defines which additional layers will be generated in the compile out function for every key of the given layer.

    Map that defines which additional layers will be generated in the compile out function for every key of the given layer. The keys of the additional layer(s) will have the same partition name as the keys in the intermediate data.

  3. abstract def preservesPartitioning: Boolean

    Defines if all output keys generated by compileOutMapping are in the same Spark partition as the input parameter outKey.

    Defines if all output keys generated by compileOutMapping are in the same Spark partition as the input parameter outKey. This can be guaranteed by using a com.here.platform.data.processing.spark.partitioner.PartitionNamePartitioner and in this case true should be returned

    When this is set to true the result of compileOutFn will not be repartitioned, allowing a common stage with the upload functionality of the driver task.

    Definition Classes
    CompileOut1ToNFn

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 compileOutFnDefined(): Unit

    Must be overridden as final by all subclasses, to block the mixin of different interfaces in the same compiler class and to assure that at least one child interface is mixed in.

    Must be overridden as final by all subclasses, to block the mixin of different interfaces in the same compiler class and to assure that at least one child interface is mixed in.

    Attributes
    protected
    Definition Classes
    CompileOut1ToNFnCompileOutFn
  7. final def compileOutMapping(outKey: OutKey): Set[OutKey]

    Defines which output keys the compile out function will generate for a given output key of the intermediate data.

    Defines which output keys the compile out function will generate for a given output key of the intermediate data.

    outKey

    the output key in the intermediate data

    returns

    Set of output keys that will be generated. Usually should contain outKey as well, unless the compileOutFn will not generate output with that key.

    Definition Classes
    CompileOutLayerStackFnCompileOut1ToNFn
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  18. def toString(): String
    Definition Classes
    AnyRef → Any
  19. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from CompileOut1ToNFn[T]

Inherited from CompileOutFn[T]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped