|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.avro.specific.SpecificRecordBase
org.apache.hadoop.mapreduce.jobhistory.JhCounters
public class JhCounters
| Nested Class Summary | |
|---|---|
static class |
JhCounters.Builder
RecordBuilder for JhCounters instances. |
| Field Summary | |
|---|---|
List<JhCounterGroup> |
groups
Deprecated. |
CharSequence |
name
Deprecated. |
static org.apache.avro.Schema |
SCHEMA$
|
| Constructor Summary | |
|---|---|
JhCounters()
Default constructor. |
|
JhCounters(CharSequence name,
List<JhCounterGroup> groups)
All-args constructor. |
|
| Method Summary | |
|---|---|
Object |
get(int field$)
|
static org.apache.avro.Schema |
getClassSchema()
|
List<JhCounterGroup> |
getGroups()
Gets the value of the 'groups' field. |
CharSequence |
getName()
Gets the value of the 'name' field. |
org.apache.avro.Schema |
getSchema()
|
static JhCounters.Builder |
newBuilder()
Creates a new JhCounters RecordBuilder |
static JhCounters.Builder |
newBuilder(JhCounters.Builder other)
Creates a new JhCounters RecordBuilder by copying an existing Builder |
static JhCounters.Builder |
newBuilder(JhCounters other)
Creates a new JhCounters RecordBuilder by copying an existing JhCounters instance |
void |
put(int field$,
Object value$)
|
void |
setGroups(List<JhCounterGroup> value)
Sets the value of the 'groups' field. |
void |
setName(CharSequence value)
Sets the value of the 'name' 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 List<JhCounterGroup> groups
| Constructor Detail |
|---|
public JhCounters()
public JhCounters(CharSequence name,
List<JhCounterGroup> groups)
| Method Detail |
|---|
public static org.apache.avro.Schema getClassSchema()
public org.apache.avro.Schema getSchema()
getSchema in interface org.apache.avro.generic.GenericContainergetSchema in class org.apache.avro.specific.SpecificRecordBasepublic Object get(int field$)
get in interface org.apache.avro.generic.IndexedRecordget in class org.apache.avro.specific.SpecificRecordBase
public void put(int field$,
Object value$)
put in interface org.apache.avro.generic.IndexedRecordput in class org.apache.avro.specific.SpecificRecordBasepublic CharSequence getName()
public void setName(CharSequence value)
value - the value to set.public List<JhCounterGroup> getGroups()
public void setGroups(List<JhCounterGroup> value)
value - the value to set.public static JhCounters.Builder newBuilder()
public static JhCounters.Builder newBuilder(JhCounters.Builder other)
public static JhCounters.Builder newBuilder(JhCounters other)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||