public class AvroRelation
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
| Modifier and Type | Class and Description |
|---|---|
static class |
AvroRelation.Builder
RecordBuilder for AvroRelation instances.
|
| Modifier and Type | Field and Description |
|---|---|
AvroPrimitive |
common
Deprecated.
|
List<AvroRelationMember> |
members
Deprecated.
|
static org.apache.avro.Schema |
SCHEMA$ |
| Constructor and Description |
|---|
AvroRelation()
Default constructor.
|
AvroRelation(AvroPrimitive common,
List<AvroRelationMember> members)
All-args constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
get(int field$) |
static org.apache.avro.Schema |
getClassSchema() |
AvroPrimitive |
getCommon()
Gets the value of the 'common' field.
|
List<AvroRelationMember> |
getMembers()
Gets the value of the 'members' field.
|
org.apache.avro.Schema |
getSchema() |
static AvroRelation.Builder |
newBuilder()
Creates a new AvroRelation RecordBuilder
|
static AvroRelation.Builder |
newBuilder(AvroRelation.Builder other)
Creates a new AvroRelation RecordBuilder by copying an existing Builder
|
static AvroRelation.Builder |
newBuilder(AvroRelation other)
Creates a new AvroRelation RecordBuilder by copying an existing AvroRelation instance
|
void |
put(int field$,
Object value$) |
void |
setCommon(AvroPrimitive value)
Sets the value of the 'common' field.
|
void |
setMembers(List<AvroRelationMember> value)
Sets the value of the 'members' field.
|
public static final org.apache.avro.Schema SCHEMA$
@Deprecated public AvroPrimitive common
@Deprecated public List<AvroRelationMember> members
public AvroRelation()
newBuilder().public AvroRelation(AvroPrimitive common, List<AvroRelationMember> members)
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 Object get(int field$)
get in interface org.apache.avro.generic.IndexedRecordget in class org.apache.avro.specific.SpecificRecordBasepublic void put(int field$,
Object value$)
put in interface org.apache.avro.generic.IndexedRecordput in class org.apache.avro.specific.SpecificRecordBasepublic AvroPrimitive getCommon()
public void setCommon(AvroPrimitive value)
value - the value to set.public List<AvroRelationMember> getMembers()
public void setMembers(List<AvroRelationMember> value)
value - the value to set.public static AvroRelation.Builder newBuilder()
public static AvroRelation.Builder newBuilder(AvroRelation.Builder other)
public static AvroRelation.Builder newBuilder(AvroRelation other)
Copyright © 2013–2019. All rights reserved.