public class FullName
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
Modifier and Type | Class and Description |
---|---|
static class |
FullName.Builder
RecordBuilder for FullName instances.
|
Modifier and Type | Field and Description |
---|---|
String |
first
Deprecated.
|
String |
last
Deprecated.
|
static org.apache.avro.Schema |
SCHEMA$ |
Constructor and Description |
---|
FullName() |
Modifier and Type | Method and Description |
---|---|
Object |
get(int field$) |
String |
getFirst()
Gets the value of the 'first' field.
|
String |
getLast()
Gets the value of the 'last' field.
|
org.apache.avro.Schema |
getSchema() |
static FullName.Builder |
newBuilder()
Creates a new FullName RecordBuilder
|
static FullName.Builder |
newBuilder(FullName.Builder other)
Creates a new FullName RecordBuilder by copying an existing Builder
|
static FullName.Builder |
newBuilder(FullName other)
Creates a new FullName RecordBuilder by copying an existing FullName instance
|
void |
put(int field$,
Object value$) |
void |
setFirst(String value)
Sets the value of the 'first' field.
|
void |
setLast(String value)
Sets the value of the 'last' field.
|
public static final org.apache.avro.Schema SCHEMA$
@Deprecated public String first
@Deprecated public String last
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 String getFirst()
public void setFirst(String value)
value
- the value to set.public String getLast()
public void setLast(String value)
value
- the value to set.public static FullName.Builder newBuilder()
public static FullName.Builder newBuilder(FullName.Builder other)
public static FullName.Builder newBuilder(FullName other)
Copyright (c) 2011, 2013 Oracle and/or its affiliates. All rights reserved.