public class TaskAttemptFinished
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
Modifier and Type | Class and Description |
---|---|
static class |
TaskAttemptFinished.Builder
RecordBuilder for TaskAttemptFinished instances.
|
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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
public TaskAttemptFinished()
public TaskAttemptFinished(CharSequence taskid, CharSequence attemptId, CharSequence taskType, CharSequence taskStatus, Long finishTime, CharSequence rackname, CharSequence hostname, CharSequence state, JhCounters counters)
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 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)
Copyright © 2017 Apache Software Foundation. All Rights Reserved.