|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.avro.specific.SpecificRecordBase org.apache.hadoop.mapreduce.jobhistory.JobFinished
public class JobFinished
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 |
---|
public static final org.apache.avro.Schema SCHEMA$
@Deprecated public CharSequence jobid
@Deprecated public long finishTime
@Deprecated public int finishedMaps
@Deprecated public int finishedReduces
@Deprecated public int failedMaps
@Deprecated public int failedReduces
@Deprecated public JhCounters totalCounters
@Deprecated public JhCounters mapCounters
@Deprecated public JhCounters reduceCounters
Constructor Detail |
---|
public JobFinished()
public JobFinished(CharSequence jobid, Long finishTime, Integer finishedMaps, Integer finishedReduces, Integer failedMaps, Integer failedReduces, JhCounters totalCounters, JhCounters mapCounters, JhCounters reduceCounters)
Method Detail |
---|
public static org.apache.avro.Schema getClassSchema()
public org.apache.avro.Schema getSchema()
getSchema
in interface org.apache.avro.generic.GenericContainer
getSchema
in class org.apache.avro.specific.SpecificRecordBase
public Object get(int field$)
get
in interface org.apache.avro.generic.IndexedRecord
get
in class org.apache.avro.specific.SpecificRecordBase
public void put(int field$, Object value$)
put
in interface org.apache.avro.generic.IndexedRecord
put
in class org.apache.avro.specific.SpecificRecordBase
public CharSequence getJobid()
public void setJobid(CharSequence value)
value
- the value to set.public Long getFinishTime()
public void setFinishTime(Long value)
value
- the value to set.public Integer getFinishedMaps()
public void setFinishedMaps(Integer value)
value
- the value to set.public Integer getFinishedReduces()
public void setFinishedReduces(Integer value)
value
- the value to set.public Integer getFailedMaps()
public void setFailedMaps(Integer value)
value
- the value to set.public Integer getFailedReduces()
public void setFailedReduces(Integer value)
value
- the value to set.public JhCounters getTotalCounters()
public void setTotalCounters(JhCounters value)
value
- the value to set.public JhCounters getMapCounters()
public void setMapCounters(JhCounters value)
value
- the value to set.public JhCounters getReduceCounters()
public void setReduceCounters(JhCounters value)
value
- the value to set.public static JobFinished.Builder newBuilder()
public static JobFinished.Builder newBuilder(JobFinished.Builder other)
public static JobFinished.Builder newBuilder(JobFinished other)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |