public class JhCounters
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
Modifier and Type | Class and Description |
---|---|
static class |
JhCounters.Builder
RecordBuilder for JhCounters instances.
|
Modifier and Type | Field and Description |
---|---|
List<JhCounterGroup> |
groups
Deprecated.
|
CharSequence |
name
Deprecated.
|
static org.apache.avro.Schema |
SCHEMA$ |
Constructor and Description |
---|
JhCounters()
Default constructor.
|
JhCounters(CharSequence name,
List<JhCounterGroup> groups)
All-args constructor.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public static final org.apache.avro.Schema SCHEMA$
@Deprecated public CharSequence name
@Deprecated public List<JhCounterGroup> groups
public JhCounters()
newBuilder()
.public JhCounters(CharSequence name, List<JhCounterGroup> groups)
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 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)
Copyright © 2019 Apache Software Foundation. All Rights Reserved.