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

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

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

RecordBuilder for MapAttemptFinished instances.


Method Summary
 MapAttemptFinished build()
           
 MapAttemptFinished.Builder clearAttemptId()
          Clears the value of the 'attemptId' field
 MapAttemptFinished.Builder clearClockSplits()
          Clears the value of the 'clockSplits' field
 MapAttemptFinished.Builder clearCounters()
          Clears the value of the 'counters' field
 MapAttemptFinished.Builder clearCpuUsages()
          Clears the value of the 'cpuUsages' field
 MapAttemptFinished.Builder clearFinishTime()
          Clears the value of the 'finishTime' field
 MapAttemptFinished.Builder clearHostname()
          Clears the value of the 'hostname' field
 MapAttemptFinished.Builder clearMapFinishTime()
          Clears the value of the 'mapFinishTime' field
 MapAttemptFinished.Builder clearPhysMemKbytes()
          Clears the value of the 'physMemKbytes' field
 MapAttemptFinished.Builder clearPort()
          Clears the value of the 'port' field
 MapAttemptFinished.Builder clearRackname()
          Clears the value of the 'rackname' field
 MapAttemptFinished.Builder clearState()
          Clears the value of the 'state' field
 MapAttemptFinished.Builder clearTaskid()
          Clears the value of the 'taskid' field
 MapAttemptFinished.Builder clearTaskStatus()
          Clears the value of the 'taskStatus' field
 MapAttemptFinished.Builder clearTaskType()
          Clears the value of the 'taskType' field
 MapAttemptFinished.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
 Long getFinishTime()
          Gets the value of the 'finishTime' field
 CharSequence getHostname()
          Gets the value of the 'hostname' field
 Long getMapFinishTime()
          Gets the value of the 'mapFinishTime' 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 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
 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 hasFinishTime()
          Checks whether the 'finishTime' field has been set
 boolean hasHostname()
          Checks whether the 'hostname' field has been set
 boolean hasMapFinishTime()
          Checks whether the 'mapFinishTime' 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 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
 boolean hasVMemKbytes()
          Checks whether the 'vMemKbytes' field has been set
 MapAttemptFinished.Builder setAttemptId(CharSequence value)
          Sets the value of the 'attemptId' field
 MapAttemptFinished.Builder setClockSplits(List<Integer> value)
          Sets the value of the 'clockSplits' field
 MapAttemptFinished.Builder setCounters(JhCounters value)
          Sets the value of the 'counters' field
 MapAttemptFinished.Builder setCpuUsages(List<Integer> value)
          Sets the value of the 'cpuUsages' field
 MapAttemptFinished.Builder setFinishTime(long value)
          Sets the value of the 'finishTime' field
 MapAttemptFinished.Builder setHostname(CharSequence value)
          Sets the value of the 'hostname' field
 MapAttemptFinished.Builder setMapFinishTime(long value)
          Sets the value of the 'mapFinishTime' field
 MapAttemptFinished.Builder setPhysMemKbytes(List<Integer> value)
          Sets the value of the 'physMemKbytes' field
 MapAttemptFinished.Builder setPort(int value)
          Sets the value of the 'port' field
 MapAttemptFinished.Builder setRackname(CharSequence value)
          Sets the value of the 'rackname' field
 MapAttemptFinished.Builder setState(CharSequence value)
          Sets the value of the 'state' field
 MapAttemptFinished.Builder setTaskid(CharSequence value)
          Sets the value of the 'taskid' field
 MapAttemptFinished.Builder setTaskStatus(CharSequence value)
          Sets the value of the 'taskStatus' field
 MapAttemptFinished.Builder setTaskType(CharSequence value)
          Sets the value of the 'taskType' field
 MapAttemptFinished.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 MapAttemptFinished.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 MapAttemptFinished.Builder clearTaskid()
Clears the value of the 'taskid' field


getAttemptId

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


setAttemptId

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


getTaskType

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


setTaskType

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


getTaskStatus

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


setTaskStatus

public MapAttemptFinished.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 MapAttemptFinished.Builder clearTaskStatus()
Clears the value of the 'taskStatus' field


getMapFinishTime

public Long getMapFinishTime()
Gets the value of the 'mapFinishTime' field


setMapFinishTime

public MapAttemptFinished.Builder setMapFinishTime(long value)
Sets the value of the 'mapFinishTime' field


hasMapFinishTime

public boolean hasMapFinishTime()
Checks whether the 'mapFinishTime' field has been set


clearMapFinishTime

public MapAttemptFinished.Builder clearMapFinishTime()
Clears the value of the 'mapFinishTime' field


getFinishTime

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


setFinishTime

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


getHostname

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


setHostname

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


getPort

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


setPort

public MapAttemptFinished.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 MapAttemptFinished.Builder clearPort()
Clears the value of the 'port' field


getRackname

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


setRackname

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


getState

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


setState

public MapAttemptFinished.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 MapAttemptFinished.Builder clearState()
Clears the value of the 'state' field


getCounters

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


setCounters

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


getClockSplits

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


setClockSplits

public MapAttemptFinished.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 MapAttemptFinished.Builder clearClockSplits()
Clears the value of the 'clockSplits' field


getCpuUsages

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


setCpuUsages

public MapAttemptFinished.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 MapAttemptFinished.Builder clearCpuUsages()
Clears the value of the 'cpuUsages' field


getVMemKbytes

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


setVMemKbytes

public MapAttemptFinished.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 MapAttemptFinished.Builder clearVMemKbytes()
Clears the value of the 'vMemKbytes' field


getPhysMemKbytes

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


setPhysMemKbytes

public MapAttemptFinished.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 MapAttemptFinished.Builder clearPhysMemKbytes()
Clears the value of the 'physMemKbytes' field


build

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


Copyright © 2013 Apache Software Foundation. All Rights Reserved.