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

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

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

RecordBuilder for JobPriorityChange instances.


Method Summary
 JobPriorityChange build()
           
 JobPriorityChange.Builder clearJobid()
          Clears the value of the 'jobid' field
 JobPriorityChange.Builder clearPriority()
          Clears the value of the 'priority' field
 CharSequence getJobid()
          Gets the value of the 'jobid' field
 CharSequence getPriority()
          Gets the value of the 'priority' field
 boolean hasJobid()
          Checks whether the 'jobid' field has been set
 boolean hasPriority()
          Checks whether the 'priority' field has been set
 JobPriorityChange.Builder setJobid(CharSequence value)
          Sets the value of the 'jobid' field
 JobPriorityChange.Builder setPriority(CharSequence value)
          Sets the value of the 'priority' 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 JobPriorityChange.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 JobPriorityChange.Builder clearJobid()
Clears the value of the 'jobid' field


getPriority

public CharSequence getPriority()
Gets the value of the 'priority' field


setPriority

public JobPriorityChange.Builder setPriority(CharSequence value)
Sets the value of the 'priority' field


hasPriority

public boolean hasPriority()
Checks whether the 'priority' field has been set


clearPriority

public JobPriorityChange.Builder clearPriority()
Clears the value of the 'priority' field


build

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


Copyright © 2014 Apache Software Foundation. All Rights Reserved.