|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.avro.specific.SpecificRecordBase
org.apache.hadoop.mapreduce.jobhistory.TaskFailed
public class TaskFailed
Nested Class Summary | |
---|---|
static class |
TaskFailed.Builder
RecordBuilder for TaskFailed instances. |
Field Summary | |
---|---|
JhCounters |
counters
Deprecated. |
CharSequence |
error
Deprecated. |
CharSequence |
failedDueToAttempt
Deprecated. |
long |
finishTime
Deprecated. |
static org.apache.avro.Schema |
SCHEMA$
|
CharSequence |
status
Deprecated. |
CharSequence |
taskid
Deprecated. |
CharSequence |
taskType
Deprecated. |
Constructor Summary | |
---|---|
TaskFailed()
Default constructor. |
|
TaskFailed(CharSequence taskid,
CharSequence taskType,
Long finishTime,
CharSequence error,
CharSequence failedDueToAttempt,
CharSequence status,
JhCounters counters)
All-args constructor. |
Method Summary | |
---|---|
Object |
get(int field$)
|
static org.apache.avro.Schema |
getClassSchema()
|
JhCounters |
getCounters()
Gets the value of the 'counters' field. |
CharSequence |
getError()
Gets the value of the 'error' field. |
CharSequence |
getFailedDueToAttempt()
Gets the value of the 'failedDueToAttempt' field. |
Long |
getFinishTime()
Gets the value of the 'finishTime' field. |
org.apache.avro.Schema |
getSchema()
|
CharSequence |
getStatus()
Gets the value of the 'status' field. |
CharSequence |
getTaskid()
Gets the value of the 'taskid' field. |
CharSequence |
getTaskType()
Gets the value of the 'taskType' field. |
static TaskFailed.Builder |
newBuilder()
Creates a new TaskFailed RecordBuilder |
static TaskFailed.Builder |
newBuilder(TaskFailed.Builder other)
Creates a new TaskFailed RecordBuilder by copying an existing Builder |
static TaskFailed.Builder |
newBuilder(TaskFailed other)
Creates a new TaskFailed RecordBuilder by copying an existing TaskFailed instance |
void |
put(int field$,
Object value$)
|
void |
setCounters(JhCounters value)
Sets the value of the 'counters' field. |
void |
setError(CharSequence value)
Sets the value of the 'error' field. |
void |
setFailedDueToAttempt(CharSequence value)
Sets the value of the 'failedDueToAttempt' field. |
void |
setFinishTime(Long value)
Sets the value of the 'finishTime' field. |
void |
setStatus(CharSequence value)
Sets the value of the 'status' field. |
void |
setTaskid(CharSequence value)
Sets the value of the 'taskid' field. |
void |
setTaskType(CharSequence value)
Sets the value of the 'taskType' 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 taskid
@Deprecated public CharSequence taskType
@Deprecated public long finishTime
@Deprecated public CharSequence error
@Deprecated public CharSequence failedDueToAttempt
@Deprecated public CharSequence status
@Deprecated public JhCounters counters
Constructor Detail |
---|
public TaskFailed()
public TaskFailed(CharSequence taskid, CharSequence taskType, Long finishTime, CharSequence error, CharSequence failedDueToAttempt, CharSequence status, JhCounters counters)
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 getTaskid()
public void setTaskid(CharSequence value)
value
- the value to set.public CharSequence getTaskType()
public void setTaskType(CharSequence value)
value
- the value to set.public Long getFinishTime()
public void setFinishTime(Long value)
value
- the value to set.public CharSequence getError()
public void setError(CharSequence value)
value
- the value to set.public CharSequence getFailedDueToAttempt()
public void setFailedDueToAttempt(CharSequence value)
value
- the value to set.public CharSequence getStatus()
public void setStatus(CharSequence value)
value
- the value to set.public JhCounters getCounters()
public void setCounters(JhCounters value)
value
- the value to set.public static TaskFailed.Builder newBuilder()
public static TaskFailed.Builder newBuilder(TaskFailed.Builder other)
public static TaskFailed.Builder newBuilder(TaskFailed other)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |