@Deprecated @InterfaceAudience.Public @InterfaceStability.Evolving public class OutputRecord extends Object
Modifier and Type | Method and Description |
---|---|
Number |
getMetric(String name)
Deprecated.
Returns the metric object which can be a Float, Integer, Short or Byte.
|
Set<String> |
getMetricNames()
Deprecated.
Returns the set of metric names.
|
org.apache.hadoop.metrics.spi.AbstractMetricsContext.MetricMap |
getMetricsCopy()
Deprecated.
Returns a copy of this record's metrics.
|
Object |
getTag(String name)
Deprecated.
Returns a tag object which is can be a String, Integer, Short or Byte.
|
Set<String> |
getTagNames()
Deprecated.
Returns the set of tag names
|
org.apache.hadoop.metrics.spi.AbstractMetricsContext.TagMap |
getTagsCopy()
Deprecated.
Returns a copy of this record's tags.
|
public Set<String> getTagNames()
public Object getTag(String name)
public Set<String> getMetricNames()
public Number getMetric(String name)
public org.apache.hadoop.metrics.spi.AbstractMetricsContext.TagMap getTagsCopy()
public org.apache.hadoop.metrics.spi.AbstractMetricsContext.MetricMap getMetricsCopy()
Copyright © 2017 Apache Software Foundation. All rights reserved.