Package | Description |
---|---|
org.apache.edgent.oplet.core |
Core primitive oplets.
|
org.apache.edgent.topology |
Functional api to build a streaming topology.
|
org.apache.edgent.topology.plumbing |
Plumbing for a streaming topology.
|
org.apache.edgent.topology.spi.graph |
Constructor and Description |
---|
Split(ToIntFunction<T> splitter) |
Modifier and Type | Method and Description |
---|---|
java.util.List<TStream<T>> |
TStream.split(int n,
ToIntFunction<T> splitter)
Split a stream's tuples among
n streams as specified by
splitter . |
Modifier and Type | Class and Description |
---|---|
class |
LoadBalancedSplitter<T>
A Load Balanced Splitter function.
|
Modifier and Type | Method and Description |
---|---|
static <T> ToIntFunction<T> |
PlumbingStreams.roundRobinSplitter(int width)
A round-robin splitter ToIntFunction
|
Modifier and Type | Method and Description |
---|---|
static <T,R> TStream<R> |
PlumbingStreams.parallel(TStream<T> stream,
int width,
ToIntFunction<T> splitter,
BiFunction<TStream<T>,java.lang.Integer,TStream<R>> pipeline)
Perform an analytic pipeline on tuples in parallel.
|
static <T,U> TStream<U> |
PlumbingStreams.parallelMap(TStream<T> stream,
int width,
ToIntFunction<T> splitter,
BiFunction<T,java.lang.Integer,U> mapper)
Perform an analytic function on tuples in parallel.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<TStream<T>> |
ConnectorStream.split(int n,
ToIntFunction<T> splitter) |
Copyright © 2016 The Apache Software Foundation. All Rights Reserved - bbe71fa-20161201-1641