public class FullName extends SpecificRecordBase implements 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 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.
|
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 Schema SCHEMA$
@Deprecated public String first
@Deprecated public String last
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 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, 2015 Oracle and/or its affiliates. All rights reserved.