org.apache.hadoop.mapreduce.jobhistory
Class JobFinished

java.lang.Object
  extended by org.apache.avro.specific.SpecificRecordBase
      extended by org.apache.hadoop.mapreduce.jobhistory.JobFinished
All Implemented Interfaces:
Comparable<org.apache.avro.specific.SpecificRecord>, org.apache.avro.generic.GenericContainer, org.apache.avro.generic.IndexedRecord, org.apache.avro.specific.SpecificRecord

public class JobFinished
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord


Nested Class Summary
static class JobFinished.Builder
          RecordBuilder for JobFinished instances.
 
Field Summary
 int failedMaps
          Deprecated. 
 int failedReduces
          Deprecated. 
 int finishedMaps
          Deprecated. 
 int finishedReduces
          Deprecated. 
 long finishTime
          Deprecated. 
 CharSequence jobid
          Deprecated. 
 JhCounters mapCounters
          Deprecated. 
 JhCounters reduceCounters
          Deprecated. 
static org.apache.avro.Schema SCHEMA$
           
 JhCounters totalCounters
          Deprecated. 
 
Constructor Summary
JobFinished()
          Default constructor.
JobFinished(CharSequence jobid, Long finishTime, Integer finishedMaps, Integer finishedReduces, Integer failedMaps, Integer failedReduces, JhCounters totalCounters, JhCounters mapCounters, JhCounters reduceCounters)
          All-args constructor.
 
Method Summary
 Object get(int field$)
           
static org.apache.avro.Schema getClassSchema()
           
 Integer getFailedMaps()
          Gets the value of the 'failedMaps' field.
 Integer getFailedReduces()
          Gets the value of the 'failedReduces' field.
 Integer getFinishedMaps()
          Gets the value of the 'finishedMaps' field.
 Integer getFinishedReduces()
          Gets the value of the 'finishedReduces' field.
 Long getFinishTime()
          Gets the value of the 'finishTime' field.
 CharSequence getJobid()
          Gets the value of the 'jobid' field.
 JhCounters getMapCounters()
          Gets the value of the 'mapCounters' field.
 JhCounters getReduceCounters()
          Gets the value of the 'reduceCounters' field.
 org.apache.avro.Schema getSchema()
           
 JhCounters getTotalCounters()
          Gets the value of the 'totalCounters' field.
static JobFinished.Builder newBuilder()
          Creates a new JobFinished RecordBuilder
static JobFinished.Builder newBuilder(JobFinished.Builder other)
          Creates a new JobFinished RecordBuilder by copying an existing Builder
static JobFinished.Builder newBuilder(JobFinished other)
          Creates a new JobFinished RecordBuilder by copying an existing JobFinished instance
 void put(int field$, Object value$)
           
 void setFailedMaps(Integer value)
          Sets the value of the 'failedMaps' field.
 void setFailedReduces(Integer value)
          Sets the value of the 'failedReduces' field.
 void setFinishedMaps(Integer value)
          Sets the value of the 'finishedMaps' field.
 void setFinishedReduces(Integer value)
          Sets the value of the 'finishedReduces' field.
 void setFinishTime(Long value)
          Sets the value of the 'finishTime' field.
 void setJobid(CharSequence value)
          Sets the value of the 'jobid' field.
 void setMapCounters(JhCounters value)
          Sets the value of the 'mapCounters' field.
 void setReduceCounters(JhCounters value)
          Sets the value of the 'reduceCounters' field.
 void setTotalCounters(JhCounters value)
          Sets the value of the 'totalCounters' field.
 
Methods inherited from class org.apache.avro.specific.SpecificRecordBase
compareTo, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

SCHEMA$

public static final org.apache.avro.Schema SCHEMA$

jobid

@Deprecated
public CharSequence jobid
Deprecated. 

finishTime

@Deprecated
public long finishTime
Deprecated. 

finishedMaps

@Deprecated
public int finishedMaps
Deprecated. 

finishedReduces

@Deprecated
public int finishedReduces
Deprecated. 

failedMaps

@Deprecated
public int failedMaps
Deprecated. 

