|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.avro.data.RecordBuilderBase<T> org.apache.avro.specific.SpecificRecordBuilderBase<JhCounter> org.apache.hadoop.mapreduce.jobhistory.JhCounter.Builder
public static class JhCounter.Builder
RecordBuilder for JhCounter instances.
Method Summary | |
---|---|
JhCounter |
build()
|
JhCounter.Builder |
clearDisplayName()
Clears the value of the 'displayName' field |
JhCounter.Builder |
clearName()
Clears the value of the 'name' field |
JhCounter.Builder |
clearValue()
Clears the value of the 'value' field |
CharSequence |
getDisplayName()
Gets the value of the 'displayName' field |
CharSequence |
getName()
Gets the value of the 'name' field |
Long |
getValue()
Gets the value of the 'value' field |
boolean |
hasDisplayName()
Checks whether the 'displayName' field has been set |
boolean |
hasName()
Checks whether the 'name' field has been set |
boolean |
hasValue()
Checks whether the 'value' field has been set |
JhCounter.Builder |
setDisplayName(CharSequence value)
Sets the value of the 'displayName' field |
JhCounter.Builder |
setName(CharSequence value)
Sets the value of the 'name' field |
JhCounter.Builder |
setValue(long value)
Sets the value of the 'value' 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 |
---|
public CharSequence getName()
public JhCounter.Builder setName(CharSequence value)
public boolean hasName()
public JhCounter.Builder clearName()
public CharSequence getDisplayName()
public JhCounter.Builder setDisplayName(CharSequence value)
public boolean hasDisplayName()
public JhCounter.Builder clearDisplayName()
public Long getValue()
public JhCounter.Builder setValue(long value)
public boolean hasValue()
public JhCounter.Builder clearValue()
public JhCounter build()
build
in interface org.apache.avro.data.RecordBuilder<JhCounter>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |