GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — DataflowJavaSDK/contrib/join-library at master · drieber/DataflowJavaSDK

Expand file tree

/

join-library

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
 
 
/

join-library

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
src
src
 
 
AUTHORS.md
AUTHORS.md
 
 
README.md
README.md
 
 
pom.xml
pom.xml
 
 

README.md

Join-library

Join-library provides inner join, outer left and right join functions to Google Cloud Dataflow. The aim is to simplify the most common cases of join to a simple function call.

The functions are generic so it supports join of any types supported by Dataflow. Input to the join functions are PCollections of Key/Values. Both the left and right PCollections need the same type for the key. All the join functions return a Key/Value where Key is the join key and value is a Key/Value where the key is the left value and right is the value.

In the cases of outer join, since null cannot be serialized the user have to provide a value that represent null for that particular use case.

Example how to use join-library:

PCollection<KV<String, String>> leftPcollection = ...
PCollection<KV<String, Long>> rightPcollection = ...

PCollection<KV<String, KV<String, Long>>> joinedPcollection =
  Join.innerJoin(leftPcollection, rightPcollection);

Join-library can be found on maven-central:

<dependency>
  <groupId>org.linuxalert.dataflow</groupId>
  <artifactId>google-cloud-dataflow-java-contrib-joinlibrary</artifactId>
  <version>0.0.3</version>
</dependency>

Questions or comments: M.Runesson [at] gmail [dot] com

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.