Class WordCount


  • public class WordCount
    extends java.lang.Object
    Duplicated from beam-examples-java to avoid dependency.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  WordCount.CountWords
      A PTransform that converts a PCollection containing lines of text into a PCollection of formatted word counts.
      static class  WordCount.FormatAsTextFn
      A SimpleFunction that converts a Word and Count into a printable string.
      static interface  WordCount.WordCountOptions
      Options supported by WordCount.
    • Constructor Summary

      Constructors 
      Constructor Description
      WordCount()  
    • 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

      • WordCount

        public WordCount()
    • Method Detail

      • main

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