public class ConfigurationEntry extends org.apache.avro.specific.SpecificRecordBase implements org.apache.avro.specific.SpecificRecord
Modifier and Type | Class and Description |
---|---|
static class |
ConfigurationEntry.Builder
RecordBuilder for ConfigurationEntry instances.
|
Modifier and Type | Field and Description |
---|---|
CharSequence |
key
Deprecated.
|
static org.apache.avro.Schema |
SCHEMA$ |
CharSequence |
value
Deprecated.
|
Constructor and Description |
---|
ConfigurationEntry()
Default constructor.
|
ConfigurationEntry(CharSequence key,
CharSequence value)
All-args constructor.
|
Modifier and Type | Method and Description |
---|---|
Object |
get(int field$) |
static org.apache.avro.Schema |
getClassSchema() |
CharSequence |
getKey()
Gets the value of the 'key' field.
|
org.apache.avro.Schema |
getSchema() |
CharSequence |
getValue()
Gets the value of the 'value' field.
|
static ConfigurationEntry.Builder |
newBuilder()
Creates a new ConfigurationEntry RecordBuilder
|
static ConfigurationEntry.Builder |
newBuilder(ConfigurationEntry.Builder other)
Creates a new ConfigurationEntry RecordBuilder by copying an existing Builder
|
static ConfigurationEntry.Builder |
newBuilder(ConfigurationEntry other)
Creates a new ConfigurationEntry RecordBuilder by copying an existing ConfigurationEntry instance
|
void |
put(int field$,
Object value$) |
void |
setKey(CharSequence value)
Sets the value of the 'key' field.
|
void |
setValue(CharSequence value)
Sets the value of the 'value' field.
|
public static final org.apache.avro.Schema SCHEMA$
@Deprecated public CharSequence key
@Deprecated public CharSequence value
public ConfigurationEntry()
newBuilder()
.public ConfigurationEntry(CharSequence key, CharSequence value)
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 getKey()
public void setKey(CharSequence value)
value
- the value to set.public CharSequence getValue()
public void setValue(CharSequence value)
value
- the value to set.public static ConfigurationEntry.Builder newBuilder()
public static ConfigurationEntry.Builder newBuilder(ConfigurationEntry.Builder other)
public static ConfigurationEntry.Builder newBuilder(ConfigurationEntry other)
Copyright © 2016 The Apache Software Foundation. All rights reserved.