Package org.apache.parquet.hadoop
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.
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 Summary
Modifier and TypeMethodDescriptionvoidsetDuration(String name, long value) voidsetValueDouble(String name, double value) voidsetValueFloat(String name, float value) voidsetValueInt(String name, int value) voidsetValueLong(String name, long value)
-
Method Details
-
setValueInt
-
setValueLong
-
setValueFloat
-
setValueDouble
-
setDuration
-