org.apache.hadoop.mapreduce.jobhistory
Class TaskAttemptFinished

java.lang.Object
  extended by org.apache.avro.specific.SpecificRecordBase
      extended by org.apache.hadoop.mapreduce.jobhistory.TaskAttemptFinished
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 TaskAttemptFinished
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord


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

SCHEMA$

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

taskid

@Deprecated
public CharSequence taskid
Deprecated. 

attemptId

@Deprecated
public CharSequence attemptId
Deprecated. 

taskType

@Deprecated
public CharSequence taskType
Deprecated. 

taskStatus

@Deprecated
public CharSequence taskStatus
Deprecated. 

finishTime

@Deprecated
public long finishTime
Deprecated. 

rackname

@Deprecated
public CharSequence rackname
Deprecated. 

hostname

@Deprecated
public CharSequence hostname
Deprecated. 

state

@Deprecated
public CharSequence state
Deprecated. 

counters

@Deprecated
public JhCounters counters
Deprecated. 
Constructor Detail

TaskAttemptFinished

public TaskAttemptFinished()
Default constructor.


TaskAttemptFinished

public TaskAttemptFinished(CharSequence taskid,
                           CharSequence attemptId,
                           CharSequence taskType,
                           CharSequence taskStatus,
                           Long finishTime,
                           CharSequence rackname,
                           CharSequence hostname,
                           CharSequence state,
                           JhCounters counters)
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.

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.

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.

getTaskStatus

public CharSequence getTaskStatus()
Gets the value of the 'taskStatus' field.


setTaskStatus

public void setTaskStatus(CharSequence value)
Sets the value of the 'taskStatus' field.

Parameters:
value - the value to set.

getFinishTime

public Long getFinishTime()
Gets the value of the 'finishTime' field.


setFinishTime

public void setFinishTime(Long value)
Sets the value of the 'finishTime' field.

Parameters:
value - the value to set.

getRackname

public CharSequence getRackname()
Gets the value of the 'rackname' field.


setRackname

public void setRackname(CharSequence value)
Sets the value of the 'rackname' field.

Parameters:
value - the value to set.

getHostname

public CharSequence getHostname()
Gets the value of the 'hostname' field.


setHostname

public void setHostname(CharSequence value)
Sets the value of the 'hostname' field.

Parameters:
value - the value to set.

getState

public CharSequence getState()
Gets the value of the 'state' field.


setState

public void setState(CharSequence value)
Sets the value of the 'state' field.

Parameters:
value - the value to set.

getCounters

public JhCounters getCounters()
Gets the value of the 'counters' field.


setCounters

public void setCounters(JhCounters value)
Sets the value of the 'counters' field.

Parameters:
value - the value to set.

newBuilder

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


newBuilder

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


newBuilder

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



Copyright © 2013 Apache Software Foundation. All Rights Reserved.