Count (Google Cloud Dataflow SDK 1.9.1 API)

Google Cloud Dataflow SDK for Java, version 1.9.1

com.google.cloud.dataflow.sdk.transforms

Class Count



  • public class Count
    extends Object
    PTransorms to count the elements in a PCollection.

    perElement() can be used to count the number of occurrences of each distinct element in the PCollection, perKey() can be used to count the number of values per key, and globally() can be used to count the total number of elements in a PCollection.


Send feedback about...

Cloud Dataflow