Interface ParquetMetricsCallback


  • @Unstable
    public interface ParquetMetricsCallback
    A simple interface to pass basic metric values by name to any implementation. Typically, an implementation of this interface will serve as a bridge to pass metric values on to the metrics system of a distributed engine (hadoop, spark, etc).
    Development Note: This interface should provide a default implementation for any new metric tracker added to allow for backward compatibility
    e.g.
    default addMaximum(key, value) { } ;
    • Method Detail

      • setValueInt

        void setValueInt​(String name,
                         int value)
      • setValueLong

        void setValueLong​(String name,
                          long value)
      • setValueFloat

        void setValueFloat​(String name,
                           float value)
      • setValueDouble

        void setValueDouble​(String name,
                            double value)
      • setDuration

        void setDuration​(String name,
                         long value)