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

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

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

RecordBuilder for TaskAttemptUnsuccessfulCompletion instances.


Method Summary
 TaskAttemptUnsuccessfulCompletion build()
           
 TaskAttemptUnsuccessfulCompletion.Builder clearAttemptId()
          Clears the value of the 'attemptId' field
 TaskAttemptUnsuccessfulCompletion.Builder clearClockSplits()
          Clears the value of the 'clockSplits' field
 TaskAttemptUnsuccessfulCompletion.Builder clearCounters()
          Clears the value of the 'counters' field
 TaskAttemptUnsuccessfulCompletion.Builder clearCpuUsages()
          Clears the value of the 'cpuUsages' field
 TaskAttemptUnsuccessfulCompletion.Builder clearError()
          Clears the value of the 'error' field
 TaskAttemptUnsuccessfulCompletion.Builder clearFinishTime()
          Clears the value of the 'finishTime' field
 TaskAttemptUnsuccessfulCompletion.Builder clearHostname()
          Clears the value of the 'hostname' field
 TaskAttemptUnsuccessfulCompletion.Builder clearPhysMemKbytes()
          Clears the value of the 'physMemKbytes' field
 TaskAttemptUnsuccessfulCompletion.Builder clearPort()
          Clears the value of the 'port' field
 TaskAttemptUnsuccessfulCompletion.Builder clearRackname()
          Clears the value of the 'rackname' field
 TaskAttemptUnsuccessfulCompletion.Builder clearStatus()
          Clears the value of the 'status' field
 TaskAttemptUnsuccessfulCompletion.Builder clearTaskid()
          Clears the value of the 'taskid' field
 TaskAttemptUnsuccessfulCompletion.Builder clearTaskType()
          Clears the value of the 'taskType' field
 TaskAttemptUnsuccessfulCompletion.Builder clearVMemKbytes()
          Clears the value of the 'vMemKbytes' field
 CharSequence getAttemptId()
          Gets the value of the 'attemptId' field
 List<Integer> getClockSplits()
          Gets the value of the 'clockSplits' field
 JhCounters getCounters()
          Gets the value of the 'counters' field
 List<Integer> getCpuUsages()
          Gets the value of the 'cpuUsages' field
 CharSequence getError()
          Gets the value of the 'error' field
 Long getFinishTime()
          Gets the value of the 'finishTime' field
 CharSequence getHostname()
          Gets the value of the 'hostname' field
 List<Integer> getPhysMemKbytes()
          Gets the value of the 'physMemKbytes' field
 Integer getPort()
          Gets the value of the 'port' field
 CharSequence getRackname()
          Gets the value of the 'rackname' 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
 List<Integer> getVMemKbytes()
          Gets the value of the 'vMemKbytes' field
 boolean hasAttemptId()
          Checks whether the 'attemptId' field has been set
 boolean hasClockSplits()
          Checks whether the 'clockSplits' field has been set
 boolean hasCounters()
          Checks whether the 'counters' field has been set
 boolean hasCpuUsages()
          Checks whether the 'cpuUsages' field has been set
 boolean hasError()
          Checks whether the 'error' 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 hasPhysMemKbytes()
          Checks whether the 'physMemKbytes' field has been set
 boolean hasPort()
          Checks whether the 'port' field has been set
 boolean hasRackname()
          Checks whether the 'rackname' 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
 boolean hasVMemKbytes()
          Checks whether the 'vMemKbytes' field has been set
 TaskAttemptUnsuccessfulCompletion.Builder setAttemptId(CharSequence value)
          Sets the value of the 'attemptId' field
 TaskAttemptUnsuccessfulCompletion.Builder setClockSplits(List<Integer> value)
          Sets the value of the 'clockSplits' field
 TaskAttemptUnsuccessfulCompletion.Builder setCounters(JhCounters value)
          Sets the value of the 'counters' field
 TaskAttemptUnsuccessfulCompletion.Builder setCpuUsages(List<Integer> value)
          Sets the value of the 'cpuUsages' field
 TaskAttemptUnsuccessfulCompletion.Builder setError(CharSequence value)
          Sets the value of the 'error' field
 TaskAttemptUnsuccessfulCompletion.Builder setFinishTime(long value)
          Sets the value of the 'finishTime' field
 TaskAttemptUnsuccessfulCompletion.Builder setHostname(CharSequence value)
          Sets the value of the 'hostname' field
 TaskAttemptUnsuccessfulCompletion.Builder setPhysMemKbytes(List<Integer> value)
          Sets the value of the 'physMemKbytes' field
 TaskAttemptUnsuccessfulCompletion.Builder setPort(int value)
          Sets the value of the 'port' field
 TaskAttemptUnsuccessfulCompletion.Builder setRackname(CharSequence value)
          Sets the value of the 'rackname' field
 TaskAttemptUnsuccessfulCompletion.Builder setStatus(CharSequence value)
          Sets the value of the 'status' field
 TaskAttemptUnsuccessfulCompletion.Builder setTaskid(CharSequence value)
          Sets the value of the 'taskid' field
 TaskAttemptUnsuccessfulCompletion.Builder setTaskType(CharSequence value)
          Sets the value of the 'taskType' field
 TaskAttemptUnsuccessfulCompletion.Builder setVMemKbytes(List<Integer> value)
          Sets the value of the 'vMemKbytes' 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 TaskAttemptUnsuccessfulCompletion.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 TaskAttemptUnsuccessfulCompletion.Builder clearTaskid()
