org.apache.crunch
Class PipelineResult.StageResult

java.lang.Object
  extended by org.apache.crunch.PipelineResult.StageResult
Enclosing class:
PipelineResult

public static class PipelineResult.StageResult
extends Object


Constructor Summary
PipelineResult.StageResult(String stageName, org.apache.hadoop.mapreduce.Counters counters)
           
PipelineResult.StageResult(String stageName, String stageId, org.apache.hadoop.mapreduce.Counters counters)
           
 
Method Summary
 org.apache.hadoop.mapreduce.Counter findCounter(Enum<?> key)
          Deprecated. The Counter class changed incompatibly between Hadoop 1 and 2 (from a class to an interface) so user programs should avoid this method and use getCounterValue(Enum) and/or getCounterDisplayName(Enum).
 String getCounterDisplayName(Enum<?> key)
           
 String getCounterDisplayName(String groupName, String counterName)
           
 Map<String,Set<String>> getCounterNames()
           
 org.apache.hadoop.mapreduce.Counters getCounters()
          Deprecated. The Counter class changed incompatibly between Hadoop 1 and 2 (from a class to an interface) so user programs should avoid this method and use getCounterNames().
 long getCounterValue(Enum<?> key)
           
 long getCounterValue(String groupName, String counterName)
           
 String getStageId()
           
 String getStageName()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PipelineResult.StageResult

public PipelineResult.StageResult(String stageName,
                                  org.apache.hadoop.mapreduce.Counters counters)

PipelineResult.StageResult

public PipelineResult.StageResult(String stageName,
                                  String stageId,
                                  org.apache.hadoop.mapreduce.Counters counters)
Method Detail

getStageName

public String getStageName()

getStageId

public String getStageId()

getCounters

@Deprecated
public org.apache.hadoop.mapreduce.Counters getCounters()
Deprecated. The Counter class changed incompatibly between Hadoop 1 and 2 (from a class to an interface) so user programs should avoid this method and use getCounterNames().


getCounterNames

public Map<String,Set<String>> getCounterNames()
Returns:
a map of group names to counter names.

findCounter

@Deprecated
public org.apache.hadoop.mapreduce.Counter findCounter(Enum<?> key)
Deprecated. The Counter class changed incompatibly between Hadoop 1 and 2 (from a class to an interface) so user programs should avoid this method and use getCounterValue(Enum) and/or getCounterDisplayName(Enum).


getCounterValue

public long getCounterValue(String groupName,
                            String counterName)

getCounterDisplayName

public String getCounterDisplayName(String groupName,
                                    String counterName)

getCounterValue

public long getCounterValue(Enum<?> key)

getCounterDisplayName

public String getCounterDisplayName(Enum<?> key)


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.