Class MinimalBigQueryTornadoes


  • public class MinimalBigQueryTornadoes
    extends java.lang.Object
    An example that reads the public samples of weather data from BigQuery, counts the number of tornadoes that occur in each month, and writes the results to BigQuery.

    Concepts: Reading/writing BigQuery; counting a PCollection; user-defined PTransforms

    The BigQuery input is taken from apache-beam-testing.samples.weather_stations

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void applyBigQueryTornadoes​(org.apache.beam.sdk.Pipeline p)  
      static void main​(java.lang.String[] args)  
      static void runBigQueryTornadoes​(org.apache.beam.sdk.options.PipelineOptions options)  
      • Methods inherited from class java.lang.Object

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

      • MinimalBigQueryTornadoes

        public MinimalBigQueryTornadoes()
    • Method Detail

      • applyBigQueryTornadoes

        public static void applyBigQueryTornadoes​(org.apache.beam.sdk.Pipeline p)
      • runBigQueryTornadoes

        public static void runBigQueryTornadoes​(org.apache.beam.sdk.options.PipelineOptions options)
      • main

        public static void main​(java.lang.String[] args)