|
||||||||||
| 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.JhCounterGroup
public class JhCounterGroup
| Nested Class Summary | |
|---|---|
static class |
JhCounterGroup.Builder
RecordBuilder for JhCounterGroup instances. |
| Field Summary | |
|---|---|
List<JhCounter> |
counts
Deprecated. |
CharSequence |
displayName
Deprecated. |
CharSequence |
name
Deprecated. |
static org.apache.avro.Schema |
SCHEMA$
|
| Constructor Summary | |
|---|---|
JhCounterGroup()
Default constructor. |
|
JhCounterGroup(CharSequence name,
CharSequence displayName,
List<JhCounter> counts)
All-args constructor. |
|
| Method Summary | |
|---|---|
Object |
get(int field$)
|
static org.apache.avro.Schema |
getClassSchema()
|
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. |
org.apache.avro.Schema |
getSchema()
|
static JhCounterGroup.Builder |
newBuilder()
Creates a new JhCounterGroup RecordBuilder |
static JhCounterGroup.Builder |
newBuilder(JhCounterGroup.Builder other)
Creates a new JhCounterGroup RecordBuilder by copying an existing Builder |
static JhCounterGroup.Builder |
newBuilder(JhCounterGroup other)
Creates a new JhCounterGroup RecordBuilder by copying an existing JhCounterGroup instance |
void |
put(int field$,
Object value$)
|
void |
setCounts(List<JhCounter> value)
Sets the value of the 'counts' field. |
void |
setDisplayName(CharSequence value)
Sets the value of the 'displayName' 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 CharSequence displayName
@Deprecated public List<JhCounter> counts
| Constructor Detail |
|---|
public JhCounterGroup()
public JhCounterGroup(CharSequence name,
CharSequence displayName,
List<JhCounter> counts)
| 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 CharSequence getDisplayName()
public void setDisplayName(CharSequence value)
value - the value to set.public List<JhCounter> getCounts()
public void setCounts(List<JhCounter> value)
value - the value to set.public static JhCounterGroup.Builder newBuilder()
public static JhCounterGroup.Builder newBuilder(JhCounterGroup.Builder other)
public static JhCounterGroup.Builder newBuilder(JhCounterGroup other)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||