![]() |
Code Examples
A repository of 155 code examples for BeepBeep
|
Compute the sum of two tuple attributes using the GetAttribute function. More...
Static Public Member Functions | |
static void | main (String[] args) |
Compute the sum of two tuple attributes using the GetAttribute function.
This programs reads the file file1.csv, and computes the sum of columns A and B for each line. This example is similar to SumAttributes, but collapses all functions into a single function tree. This makes the resulting processor chain much simpler. Graphically, this chain of processor can be described as follows:
The output of this program is:
5.0 6.0 5.0 9.0 9.0
Definition at line 56 of file SumAttributesTree.java.