org.apache.hadoop.mapreduce.jobhistory
Class JobUnsuccessfulCompletion

java.lang.Object
  extended by org.apache.avro.specific.SpecificRecordBase
      extended by org.apache.hadoop.mapreduce.jobhistory.JobUnsuccessfulCompletion
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 JobUnsuccessfulCompletion
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord


Nested Class Summary
static class JobUnsuccessfulCompletion.Builder
          RecordBuilder for JobUnsuccessfulCompletion instances.
 
Field Summary
 int finishedMaps
          Deprecated. 
 int finishedReduces
          Deprecated. 
 long finishTime
          Deprecated. 
 CharSequence jobid
          Deprecated. 
 CharSequence jobStatus
          Deprecated. 
static org.apache.avro.Schema SCHEMA$
           
 
Constructor Summary
JobUnsuccessfulCompletion()
          Default constructor.
JobUnsuccessfulCompletion(CharSequence jobid, Long finishTime, Integer finishedMaps, Integer finishedReduces, CharSequence jobStatus)
          All-args constructor.
 
Method Summary
 Object get(int field$)
           
static org.apache.avro.Schema getClassSchema()
           
 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.
 CharSequence getJobStatus()
          Gets the value of the 'jobStatus' field.
 org.apache.avro.Schema getSchema()
           
static JobUnsuccessfulCompletion.Builder newBuilder()
          Creates a new JobUnsuccessfulCompletion RecordBuilder
static JobUnsuccessfulCompletion.Builder newBuilder(JobUnsuccessfulCompletion.Builder other)
          Creates a new JobUnsuccessfulCompletion RecordBuilder by copying an existing Builder
static JobUnsuccessfulCompletion.Builder newBuilder(JobUnsuccessfulCompletion other)
          Creates a new JobUnsuccessfulCompletion RecordBuilder by copying an existing JobUnsuccessfulCompletion instance
 void put(int field$, Object value$)
           
 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 setJobStatus(CharSequence value)
          Sets the value of the 'jobStatus' 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. 

jobStatus

@Deprecated
public CharSequence jobStatus
Deprecated. 
Constructor Detail

JobUnsuccessfulCompletion

public JobUnsuccessfulCompletion()
Default constructor.


JobUnsuccessfulCompletion

public JobUnsuccessfulCompletion(CharSequence jobid,
                                 Long finishTime,
                                 Integer finishedMaps,
                                 Integer finishedReduces,
                                 CharSequence jobStatus)
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.

getJobStatus

public CharSequence getJobStatus()
Gets the value of the 'jobStatus' field.


setJobStatus

public void setJobStatus(CharSequence value)
Sets the value of the 'jobStatus' field.

Parameters:
value - the value to set.

newBuilder

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


newBuilder

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


newBuilder

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



Copyright © 2013 Apache Software Foundation. All Rights Reserved.