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.
- Alphabetic
- By Inheritance
- 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 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.
-
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.
-
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
-
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
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()