public class TaskAttemptStarted
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
Modifier and Type | Class and Description |
---|---|
static class |
TaskAttemptStarted.Builder
RecordBuilder for TaskAttemptStarted instances.
|
Modifier and Type | Field and Description |
---|---|
CharSequence |
attemptId
Deprecated.
|
CharSequence |
avataar
Deprecated.
|
CharSequence |
containerId
Deprecated.
|
int |
httpPort
Deprecated.
|
CharSequence |
locality
Deprecated.
|
static org.apache.avro.Schema |
SCHEMA$ |
int |
shufflePort
Deprecated.
|
long |
startTime
Deprecated.
|
CharSequence |
taskid
Deprecated.
|
CharSequence |
taskType
Deprecated.
|
CharSequence |
trackerName
Deprecated.
|
Constructor and Description |
---|
TaskAttemptStarted()
Default constructor.
|
TaskAttemptStarted(CharSequence taskid,
CharSequence taskType,
CharSequence attemptId,
Long startTime,
CharSequence trackerName,
Integer httpPort,
Integer shufflePort,
CharSequence containerId,
CharSequence locality,
CharSequence avataar)
All-args constructor.
|
Modifier and Type | Method and Description |
---|---|
Object |
get(int field$) |
CharSequence |
getAttemptId()
Gets the value of the 'attemptId' field.
|
CharSequence |
getAvataar()
Gets the value of the 'avataar' field.
|
static org.apache.avro.Schema |
getClassSchema() |
CharSequence |
getContainerId()
Gets the value of the 'containerId' field.
|
Integer |
getHttpPort()
Gets the value of the 'httpPort' field.
|
CharSequence |
getLocality()
Gets the value of the 'locality' field.
|
org.apache.avro.Schema |
getSchema() |
Integer |
getShufflePort()
Gets the value of the 'shufflePort' field.
|
Long |
getStartTime()
Gets the value of the 'startTime' field.
|
CharSequence |
getTaskid()
Gets the value of the 'taskid' field.
|
CharSequence |
getTaskType()
Gets the value of the 'taskType' field.
|
CharSequence |
getTrackerName()
Gets the value of the 'trackerName' field.
|
static TaskAttemptStarted.Builder |
newBuilder()
Creates a new TaskAttemptStarted RecordBuilder
|
static TaskAttemptStarted.Builder |
newBuilder(TaskAttemptStarted.Builder other)
Creates a new TaskAttemptStarted RecordBuilder by copying an existing Builder
|
static TaskAttemptStarted.Builder |
newBuilder(TaskAttemptStarted other)
Creates a new TaskAttemptStarted RecordBuilder by copying an existing TaskAttemptStarted instance
|
void |
put(int field$,
Object value$) |
void |
setAttemptId(CharSequence value)
Sets the value of the 'attemptId' field.
|
void |
setAvataar(CharSequence value)
Sets the value of the 'avataar' field.
|
void |
setContainerId(CharSequence value)
Sets the value of the 'containerId' field.
|
void |
setHttpPort(Integer value)
Sets the value of the 'httpPort' field.
|
void |
setLocality(CharSequence value)
Sets the value of the 'locality' field.
|
void |
setShufflePort(Integer value)
Sets the value of the 'shufflePort' field.
|
void |
setStartTime(Long value)
Sets the value of the 'startTime' field.
|
void |
setTaskid(CharSequence value)
Sets the value of the 'taskid' field.
|
void |
setTaskType(CharSequence value)
Sets the value of the 'taskType' field.
|
void |
setTrackerName(CharSequence value)
Sets the value of the 'trackerName' field.
|
public static final org.apache.avro.Schema SCHEMA$
@Deprecated public CharSequence taskid
@Deprecated public CharSequence taskType
@Deprecated public CharSequence attemptId
@Deprecated public long startTime
@Deprecated public CharSequence trackerName
@Deprecated public int httpPort
@Deprecated public int shufflePort
@Deprecated public CharSequence containerId
@Deprecated public CharSequence locality
@Deprecated public CharSequence avataar
public TaskAttemptStarted()
public TaskAttemptStarted(CharSequence taskid, CharSequence taskType, CharSequence attemptId, Long startTime, CharSequence trackerName, Integer httpPort, Integer shufflePort, CharSequence containerId, CharSequence locality, CharSequence avataar)
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 CharSequence getAttemptId()
public void setAttemptId(CharSequence value)
value
- the value to set.public Long getStartTime()
public void setStartTime(Long value)
value
- the value to set.public CharSequence getTrackerName()
public void setTrackerName(CharSequence value)
value
- the value to set.public Integer getHttpPort()
public void setHttpPort(Integer value)
value
- the value to set.public Integer getShufflePort()
public void setShufflePort(Integer value)
value
- the value to set.public CharSequence getContainerId()
public void setContainerId(CharSequence value)
value
- the value to set.public CharSequence getLocality()
public void setLocality(CharSequence value)
value
- the value to set.public CharSequence getAvataar()
public void setAvataar(CharSequence value)
value
- the value to set.public static TaskAttemptStarted.Builder newBuilder()
public static TaskAttemptStarted.Builder newBuilder(TaskAttemptStarted.Builder other)
public static TaskAttemptStarted.Builder newBuilder(TaskAttemptStarted other)
Copyright © 2017 Apache Software Foundation. All Rights Reserved.