| Package | Description |
|---|---|
| org.apache.apex.malhar.stream.api | |
| org.apache.apex.malhar.stream.api.impl | |
| org.apache.apex.malhar.stream.api.operator |
| Modifier and Type | Method and Description |
|---|---|
<O,STREAM extends ApexStream<O>> |
ApexStream.fold(O initialValue,
Function.FoldFunction<T,O> fold)
Fold transformation
Add an operator to the DAG which merge tuple T to accumulated result tuple O |
<O,STREAM extends ApexStream<O>> |
ApexStream.fold(String name,
O initialValue,
Function.FoldFunction<T,O> fold)
Fold transformation
Add an operator to the DAG which merge tuple T to accumulated result tuple O |
| Modifier and Type | Method and Description |
|---|---|
<O,STREAM extends ApexStream<O>> |
ApexStreamImpl.fold(O initialValue,
Function.FoldFunction<T,O> fold) |
<O,STREAM extends ApexStream<O>> |
ApexStreamImpl.fold(String name,
O initialValue,
Function.FoldFunction<T,O> fold) |
| Constructor and Description |
|---|
FunctionOperator.FoldFunctionOperator(Function.FoldFunction<IN,OUT> f,
OUT initialVal) |
Copyright © 2015-2016 Apache Software Foundation. All Rights Reserved.