Class JoinExamples


  • public class JoinExamples
    extends java.lang.Object
    This example shows how to do a join on two collections. It uses a sample of the GDELT 'world event' data (http://goo.gl/OB6oin), joining the event 'action' country code against a table that maps country codes to country names.

    Concepts: Join operation; multiple input sources.

    To execute this pipeline locally, specify a local output file or output prefix on GCS:

    
     --output=[YOUR_LOCAL_FILE | gs://YOUR_OUTPUT_PREFIX]
     

    To change the runner, specify:

    
     --runner=YOUR_SELECTED_RUNNER
     
    See examples/java/README.md for instructions about how to configure different runners.
    • Constructor Summary

      Constructors 
      Constructor Description
      JoinExamples()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JoinExamples

        public JoinExamples()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
                         throws java.lang.Exception
        Throws:
        java.lang.Exception