public class Ids
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
| Modifier and Type | Class and Description |
|---|---|
static class |
Ids.Builder
RecordBuilder for Ids instances.
|
| Modifier and Type | Field and Description |
|---|---|
java.lang.CharSequence |
id
Deprecated.
|
IdNested |
nested
Deprecated.
|
static org.apache.avro.Schema |
SCHEMA$ |
| Constructor and Description |
|---|
Ids()
Default constructor.
|
Ids(java.lang.CharSequence id,
IdNested nested)
All-args constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
get(int field$) |
static org.apache.avro.Schema |
getClassSchema() |
java.lang.CharSequence |
getId()
Gets the value of the 'id' field.
|
IdNested |
getNested()
Gets the value of the 'nested' field.
|
org.apache.avro.Schema |
getSchema() |
static Ids.Builder |
newBuilder()
Creates a new Ids RecordBuilder
|
static Ids.Builder |
newBuilder(Ids.Builder other)
Creates a new Ids RecordBuilder by copying an existing Builder
|
static Ids.Builder |
newBuilder(Ids other)
Creates a new Ids RecordBuilder by copying an existing Ids instance
|
void |
put(int field$,
java.lang.Object value$) |
void |
setId(java.lang.CharSequence value)
Sets the value of the 'id' field.
|
void |
setNested(IdNested value)
Sets the value of the 'nested' field.
|
public static final org.apache.avro.Schema SCHEMA$
@Deprecated public java.lang.CharSequence id
@Deprecated public IdNested nested
public Ids()
newBuilder().public Ids(java.lang.CharSequence id,
IdNested nested)
public static org.apache.avro.Schema getClassSchema()
public org.apache.avro.Schema getSchema()
getSchema in interface org.apache.avro.generic.GenericContainergetSchema in class org.apache.avro.specific.SpecificRecordBasepublic java.lang.Object get(int field$)
get in interface org.apache.avro.generic.IndexedRecordget in class org.apache.avro.specific.SpecificRecordBasepublic void put(int field$,
java.lang.Object value$)
put in interface org.apache.avro.generic.IndexedRecordput in class org.apache.avro.specific.SpecificRecordBasepublic java.lang.CharSequence getId()
public void setId(java.lang.CharSequence value)
value - the value to set.public IdNested getNested()
public void setNested(IdNested value)
value - the value to set.public static Ids.Builder newBuilder()
public static Ids.Builder newBuilder(Ids.Builder other)
public static Ids.Builder newBuilder(Ids other)