public class JhCounter
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
Modifier and Type | Class and Description |
---|---|
static class |
JhCounter.Builder
RecordBuilder for JhCounter instances.
|
Modifier and Type | Field and Description |
---|---|
CharSequence |
displayName
Deprecated.
|
CharSequence |
name
Deprecated.
|
static org.apache.avro.Schema |
SCHEMA$ |
long |
value
Deprecated.
|
Constructor and Description |
---|
JhCounter() |
Modifier and Type | Method and Description |
---|---|
Object |
get(int field$) |
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.
|
public static final org.apache.avro.Schema SCHEMA$
@Deprecated public CharSequence name
@Deprecated public CharSequence displayName
@Deprecated public long value
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)
Copyright © 2013 Apache Software Foundation. All rights reserved.