package direct
Type Members
-
trait
CompileInFn[T] extends Serializable
This trait requires the implementation of two methods, one providing the mapping of the output partitions in terms of input partitions, and the second to preprocess the input partitions to an intermediate data format.
This trait requires the implementation of two methods, one providing the mapping of the output partitions in terms of input partitions, and the second to preprocess the input partitions to an intermediate data format.
The mapping entries are collected and provided to com.here.platform.data.processing.compiler.direct.CompileOutFn.
- T
the custom type of the values passed to the back-end
- Note
The implementation must be scala.Serializable as this is copied to workers and run inside Spark map functions.
-
trait
CompileOutFn[T] extends Serializable
The interface to the compilation logic for the special case where one output partition is a function of one and only one input partition.
The interface to the compilation logic for the special case where one output partition is a function of one and only one input partition. It is required that each output partition is the result of the mapping of one input partition only.
- T
the custom type of the values passed from the front-end
- Note
The implementation must be scala.Serializable as this is copied to workers and run inside Spark map functions.