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

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

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

RecordBuilder for JhCounterGroup instances.


Method Summary
 JhCounterGroup build()
           
 JhCounterGroup.Builder clearCounts()
          Clears the value of the 'counts' field
 JhCounterGroup.Builder clearDisplayName()
          Clears the value of the 'displayName' field
 JhCounterGroup.Builder clearName()
          Clears the value of the 'name' field
 List<JhCounter> getCounts()
          Gets the value of the 'counts' field
 CharSequence getDisplayName()
          Gets the value of the 'displayName' field
 CharSequence getName()
          Gets the value of the 'name' field
 boolean hasCounts()
          Checks whether the 'counts' field has been set
 boolean hasDisplayName()
          Checks whether the 'displayName' field has been set
 boolean hasName()
          Checks whether the 'name' field has been set
 JhCounterGroup.Builder setCounts(List<JhCounter> value)
          Sets the value of the 'counts' field
 JhCounterGroup.Builder setDisplayName(CharSequence value)
          Sets the value of the 'displayName' field
 JhCounterGroup.Builder setName(CharSequence value)
          Sets the value of the 'name' 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

getName

public CharSequence getName()
Gets the value of the 'name' field


setName

public JhCounterGroup.Builder setName(CharSequence value)
Sets the value of the 'name' field


hasName

public boolean hasName()
Checks whether the 'name' field has been set


clearName

public JhCounterGroup.Builder clearName()
Clears the value of the 'name' field


getDisplayName

public CharSequence getDisplayName()
Gets the value of the 'displayName' field


setDisplayName

public JhCounterGroup.Builder setDisplayName(CharSequence value)
Sets the value of the 'displayName' field


hasDisplayName

public boolean hasDisplayName()
Checks whether the 'displayName' field has been set


clearDisplayName

public JhCounterGroup.Builder clearDisplayName()
Clears the value of the 'displayName' field


getCounts

public List<JhCounter> getCounts()
Gets the value of the 'counts' field


setCounts

public JhCounterGroup.Builder setCounts(List<JhCounter> value)
Sets the value of the 'counts' field


hasCounts

public boolean hasCounts()
Checks whether the 'counts' field has been set


clearCounts

public JhCounterGroup.Builder clearCounts()
Clears the value of the 'counts' field


build

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


Copyright © 2013 Apache Software Foundation. All Rights Reserved.