Created
June 22, 2018 13:24
-
-
Save sebge2emasphere/ea4e47ca00d7e86d4dfc61e860b78f65 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
context | |
.getEntryJoiner() | |
.join( | |
entriesFromFlow( | |
request.getFlowDefinitionA(), | |
request.getInjectionFlowA(), | |
request.getFlowDefinition().getInjectionConfiguration().getFlowAMatching(), | |
context | |
), | |
entriesFromFlow( | |
request.getFlowDefinitionB(), | |
request.getInjectionFlowB(), | |
request.getFlowDefinition().getInjectionConfiguration().getFlowBMatching(), | |
context | |
) | |
) | |
.mapToPair( | |
context.getEntryMerger() | |
) | |
.filter(Objects::nonNull) | |
.leftOuterJoin( | |
existingEntries(context) | |
) | |
.map( | |
context.getCollisionResolver() | |
) | |
.filter(Objects::nonNull) | |
.flatMapToPair( | |
context.getFlowEntryToHBaseRowConverter() | |
) | |
.saveAsNewAPIHadoopFile( | |
FlowExecutorUtils.TABLE, | |
ImmutableBytesWritable.class, | |
Result.class, | |
TableOutputFormat.class, | |
context.getConfiguration() | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment