Packages

trait CompileOut1ToNFn[T] extends CompileOutFn[T]

Produces multiple OutKeys and com.here.platform.data.processing.java.blobstore.Payloads for each "nominal" output partition the compiler generates.

T

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

Note

This is a Java friendly version of com.here.platform.data.processing.compiler.CompileOut1ToNFn.

Linear Supertypes
CompileOutFn[T], Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CompileOut1ToNFn
  2. CompileOutFn
  3. Serializable
  4. Serializable
  5. AnyRef
  6. 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 com.here.platform.data.processing.java.Java.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.java.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.

  2. abstract 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.

  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.

    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.

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 CompileOutFn[T]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped