public class Partition$
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static Partition$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
| Constructor and Description |
|---|
Partition$() |
| Modifier and Type | Method and Description |
|---|---|
<T> Partition<T> |
apply(int outputPorts,
scala.Function1<T,java.lang.Object> partitioner)
Create a new
Partition stage with the specified input type. |
public static final Partition$ MODULE$
public <T> Partition<T> apply(int outputPorts, scala.Function1<T,java.lang.Object> partitioner)
Partition stage with the specified input type.
outputPorts - number of output portspartitioner - function deciding which output each element will be targeted