Interface StringSet

All Superinterfaces:
Metric, Serializable
All Known Implementing Classes:
StringSetImpl

public interface StringSet extends Metric
A metric that reports set of unique string values. This metric is backed by HashSet and hence it does not maintain any ordering.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    add(String value)
    Add a value to this set.
    default void
    add(String... values)
    Add values to this set.

    Methods inherited from interface org.apache.beam.sdk.metrics.Metric

    getName
  • Method Details

    • add

      void add(String value)
      Add a value to this set.
    • add

      default void add(String... values)
      Add values to this set.