Clears the value of the 'taskid' field


getTaskType

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


setTaskType

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


getAttemptId

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


setAttemptId

public TaskAttemptUnsuccessfulCompletion.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 TaskAttemptUnsuccessfulCompletion.Builder clearAttemptId()
Clears the value of the 'attemptId' field


getFinishTime

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


setFinishTime

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


getHostname

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


setHostname

public TaskAttemptUnsuccessfulCompletion.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 TaskAttemptUnsuccessfulCompletion.Builder clearHostname()
Clears the value of the 'hostname' field


getPort

public Integer getPort()
Gets the value of the 'port' field


setPort

public TaskAttemptUnsuccessfulCompletion.Builder setPort(int value)
Sets the value of the 'port' field


hasPort

public boolean hasPort()
Checks whether the 'port' field has been set


clearPort

public TaskAttemptUnsuccessfulCompletion.Builder clearPort()
Clears the value of the 'port' field


getRackname

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


setRackname

public TaskAttemptUnsuccessfulCompletion.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 TaskAttemptUnsuccessfulCompletion.Builder clearRackname()
Clears the value of the 'rackname' field


getStatus

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


setStatus

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


getError

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


setError

public TaskAttemptUnsuccessfulCompletion.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 TaskAttemptUnsuccessfulCompletion.Builder clearError()
Clears the value of the 'error' field


getCounters

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


setCounters

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


getClockSplits

public List<Integer> getClockSplits()
Gets the value of the 'clockSplits' field


setClockSplits

public TaskAttemptUnsuccessfulCompletion.Builder setClockSplits(List<Integer> value)
Sets the value of the 'clockSplits' field


hasClockSplits

public boolean hasClockSplits()
Checks whether the 'clockSplits' field has been set


clearClockSplits

public TaskAttemptUnsuccessfulCompletion.Builder clearClockSplits()
Clears the value of the 'clockSplits' field


getCpuUsages

public List<Integer> getCpuUsages()
Gets the value of the 'cpuUsages' field


setCpuUsages

public TaskAttemptUnsuccessfulCompletion.Builder setCpuUsages(List<Integer> value)
Sets the value of the 'cpuUsages' field


hasCpuUsages

public boolean hasCpuUsages()
Checks whether the 'cpuUsages' field has been set


clearCpuUsages

public TaskAttemptUnsuccessfulCompletion.Builder clearCpuUsages()
Clears the value of the 'cpuUsages' field


getVMemKbytes

public List<Integer> getVMemKbytes()
Gets the value of the 'vMemKbytes' field


setVMemKbytes

public TaskAttemptUnsuccessfulCompletion.Builder setVMemKbytes(List<Integer> value)
Sets the value of the 'vMemKbytes' field


hasVMemKbytes

public boolean hasVMemKbytes()
Checks whether the 'vMemKbytes' field has been set


clearVMemKbytes

public TaskAttemptUnsuccessfulCompletion.Builder clearVMemKbytes()
Clears the value of the 'vMemKbytes' field


getPhysMemKbytes

public List<Integer> getPhysMemKbytes()
Gets the value of the 'physMemKbytes' field


setPhysMemKbytes

public TaskAttemptUnsuccessfulCompletion.Builder setPhysMemKbytes(List<Integer> value)
Sets the value of the 'physMemKbytes' field


hasPhysMemKbytes

public boolean hasPhysMemKbytes()
Checks whether the 'physMemKbytes' field has been set


clearPhysMemKbytes

public TaskAttemptUnsuccessfulCompletion.Builder clearPhysMemKbytes()
Clears the value of the 'physMemKbytes' field


build

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


Copyright © 2014 Apache Software Foundation. All Rights Reserved.