org.apache.hadoop.mapreduce.jobhistory
Class TaskAttemptFinished.Builder

java.lang.Object
  extended by org.apache.avro.data.RecordBuilderBase<T>
      extended by org.apache.avro.specific.SpecificRecordBuilderBase<TaskAttemptFinished>
          extended by org.apache.hadoop.mapreduce.jobhistory.TaskAttemptFinished.Builder
All Implemented Interfaces:
org.apache.avro.data.RecordBuilder<TaskAttemptFinished>
Enclosing class:
TaskAttemptFinished

public static class TaskAttemptFinished.Builder
extends org.apache.avro.specific.SpecificRecordBuilderBase<TaskAttemptFinished>
implements org.apache.avro.data.RecordBuilder<TaskAttemptFinished>

RecordBuilder for TaskAttemptFinished instances.


Method Summary
 TaskAttemptFinished build()
           
 TaskAttemptFinished.Builder clearAttemptId()
          Clears the value of the 'attemptId' field
 TaskAttemptFinished.Builder clearCounters()
          Clears the value of the 'counters' field
 TaskAttemptFinished.Builder clearFinishTime()
          Clears the value of the 'finishTime' field
 TaskAttemptFinished.Builder clearHostname()
          Clears the value of the 'hostname' field
 TaskAttemptFinished.Builder clearRackname()
          Clears the value of the 'rackname' field
 TaskAttemptFinished.Builder clearState()
          Clears the value of the 'state' field
 TaskAttemptFinished.Builder clearTaskid()
          Clears the value of the 'taskid' field
 TaskAttemptFinished.Builder clearTaskStatus()
          Clears the value of the 'taskStatus' field
 TaskAttemptFinished.Builder clearTaskType()
          Clears the value of the 'taskType' field
 CharSequence getAttemptId()
          Gets the value of the 'attemptId' field
 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
 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
 boolean hasAttemptId()
          Checks whether the 'attemptId' field has been set
 boolean hasCounters()
          Checks whether the 'counters' field has been set
 boolean hasFinishTime()
          Checks whether the 'finishTime' field has been set
 boolean hasHostname()
          Checks whether the 'hostname' field has been set
 boolean hasRackname()
          Checks whether the 'rackname' field has been set
 boolean hasState()
          Checks whether the 'state' field has been set
 boolean hasTaskid()
          Checks whether the 'taskid' field has been set
 boolean hasTaskStatus()
          Checks whether the 'taskStatus' field has been set
 boolean hasTaskType()
          Checks whether the 'taskType' field has been set
 TaskAttemptFinished.Builder setAttemptId(CharSequence value)
          Sets the value of the 'attemptId' field
 TaskAttemptFinished.Builder setCounters(JhCounters value)
          Sets the value of the 'counters' field
 TaskAttemptFinished.Builder setFinishTime(long value)
          Sets the value of the 'finishTime' field
 TaskAttemptFinished.Builder setHostname(CharSequence value)
          Sets the value of the 'hostname' field
 TaskAttemptFinished.Builder setRackname(CharSequence value)
          Sets the value of the 'rackname' field
 TaskAttemptFinished.Builder setState(CharSequence value)
          Sets the value of the 'state' field
 TaskAttemptFinished.Builder setTaskid(CharSequence value)
          Sets the value of the 'taskid' field
 TaskAttemptFinished.Builder setTaskStatus(CharSequence value)
          Sets the value of the 'taskStatus' field
 TaskAttemptFinished.Builder setTaskType(CharSequence value)
          Sets the value of the 'taskType' field
 
Methods inherited from class org.apache.avro.data.RecordBuilderBase
data, defaultValue, equals, fields, fieldSetFlags, hashCode, isValidValue, schema, validate
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getTaskid

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


setTaskid

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


hasTaskid

public boolean hasTaskid()
Checks whether the 'taskid' field has been set


clearTaskid

public TaskAttemptFinished.Builder clearTaskid()
Clears the value of the 'taskid' field


getAttemptId

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


setAttemptId

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


hasAttemptId

public boolean hasAttemptId()
Checks whether the 'attemptId' field has been set


clearAttemptId

public TaskAttemptFinished.Builder clearAttemptId()
Clears the value of the 'attemptId' field


getTaskType

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


setTaskType

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


hasTaskType

public boolean hasTaskType()
Checks whether the 'taskType' field has been set


clearTaskType

public TaskAttemptFinished.Builder clearTaskType()
Clears the value of the 'taskType' field


getTaskStatus

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


setTaskStatus

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


hasTaskStatus

public boolean hasTaskStatus()
Checks whether the 'taskStatus' field has been set


clearTaskStatus

public TaskAttemptFinished.Builder clearTaskStatus()
Clears the value of the 'taskStatus' field


getFinishTime

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


setFinishTime

public TaskAttemptFinished.Builder setFinishTime(long value)
Sets the value of the 'finishTime' field


hasFinishTime

public boolean hasFinishTime()
Checks whether the 'finishTime' field has been set


clearFinishTime

public TaskAttemptFinished.Builder clearFinishTime()
Clears the value of the 'finishTime' field


getRackname

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


setRackname

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


hasRackname

public boolean hasRackname()
Checks whether the 'rackname' field has been set


clearRackname

public TaskAttemptFinished.Builder clearRackname()
Clears the value of the 'rackname' field


getHostname

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


setHostname

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


hasHostname

public boolean hasHostname()
Checks whether the 'hostname' field has been set


clearHostname

public TaskAttemptFinished.Builder clearHostname()
Clears the value of the 'hostname' field


getState

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


setState

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


hasState

public boolean hasState()
Checks whether the 'state' field has been set


clearState

public TaskAttemptFinished.Builder clearState()
Clears the value of the 'state' field


getCounters

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


setCounters

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


hasCounters

public boolean hasCounters()
Checks whether the 'counters' field has been set


clearCounters

public TaskAttemptFinished.Builder clearCounters()
Clears the value of the 'counters' field


build

public TaskAttemptFinished build()
Specified by:
build in interface org.apache.avro.data.RecordBuilder<TaskAttemptFinished>


Copyright © 2014 Apache Software Foundation. All Rights Reserved.