case class CompileInConfig(threads: Int, sorting: Boolean) extends Product with Serializable
The configuration for the compileIn function.
- threads
The number of parallel compileIn functions to execute per Spark task. This can be used to tune the CPU load/memory consumption of specific compileIn implementations.
- sorting
If true, compileIn executes over the Spark partitions sorted by partition key. In cases where compileIn retrieves additional payloads which are geographically close to the partition compileIn is producing, consider using a com.here.platform.data.processing.spark.partitioner.LocalityAwarePartitioner together with a cache for the additional content. This pattern improves performance and avoids retrieving and decoding the additional content multiple times. This parameter sorts the partition being produced by partition key, in this case locality, consequently improving the hit or miss ratio for the cache you implement in your code.
- Alphabetic
- By Inheritance
- CompileInConfig
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
CompileInConfig(threads: Int, sorting: Boolean)
- threads
The number of parallel compileIn functions to execute per Spark task. This can be used to tune the CPU load/memory consumption of specific compileIn implementations.
- sorting
If true, compileIn executes over the Spark partitions sorted by partition key. In cases where compileIn retrieves additional payloads which are geographically close to the partition compileIn is producing, consider using a com.here.platform.data.processing.spark.partitioner.LocalityAwarePartitioner together with a cache for the additional content. This pattern improves performance and avoids retrieving and decoding the additional content multiple times. This parameter sorts the partition being produced by partition key, in this case locality, consequently improving the hit or miss ratio for the cache you implement in your code.
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
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- 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()
- val sorting: Boolean
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val threads: Int
-
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()