org.apache.hadoop.mapreduce.jobhistory
Class TaskAttemptStarted

java.lang.Object
  extended by org.apache.avro.specific.SpecificRecordBase
      extended by org.apache.hadoop.mapreduce.jobhistory.TaskAttemptStarted
All Implemented Interfaces:
Comparable<org.apache.avro.specific.SpecificRecord>, org.apache.avro.generic.GenericContainer, org.apache.avro.generic.IndexedRecord, org.apache.avro.specific.SpecificRecord

public class TaskAttemptStarted
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord


Nested Class Summary
static class TaskAttemptStarted.Builder
          RecordBuilder for TaskAttemptStarted instances.
 
Field Summary
 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 Summary
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.
 
Method Summary
 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.
 
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

SCHEMA$

public static final org.apache.avro.Schema SCHEMA$

taskid

@Deprecated
public CharSequence taskid
Deprecated. 

taskType

@Deprecated
public CharSequence taskType
Deprecated. 

attemptId

@Deprecated
public CharSequence attemptId
Deprecated. 

startTime

@Deprecated
public long startTime
Deprecated. 

trackerName

@Deprecated
public CharSequence trackerName
Deprecated. 

httpPort

@Deprecated
public int httpPort
Deprecated. 

shufflePort

@Deprecated
public int shufflePort
Deprecated. 

containerId

@Deprecated
public CharSequence containerId
Deprecated. 

locality

@Deprecated
public CharSequence locality
Deprecated. 

avataar

@Deprecated
public CharSequence avataar
Deprecated. 
Constructor Detail

TaskAttemptStarted

public TaskAttemptStarted()
Default constructor.


TaskAttemptStarted

public TaskAttemptStarted(CharSequence taskid,
                          CharSequence taskType,
                          CharSequence attemptId,
                          Long startTime,
                          CharSequence trackerName,
                          Integer httpPort,
                          Integer shufflePort,
                          CharSequence containerId,
                          CharSequence locality,
                          CharSequence avataar)
All-args constructor.

Method Detail

getClassSchema

public static org.apache.avro.Schema getClassSchema()

getSchema

public org.apache.avro.Schema getSchema()
Specified by:
getSchema in interface org.apache.avro.generic.GenericContainer
Specified by:
getSchema in class org.apache.avro.specific.SpecificRecordBase

get

public Object get(int field$)
Specified by:
get in interface org.apache.avro.generic.IndexedRecord
Specified by:
get in class org.apache.avro.specific.SpecificRecordBase

put

public void put(int field$,
                Object value$)
Specified by:
put in interface org.apache.avro.generic.IndexedRecord
Specified by:
put in class org.apache.avro.specific.SpecificRecordBase

getTaskid

public CharSequence getTaskid()
Gets the value of the 'taskid' field.


setTaskid

public void setTaskid(CharSequence value)
Sets the value of the 'taskid' field.

Parameters:
value - the value to set.

getTaskType

public CharSequence getTaskType()
Gets the value of the 'taskType' field.


setTaskType

public void setTaskType(CharSequence value)
Sets the value of the 'taskType' field.

Parameters:
value - the value to set.

getAttemptId

public CharSequence getAttemptId()
Gets the value of the 'attemptId' field.


setAttemptId

public void setAttemptId(CharSequence value)
Sets the value of the 'attemptId' field.

Parameters:
value - the value to set.

getStartTime

public Long getStartTime()
Gets the value of the 'startTime' field.


setStartTime

public void setStartTime(Long value)
Sets the value of the 'startTime' field.

Parameters:
value - the value to set.

getTrackerName

public CharSequence getTrackerName()
Gets the value of the 'trackerName' field.


setTrackerName

public void setTrackerName(CharSequence value)
Sets the value of the 'trackerName' field.

Parameters:
value - the value to set.

getHttpPort

public Integer getHttpPort()
Gets the value of the 'httpPort' field.


setHttpPort

public void setHttpPort(Integer value)
Sets the value of the 'httpPort' field.

Parameters:
value - the value to set.

getShufflePort

public Integer getShufflePort()
Gets the value of the 'shufflePort' field.


setShufflePort

public void setShufflePort(Integer value)
Sets the value of the 'shufflePort' field.

Parameters:
value - the value to set.

getContainerId

public CharSequence getContainerId()
Gets the value of the 'containerId' field.


setContainerId

public void setContainerId(CharSequence value)
Sets the value of the 'containerId' field.

Parameters:
value - the value to set.

getLocality

public CharSequence getLocality()
Gets the value of the 'locality' field.


setLocality

public void setLocality(CharSequence value)
Sets the value of the 'locality' field.

Parameters:
value - the value to set.

getAvataar

public CharSequence getAvataar()
Gets the value of the 'avataar' field.


setAvataar

public void setAvataar(CharSequence value)
Sets the value of the 'avataar' field.

Parameters:
value - the value to set.

newBuilder

public static TaskAttemptStarted.Builder newBuilder()
Creates a new TaskAttemptStarted RecordBuilder


newBuilder

public static TaskAttemptStarted.Builder newBuilder(TaskAttemptStarted.Builder other)
Creates a new TaskAttemptStarted RecordBuilder by copying an existing Builder


newBuilder

public static TaskAttemptStarted.Builder newBuilder(TaskAttemptStarted other)
Creates a new TaskAttemptStarted RecordBuilder by copying an existing TaskAttemptStarted instance



Copyright © 2013 Apache Software Foundation. All Rights Reserved.