Package org.apache.spark.util
Class MetricUtils
Object
org.apache.spark.util.MetricUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Stringstatic booleanmetricNeedsMax(String metricsType) static Stringstatic Stringstatic StringstringValue(String metricsType, long[] values, long[] maxMetrics) A function that defines how we aggregate the final accumulator results among all tasks, and represent it in string for a SQL physical operator.static Stringstatic String
-
Constructor Details
-
MetricUtils
public MetricUtils()
-
-
Method Details
-
SUM_METRIC
-
SIZE_METRIC
-
TIMING_METRIC
-
NS_TIMING_METRIC
-
AVERAGE_METRIC
-
metricNeedsMax
-
stringValue
A function that defines how we aggregate the final accumulator results among all tasks, and represent it in string for a SQL physical operator.- Parameters:
metricsType- (undocumented)values- (undocumented)maxMetrics- (undocumented)- Returns:
- (undocumented)
-