io.wavebeans.execution.pod.SplittingPod.kt Maven / Gradle / Ivy
package io.wavebeans.execution.pod
import io.wavebeans.execution.config.ExecutionConfig
import io.wavebeans.lib.*
abstract class SplittingPod>(
bean: B,
podKey: PodKey,
partitionCount: Int,
partitionSize: Int = ExecutionConfig.partitionSize
) : AbstractPod(podKey, bean, partitionCount, partitionSize = partitionSize) {
override fun inputs(): List = listOf(bean)
override fun toString(): String = "[$podKey]${this::class.simpleName}"
}