- Enclosing class:
- Join
public static class Join.TwoWayJoin
extends java.lang.Object
This example demonstrates simple join between two streams.
To ensure correctness of joining data in the distributed environment, classification must
precede any type of streams combine (i.e., join and/or union*). This will ensure
the two+ streams represented as individual partitions have comparable data.
The following case has two data sets:
-one-
1 Oracle
2 Amazon
. . .
- two-
Arun Murthy 3
Larry Ellison 1
. . .
Classification is performed using the common "id", this ensuring that
'1 Oracle' and 'Larry Ellison 1' will end up in the same partition.