|
||||||||||
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.TaskFinished
public class TaskFinished
Nested Class Summary | |
---|---|
static class |
TaskFinished.Builder
RecordBuilder for TaskFinished instances. |
Field Summary | |
---|---|
JhCounters |
counters
Deprecated. |
long |
finishTime
Deprecated. |
static org.apache.avro.Schema |
SCHEMA$
|
CharSequence |
status
Deprecated. |
CharSequence |
successfulAttemptId
Deprecated. |
CharSequence |
taskid
Deprecated. |
CharSequence |
taskType
Deprecated. |
Constructor Summary | |
---|---|
TaskFinished()
Default constructor. |
|
TaskFinished(CharSequence taskid,
CharSequence taskType,
Long finishTime,
CharSequence status,
JhCounters counters,
CharSequence successfulAttemptId)
All-args constructor. |
Method Summary | |
---|---|
Object |
get(int field$)
|
static org.apache.avro.Schema |
getClassSchema()
|
JhCounters |
getCounters()
Gets the value of the 'counters' 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 |
getSuccessfulAttemptId()
Gets the value of the 'successfulAttemptId' field. |
CharSequence |
getTaskid()
Gets the value of the 'taskid' field. |
CharSequence |
getTaskType()
Gets the value of the 'taskType' field. |
static TaskFinished.Builder |
newBuilder()
Creates a new TaskFinished RecordBuilder |
static TaskFinished.Builder |
newBuilder(TaskFinished.Builder other)
Creates a new TaskFinished RecordBuilder by copying an existing Builder |
static TaskFinished.Builder |
newBuilder(TaskFinished other)
Creates a new TaskFinished RecordBuilder by copying an existing TaskFinished instance |
void |
put(int field$,
Object value$)
|
void |
setCounters(JhCounters value)
Sets the value of the 'counters' field. |
void |
setFinishTime(Long value)
Sets the value of the 'finishTime' field. |
void |
setStatus(CharSequence value)
Sets the value of the 'status' field. |
void |
setSuccessfulAttemptId(CharSequence value)
Sets the value of the 'successfulAttemptId' 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 status
@Deprecated public JhCounters counters
@Deprecated public CharSequence successfulAttemptId
Constructor Detail |
---|
public TaskFinished()
public TaskFinished(CharSequence taskid, CharSequence taskType, Long finishTime, CharSequence status, JhCounters counters, CharSequence successfulAttemptId)
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 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 CharSequence getSuccessfulAttemptId()
public void setSuccessfulAttemptId(CharSequence value)
value
- the value to set.public static TaskFinished.Builder newBuilder()
public static TaskFinished.Builder newBuilder(TaskFinished.Builder other)
public static TaskFinished.Builder newBuilder(TaskFinished other)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |