|
Oracle NoSQL Database Examples version 11gR2.2.0.26 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.avro.specific.SpecificRecordBase
avro.Address
public class Address
| Nested Class Summary | |
|---|---|
static class |
Address.Builder
RecordBuilder for Address instances. |
| Field Summary | |
|---|---|
String |
city
Deprecated. |
static org.apache.avro.Schema |
SCHEMA$
|
String |
state
Deprecated. |
String |
street
Deprecated. |
int |
zip
Deprecated. |
| Constructor Summary | |
|---|---|
Address()
|
|
| Method Summary | |
|---|---|
Object |
get(int field$)
|
String |
getCity()
Gets the value of the 'city' field. |
org.apache.avro.Schema |
getSchema()
|
String |
getState()
Gets the value of the 'state' field. |
String |
getStreet()
Gets the value of the 'street' field. |
Integer |
getZip()
Gets the value of the 'zip' field. |
static Address.Builder |
newBuilder()
Creates a new Address RecordBuilder |
static Address.Builder |
newBuilder(Address.Builder other)
Creates a new Address RecordBuilder by copying an existing Builder |
static Address.Builder |
newBuilder(Address other)
Creates a new Address RecordBuilder by copying an existing Address instance |
void |
put(int field$,
Object value$)
|
void |
setCity(String value)
Sets the value of the 'city' field. |
void |
setState(String value)
Sets the value of the 'state' field. |
void |
setStreet(String value)
Sets the value of the 'street' field. |
void |
setZip(Integer value)
Sets the value of the 'zip' 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 String street
@Deprecated public String city
@Deprecated public String state
@Deprecated public int zip
| Constructor Detail |
|---|
public Address()
| Method Detail |
|---|
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 String getStreet()
public void setStreet(String value)
value - the value to set.public String getCity()
public void setCity(String value)
value - the value to set.public String getState()
public void setState(String value)
value - the value to set.public Integer getZip()
public void setZip(Integer value)
value - the value to set.public static Address.Builder newBuilder()
public static Address.Builder newBuilder(Address.Builder other)
public static Address.Builder newBuilder(Address other)
|
Oracle NoSQL Database Examples version 11gR2.2.0.26 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||