failedReduces

@Deprecated
public int failedReduces
Deprecated. 

totalCounters

@Deprecated
public JhCounters totalCounters
Deprecated. 

mapCounters

@Deprecated
public JhCounters mapCounters
Deprecated. 

reduceCounters

@Deprecated
public JhCounters reduceCounters
Deprecated. 
Constructor Detail

JobFinished

public JobFinished()
Default constructor.


JobFinished

public JobFinished(CharSequence jobid,
                   Long finishTime,
                   Integer finishedMaps,
                   Integer finishedReduces,
                   Integer failedMaps,
                   Integer failedReduces,
                   JhCounters totalCounters,
                   JhCounters mapCounters,
                   JhCounters reduceCounters)
All-args constructor.

Method Detail

getClassSchema

public static org.apache.avro.Schema getClassSchema()

getSchema

public org.apache.avro.Schema getSchema()
Specified by:
getSchema in interface org.apache.avro.generic.GenericContainer
Specified by:
getSchema in class org.apache.avro.specific.SpecificRecordBase

get

public Object get(int field$)
Specified by:
get in interface org.apache.avro.generic.IndexedRecord
Specified by:
get in class org.apache.avro.specific.SpecificRecordBase

put

public void put(int field$,
                Object value$)
Specified by:
put in interface org.apache.avro.generic.IndexedRecord
Specified by:
put in class org.apache.avro.specific.SpecificRecordBase

getJobid

public CharSequence getJobid()
Gets the value of the 'jobid' field.


setJobid

public void setJobid(CharSequence value)
Sets the value of the 'jobid' field.

Parameters:
value - the value to set.

getFinishTime

public Long getFinishTime()
Gets the value of the 'finishTime' field.


setFinishTime

public void setFinishTime(Long value)
Sets the value of the 'finishTime' field.

Parameters:
value - the value to set.

getFinishedMaps

public Integer getFinishedMaps()
Gets the value of the 'finishedMaps' field.


setFinishedMaps

public void setFinishedMaps(Integer value)
Sets the value of the 'finishedMaps' field.

Parameters:
value - the value to set.

getFinishedReduces

public Integer getFinishedReduces()
Gets the value of the 'finishedReduces' field.


setFinishedReduces

public void setFinishedReduces(Integer value)
Sets the value of the 'finishedReduces' field.

Parameters:
value - the value to set.

getFailedMaps

public Integer getFailedMaps()
Gets the value of the 'failedMaps' field.


setFailedMaps

public void setFailedMaps(Integer value)
Sets the value of the 'failedMaps' field.

Parameters:
value - the value to set.

getFailedReduces

public Integer getFailedReduces()
Gets the value of the 'failedReduces' field.


setFailedReduces

public void setFailedReduces(Integer value)
Sets the value of the 'failedReduces' field.

Parameters:
value - the value to set.

getTotalCounters

public JhCounters getTotalCounters()
Gets the value of the 'totalCounters' field.


setTotalCounters

public void setTotalCounters(JhCounters value)
Sets the value of the 'totalCounters' field.

Parameters:
value - the value to set.

getMapCounters

public JhCounters getMapCounters()
Gets the value of the 'mapCounters' field.


setMapCounters

public void setMapCounters(JhCounters value)
Sets the value of the 'mapCounters' field.

Parameters:
value - the value to set.

getReduceCounters

public JhCounters getReduceCounters()
Gets the value of the 'reduceCounters' field.


setReduceCounters

public void setReduceCounters(JhCounters value)
Sets the value of the 'reduceCounters' field.

Parameters:
value - the value to set.

newBuilder

public static JobFinished.Builder newBuilder()
Creates a new JobFinished RecordBuilder


newBuilder

public static JobFinished.Builder newBuilder(JobFinished.Builder other)
Creates a new JobFinished RecordBuilder by copying an existing Builder


newBuilder

public static JobFinished.Builder newBuilder(JobFinished other)
Creates a new JobFinished RecordBuilder by copying an existing JobFinished instance



Copyright © 2014 Apache Software Foundation. All Rights Reserved.