|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.avro.specific.SpecificRecordBase org.apache.hadoop.mapreduce.jobhistory.JhCounter
public class JhCounter
Nested Class Summary | |
---|---|
static class |
JhCounter.Builder
RecordBuilder for JhCounter instances. |
Field Summary | |
---|---|
CharSequence |
displayName
Deprecated. |
CharSequence |
name
Deprecated. |
static org.apache.avro.Schema |
SCHEMA$
|
long |
value
Deprecated. |
Constructor Summary | |
---|---|
JhCounter()
Default constructor. |
|
JhCounter(CharSequence name,
CharSequence displayName,
Long value)
All-args constructor. |
Method Summary | |
---|---|
Object |
get(int field$)
|
static org.apache.avro.Schema |
getClassSchema()
|
CharSequence |
getDisplayName()
Gets the value of the 'displayName' field. |
CharSequence |
getName()
Gets the value of the 'name' field. |
org.apache.avro.Schema |
getSchema()
|
Long |
getValue()
Gets the value of the 'value' field. |
static JhCounter.Builder |
newBuilder()
Creates a new JhCounter RecordBuilder |
static JhCounter.Builder |
newBuilder(JhCounter.Builder other)
Creates a new JhCounter RecordBuilder by copying an existing Builder |
static JhCounter.Builder |
newBuilder(JhCounter other)
Creates a new JhCounter RecordBuilder by copying an existing JhCounter instance |
void |
put(int field$,
Object value$)
|
void |
setDisplayName(CharSequence value)
Sets the value of the 'displayName' field. |
void |
setName(CharSequence value)
Sets the value of the 'name' field. |
void |
setValue(Long value)
Sets the value of the 'value' field. |
Methods inherited from class org.apache.avro.specific.SpecificRecordBase |
---|
compareTo, equals, hashCode, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final org.apache.avro.Schema SCHEMA$
@Deprecated public CharSequence name
@Deprecated public CharSequence displayName
@Deprecated public long value
Constructor Detail |
---|
public JhCounter()
public JhCounter(CharSequence name, CharSequence displayName, Long value)
Method Detail |
---|
public static org.apache.avro.Schema getClassSchema()
public org.apache.avro.Schema getSchema()
getSchema
in interface org.apache.avro.generic.GenericContainer
getSchema
in class org.apache.avro.specific.SpecificRecordBase
public Object get(int field$)
get
in interface org.apache.avro.generic.IndexedRecord
get
in class org.apache.avro.specific.SpecificRecordBase
public void put(int field$, Object value$)
put
in interface org.apache.avro.generic.IndexedRecord
put
in class org.apache.avro.specific.SpecificRecordBase
public CharSequence getName()
public void setName(CharSequence value)
value
- the value to set.public CharSequence getDisplayName()
public void setDisplayName(CharSequence value)
value
- the value to set.public Long getValue()
public void setValue(Long value)
value
- the value to set.public static JhCounter.Builder newBuilder()
public static JhCounter.Builder newBuilder(JhCounter.Builder other)
public static JhCounter.Builder newBuilder(JhCounter other)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |