public class Records
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
| Modifier and Type | Class and Description |
|---|---|
static class |
Records.Builder
RecordBuilder for Records instances.
|
| Modifier and Type | Field and Description |
|---|---|
Record1 |
record1
Deprecated.
|
Record2 |
record2
Deprecated.
|
Record3 |
record3
Deprecated.
|
static org.apache.avro.Schema |
SCHEMA$ |
| Constructor and Description |
|---|
Records()
Default constructor.
|
Records(Record1 record1,
Record2 record2,
Record3 record3)
All-args constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
get(int field$) |
static org.apache.avro.Schema |
getClassSchema() |
Record1 |
getRecord1()
Gets the value of the 'record1' field.
|
Record2 |
getRecord2()
Gets the value of the 'record2' field.
|
Record3 |
getRecord3()
Gets the value of the 'record3' field.
|
org.apache.avro.Schema |
getSchema() |
static Records.Builder |
newBuilder()
Creates a new Records RecordBuilder
|
static Records.Builder |
newBuilder(Records.Builder other)
Creates a new Records RecordBuilder by copying an existing Builder
|
static Records.Builder |
newBuilder(Records other)
Creates a new Records RecordBuilder by copying an existing Records instance
|
void |
put(int field$,
java.lang.Object value$) |
void |
setRecord1(Record1 value)
Sets the value of the 'record1' field.
|
void |
setRecord2(Record2 value)
Sets the value of the 'record2' field.
|
void |
setRecord3(Record3 value)
Sets the value of the 'record3' field.
|
public static final org.apache.avro.Schema SCHEMA$
@Deprecated public Record1 record1
@Deprecated public Record2 record2
@Deprecated public Record3 record3
public Records()
newBuilder().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 Record1 getRecord1()
public void setRecord1(Record1 value)
value - the value to set.public Record2 getRecord2()
public void setRecord2(Record2 value)
value - the value to set.public Record3 getRecord3()
public void setRecord3(Record3 value)
value - the value to set.public static Records.Builder newBuilder()
public static Records.Builder newBuilder(Records.Builder other)
public static Records.Builder newBuilder(Records other)