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

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

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

RecordBuilder for JobUnsuccessfulCompletion instances.


Method Summary
 JobUnsuccessfulCompletion build()
           
 JobUnsuccessfulCompletion.Builder clearFinishedMaps()
          Clears the value of the 'finishedMaps' field
 JobUnsuccessfulCompletion.Builder clearFinishedReduces()
          Clears the value of the 'finishedReduces' field
 JobUnsuccessfulCompletion.Builder clearFinishTime()
          Clears the value of the 'finishTime' field
 JobUnsuccessfulCompletion.Builder clearJobid()
          Clears the value of the 'jobid' field
 JobUnsuccessfulCompletion.Builder clearJobStatus()
          Clears the value of the 'jobStatus' field
 Integer getFinishedMaps()
          Gets the value of the 'finishedMaps' field
 Integer getFinishedReduces()
          Gets the value of the 'finishedReduces' field
 Long getFinishTime()
          Gets the value of the 'finishTime' field
 CharSequence getJobid()
          Gets the value of the 'jobid' field
 CharSequence getJobStatus()
          Gets the value of the 'jobStatus' field
 boolean hasFinishedMaps()
          Checks whether the 'finishedMaps' field has been set
 boolean hasFinishedReduces()
          Checks whether the 'finishedReduces' field has been set
 boolean hasFinishTime()
          Checks whether the 'finishTime' field has been set
 boolean hasJobid()
          Checks whether the 'jobid' field has been set
 boolean hasJobStatus()
          Checks whether the 'jobStatus' field has been set
 JobUnsuccessfulCompletion.Builder setFinishedMaps(int value)
          Sets the value of the 'finishedMaps' field
 JobUnsuccessfulCompletion.Builder setFinishedReduces(int value)
          Sets the value of the 'finishedReduces' field
 JobUnsuccessfulCompletion.Builder setFinishTime(long value)
          Sets the value of the 'finishTime' field
 JobUnsuccessfulCompletion.Builder setJobid(CharSequence value)
          Sets the value of the 'jobid' field
 JobUnsuccessfulCompletion.Builder setJobStatus(CharSequence value)
          Sets the value of the 'jobStatus' 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

getJobid

public CharSequence getJobid()
Gets the value of the 'jobid' field


setJobid

public JobUnsuccessfulCompletion.Builder setJobid(CharSequence value)
Sets the value of the 'jobid' field


hasJobid

public boolean hasJobid()
Checks whether the 'jobid' field has been set


clearJobid

public JobUnsuccessfulCompletion.Builder clearJobid()
Clears the value of the 'jobid' field


getFinishTime

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


setFinishTime

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


getFinishedMaps

public Integer getFinishedMaps()
Gets the value of the 'finishedMaps' field


setFinishedMaps

public JobUnsuccessfulCompletion.Builder setFinishedMaps(int value)
Sets the value of the 'finishedMaps' field


hasFinishedMaps

public boolean hasFinishedMaps()
Checks whether the 'finishedMaps' field has been set


clearFinishedMaps

public JobUnsuccessfulCompletion.Builder clearFinishedMaps()
Clears the value of the 'finishedMaps' field


getFinishedReduces

public Integer getFinishedReduces()
Gets the value of the 'finishedReduces' field


setFinishedReduces

public JobUnsuccessfulCompletion.Builder setFinishedReduces(int value)
Sets the value of the 'finishedReduces' field


hasFinishedReduces

public boolean hasFinishedReduces()
Checks whether the 'finishedReduces' field has been set


clearFinishedReduces

public JobUnsuccessfulCompletion.Builder clearFinishedReduces()
Clears the value of the 'finishedReduces' field


getJobStatus

public CharSequence getJobStatus()
Gets the value of the 'jobStatus' field


setJobStatus

public JobUnsuccessfulCompletion.Builder setJobStatus(CharSequence value)
Sets the value of the 'jobStatus' field


hasJobStatus

public boolean hasJobStatus()
Checks whether the 'jobStatus' field has been set


clearJobStatus

public JobUnsuccessfulCompletion.Builder clearJobStatus()
Clears the value of the 'jobStatus' field


build

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


Copyright © 2013 Apache Software Foundation. All Rights Reserved.