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
- Alphabetic
- By Inheritance
- CompileOutLayerStackFn
- CompileOut1ToNFn
- CompileOutFn
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
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
-
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.
-
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
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
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
- CompileOut1ToNFn → CompileOutFn
-
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
- CompileOutLayerStackFn → CompileOut1ToNFn
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()