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

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

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

RecordBuilder for TaskFinished instances.


Method Summary
 TaskFinished build()
           
 TaskFinished.Builder clearCounters()
          Clears the value of the 'counters' field
 TaskFinished.Builder clearFinishTime()
          Clears the value of the 'finishTime' field
 TaskFinished.Builder clearStatus()
          Clears the value of the 'status' field
 TaskFinished.Builder clearSuccessfulAttemptId()
          Clears the value of the 'successfulAttemptId' field
 TaskFinished.Builder clearTaskid()
          Clears the value of the 'taskid' field
 TaskFinished.Builder clearTaskType()
          Clears the value of the 'taskType' field
 JhCounters getCounters()
          Gets the value of the 'counters' field
 Long getFinishTime()
          Gets the value of the 'finishTime' field
 CharSequence getStatus()
          Gets the value of the 'status' field
 CharSequence getSuccessfulAttemptId()
          Gets the value of the 'successfulAttemptId' field
 CharSequence getTaskid()
          Gets the value of the 'taskid' field
 CharSequence getTaskType()
          Gets the value of the 'taskType' field
 boolean hasCounters()
          Checks whether the 'counters' field has been set
 boolean hasFinishTime()
          Checks whether the 'finishTime' field has been set
 boolean hasStatus()
          Checks whether the 'status' field has been set
 boolean hasSuccessfulAttemptId()
          Checks whether the 'successfulAttemptId' field has been set
 boolean hasTaskid()
          Checks whether the 'taskid' field has been set
 boolean hasTaskType()
          Checks whether the 'taskType' field has been set
 TaskFinished.Builder setCounters(JhCounters value)
          Sets the value of the 'counters' field
 TaskFinished.Builder setFinishTime(long value)
          Sets the value of the 'finishTime' field
 TaskFinished.Builder setStatus(CharSequence value)
          Sets the value of the 'status' field
 TaskFinished.Builder setSuccessfulAttemptId(CharSequence value)
          Sets the value of the 'successfulAttemptId' field
 TaskFinished.Builder setTaskid(CharSequence value)
          Sets the value of the 'taskid' field
 TaskFinished.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 TaskFinished.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 TaskFinished.Builder clearTaskid()
Clears the value of the 'taskid' field


getTaskType

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


setTaskType

public TaskFinished.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 TaskFinished.Builder clearTaskType()
Clears the value of the 'taskType' field


getFinishTime

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


setFinishTime

public TaskFinished.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 TaskFinished.Builder clearFinishTime()
Clears the value of the 'finishTime' field


getStatus

public CharSequence getStatus()
Gets the value of the 'status' field


setStatus

public TaskFinished.Builder setStatus(CharSequence value)
Sets the value of the 'status' field


hasStatus

public boolean hasStatus()
Checks whether the 'status' field has been set


clearStatus

public TaskFinished.Builder clearStatus()
Clears the value of the 'status' field


getCounters

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


setCounters

public TaskFinished.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 TaskFinished.Builder clearCounters()
Clears the value of the 'counters' field


getSuccessfulAttemptId

public CharSequence getSuccessfulAttemptId()
Gets the value of the 'successfulAttemptId' field


setSuccessfulAttemptId

public TaskFinished.Builder setSuccessfulAttemptId(CharSequence value)
Sets the value of the 'successfulAttemptId' field


hasSuccessfulAttemptId

public boolean hasSuccessfulAttemptId()
Checks whether the 'successfulAttemptId' field has been set


clearSuccessfulAttemptId

public TaskFinished.Builder clearSuccessfulAttemptId()
Clears the value of the 'successfulAttemptId' field


build

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


Copyright © 2013 Apache Software Foundation. All Rights Reserved.