org.apache.spark.rdd.mergejoin.MergeJoin
Implementation contract for a merge-join.
inner is called when there are matching keys in both sides
inner
leftOuter is called when a key exists only in the left side
leftOuter
rightOuter is called when a key exists only in the right side
rightOuter
Emit both left and right values for the given key
left
right
key
Emit values for left-side only key
Emit values for right-side only key
Implementation contract for a merge-join.
inner
is called when there are matching keys in both sidesleftOuter
is called when a key exists only in the left siderightOuter
is called when a key exists only in the right side