public class JobFinished
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
| Modifier and Type | Class and Description |
|---|---|
static class |
JobFinished.Builder
RecordBuilder for JobFinished instances.
|
| Modifier and Type | Field and Description |
|---|---|
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 and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
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
public JobFinished()
newBuilder().public JobFinished(CharSequence jobid, Long finishTime, Integer finishedMaps, Integer finishedReduces, Integer failedMaps, Integer failedReduces, JhCounters totalCounters, JhCounters mapCounters, JhCounters reduceCounters)
public static org.apache.avro.Schema getClassSchema()
public org.apache.avro.Schema getSchema()
getSchema in interface org.apache.avro.generic.GenericContainergetSchema in class org.apache.avro.specific.SpecificRecordBasepublic Object get(int field$)
get in interface org.apache.avro.generic.IndexedRecordget in class org.apache.avro.specific.SpecificRecordBasepublic void put(int field$,
Object value$)
put in interface org.apache.avro.generic.IndexedRecordput in class org.apache.avro.specific.SpecificRecordBasepublic 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)
Copyright © 2022 Apache Software Foundation. All rights reserved.