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