public class MemberInfo extends SpecificRecordBase implements SpecificRecord
Modifier and Type | Class and Description |
---|---|
static class |
MemberInfo.Builder
RecordBuilder for MemberInfo instances.
|
Modifier and Type | Field and Description |
---|---|
Address |
address
Deprecated.
|
int |
age
Deprecated.
|
FullName |
name
Deprecated.
|
static Schema |
SCHEMA$ |
Constructor and Description |
---|
MemberInfo() |
Modifier and Type | Method and Description |
---|---|
Object |
get(int field$) |
Address |
getAddress()
Gets the value of the 'address' field.
|
Integer |
getAge()
Gets the value of the 'age' field.
|
FullName |
getName()
Gets the value of the 'name' field.
|
Schema |
getSchema() |
static MemberInfo.Builder |
newBuilder()
Creates a new MemberInfo RecordBuilder
|
static MemberInfo.Builder |
newBuilder(MemberInfo.Builder other)
Creates a new MemberInfo RecordBuilder by copying an existing Builder
|
static MemberInfo.Builder |
newBuilder(MemberInfo other)
Creates a new MemberInfo RecordBuilder by copying an existing MemberInfo instance
|
void |
put(int field$,
Object value$) |
void |
setAddress(Address value)
Sets the value of the 'address' field.
|
void |
setAge(Integer value)
Sets the value of the 'age' field.
|
void |
setName(FullName value)
Sets the value of the 'name' field.
|
public static final Schema SCHEMA$
@Deprecated public FullName name
@Deprecated public int age
@Deprecated public Address address
public Schema getSchema()
getSchema
in interface GenericContainer
getSchema
in class SpecificRecordBase
public Object get(int field$)
get
in interface IndexedRecord
get
in class SpecificRecordBase
public void put(int field$, Object value$)
put
in interface IndexedRecord
put
in class SpecificRecordBase
public FullName getName()
public void setName(FullName value)
value
- the value to set.public Integer getAge()
public void setAge(Integer value)
value
- the value to set.public Address getAddress()
public void setAddress(Address value)
value
- the value to set.public static MemberInfo.Builder newBuilder()
public static MemberInfo.Builder newBuilder(MemberInfo.Builder other)
public static MemberInfo.Builder newBuilder(MemberInfo other)
Copyright (c) 2011, 2015 Oracle and/or its affiliates. All rights reserved.