📅  最后修改于: 2022-03-11 14:55:50.302000             🧑  作者: Mango
KeyValue leftRecord = ...;
KeyValue rightRecord = ...;
ValueJoiner joiner = ...;
KeyValue joinOutputRecord = KeyValue.pair(
leftRecord.key, /* by definition, leftRecord.key == rightRecord.key */
joiner.apply(leftRecord.value, rightRecord.value)
);