|
||||||||||
| 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.TaskAttemptFinished
public class TaskAttemptFinished
| Nested Class Summary | |
|---|---|
static class |
TaskAttemptFinished.Builder
RecordBuilder for TaskAttemptFinished instances. |
| Field Summary | |
|---|---|
CharSequence |
attemptId
Deprecated. |
JhCounters |
counters
Deprecated. |
long |
finishTime
Deprecated. |
CharSequence |
hostname
Deprecated. |
CharSequence |
rackname
Deprecated. |
static org.apache.avro.Schema |
SCHEMA$
|
CharSequence |
state
Deprecated. |
CharSequence |
taskid
Deprecated. |
CharSequence |
taskStatus
Deprecated. |
CharSequence |
taskType
Deprecated. |
| Constructor Summary | |
|---|---|
TaskAttemptFinished()
Default constructor. |
|
TaskAttemptFinished(CharSequence taskid,
CharSequence attemptId,
CharSequence taskType,
CharSequence taskStatus,
Long finishTime,
CharSequence rackname,
CharSequence hostname,
CharSequence state,
JhCounters counters)
All-args constructor. |
|
| Method Summary | |
|---|---|
Object |
get(int field$)
|
CharSequence |
getAttemptId()
Gets the value of the 'attemptId' 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. |
CharSequence |
getHostname()
Gets the value of the 'hostname' field. |
CharSequence |
getRackname()
Gets the value of the 'rackname' field. |
org.apache.avro.Schema |
getSchema()
|
CharSequence |
getState()
Gets the value of the 'state' field. |
CharSequence |
getTaskid()
Gets the value of the 'taskid' field. |
CharSequence |
getTaskStatus()
Gets the value of the 'taskStatus' field. |
CharSequence |
getTaskType()
Gets the value of the 'taskType' field. |
static TaskAttemptFinished.Builder |
newBuilder()
Creates a new TaskAttemptFinished RecordBuilder |
static TaskAttemptFinished.Builder |
newBuilder(TaskAttemptFinished.Builder other)
Creates a new TaskAttemptFinished RecordBuilder by copying an existing Builder |
static TaskAttemptFinished.Builder |
newBuilder(TaskAttemptFinished other)
Creates a new TaskAttemptFinished RecordBuilder by copying an existing TaskAttemptFinished instance |
void |
put(int field$,
Object value$)
|
void |
setAttemptId(CharSequence value)
Sets the value of the 'attemptId' field. |
void |
setCounters(JhCounters value)
Sets the value of the 'counters' field. |
void |
setFinishTime(Long value)
Sets the value of the 'finishTime' field. |
void |
setHostname(CharSequence value)
Sets the value of the 'hostname' field. |
void |
setRackname(CharSequence value)
Sets the value of the 'rackname' field. |
void |
setState(CharSequence value)
Sets the value of the 'state' field. |
void |
setTaskid(CharSequence value)
Sets the value of the 'taskid' field. |
void |
setTaskStatus(CharSequence value)
Sets the value of the 'taskStatus' 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 attemptId
@Deprecated public CharSequence taskType
@Deprecated public CharSequence taskStatus
@Deprecated public long finishTime
@Deprecated public CharSequence rackname
@Deprecated public CharSequence hostname
@Deprecated public CharSequence state
@Deprecated public JhCounters counters
| Constructor Detail |
|---|
public TaskAttemptFinished()
public TaskAttemptFinished(CharSequence taskid,
CharSequence attemptId,
CharSequence taskType,
CharSequence taskStatus,
Long finishTime,
CharSequence rackname,
CharSequence hostname,
CharSequence state,
JhCounters counters)
| Method Detail |
|---|
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.SpecificRecordBase
public void put(int field$,
Object value$)
put in interface org.apache.avro.generic.IndexedRecordput in class org.apache.avro.specific.SpecificRecordBasepublic CharSequence getTaskid()
public void setTaskid(CharSequence value)
value - the value to set.public CharSequence getAttemptId()
public void setAttemptId(CharSequence value)
value - the value to set.public CharSequence getTaskType()
public void setTaskType(CharSequence value)
value - the value to set.public CharSequence getTaskStatus()
public void setTaskStatus(CharSequence value)
value - the value to set.public Long getFinishTime()
public void setFinishTime(Long value)
value - the value to set.public CharSequence getRackname()
public void setRackname(CharSequence value)
value - the value to set.public CharSequence getHostname()
public void setHostname(CharSequence value)
value - the value to set.public CharSequence getState()
public void setState(CharSequence value)
value - the value to set.public JhCounters getCounters()
public void setCounters(JhCounters value)
value - the value to set.public static TaskAttemptFinished.Builder newBuilder()
public static TaskAttemptFinished.Builder newBuilder(TaskAttemptFinished.Builder other)
public static TaskAttemptFinished.Builder newBuilder(TaskAttemptFinished other)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||