Package org.apache.spark.util
Class MetricUtils
Object
org.apache.spark.util.MetricUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Stringstatic org.apache.spark.internal.Logging.LogStringContextLogStringContext(scala.StringContext sc) static booleanmetricNeedsMax(String metricsType) static Stringstatic org.slf4j.Loggerstatic voidorg$apache$spark$internal$Logging$$log__$eq(org.slf4j.Logger x$1) static 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)
-
org$apache$spark$internal$Logging$$log_
public static org.slf4j.Logger org$apache$spark$internal$Logging$$log_() -
org$apache$spark$internal$Logging$$log__$eq
public static void org$apache$spark$internal$Logging$$log__$eq(org.slf4j.Logger x$1) -
LogStringContext
public static org.apache.spark.internal.Logging.LogStringContext LogStringContext(scala.StringContext sc)
-