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

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

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

RecordBuilder for TaskFailed instances.


Method Summary
 TaskFailed build()
           
 TaskFailed.Builder clearCounters()
          Clears the value of the 'counters' field
 TaskFailed.Builder clearError()
          Clears the value of the 'error' field
 TaskFailed.Builder clearFailedDueToAttempt()
          Clears the value of the 'failedDueToAttempt' field
 TaskFailed.Builder clearFinishTime()
          Clears the value of the 'finishTime' field
 TaskFailed.Builder clearStatus()
          Clears the value of the 'status' field
 TaskFailed.Builder clearTaskid()
          Clears the value of the 'taskid' field
 TaskFailed.Builder clearTaskType()
          Clears the value of the 'taskType' field
 JhCounters getCounters()
          Gets the value of the 'counters' field
 CharSequence getError()
          Gets the value of the 'error' field
 CharSequence getFailedDueToAttempt()
          Gets the value of the 'failedDueToAttempt' field
 Long getFinishTime()
          Gets the value of the 'finishTime' field
 CharSequence getStatus()
          Gets the value of the 'status' 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 hasError()
          Checks whether the 'error' field has been set
 boolean hasFailedDueToAttempt()
          Checks whether the 'failedDueToAttempt' 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 hasTaskid()
          Checks whether the 'taskid' field has been set
 boolean hasTaskType()
          Checks whether the 'taskType' field has been set
 TaskFailed.Builder setCounters(JhCounters value)
          Sets the value of the 'counters' field
 TaskFailed.Builder setError(CharSequence value)
          Sets the value of the 'error' field
 TaskFailed.Builder setFailedDueToAttempt(CharSequence value)
          Sets the value of the 'failedDueToAttempt' field
 TaskFailed.Builder setFinishTime(long value)
          Sets the value of the 'finishTime' field
 TaskFailed.Builder setStatus(CharSequence value)
          Sets the value of the 'status' field
 TaskFailed.Builder setTaskid(CharSequence value)
          Sets the value of the 'taskid' field
 TaskFailed.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 TaskFailed.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 TaskFailed.Builder clearTaskid()
Clears the value of the 'taskid' field


getTaskType

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


setTaskType

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


getFinishTime

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


setFinishTime

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


getError

public CharSequence getError()
Gets the value of the 'error' field


setError

public TaskFailed.Builder setError(CharSequence value)
Sets the value of the 'error' field


hasError

public boolean hasError()
Checks whether the 'error' field has been set


clearError

public TaskFailed.Builder clearError()
Clears the value of the 'error' field


getFailedDueToAttempt

public CharSequence getFailedDueToAttempt()
Gets the value of the 'failedDueToAttempt' field


setFailedDueToAttempt

public TaskFailed.Builder setFailedDueToAttempt(CharSequence value)
Sets the value of the 'failedDueToAttempt' field


hasFailedDueToAttempt

public boolean hasFailedDueToAttempt()
Checks whether the 'failedDueToAttempt' field has been set


clearFailedDueToAttempt

public TaskFailed.Builder clearFailedDueToAttempt()
Clears the value of the 'failedDueToAttempt' field


getStatus

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


setStatus

public TaskFailed.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 TaskFailed.Builder clearStatus()
Clears the value of the 'status' field


getCounters

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


setCounters

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


build

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


Copyright © 2014 Apache Software Foundation. All Rights Reserved.