Package org.apache.parquet.hadoop
Interface ParquetMetricsCallback
-
@Unstable public interface ParquetMetricsCallbackA 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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsetDuration(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 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)
-
-