public class AvroWay
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
| Modifier and Type | Class and Description |
|---|---|
static class |
AvroWay.Builder
RecordBuilder for AvroWay instances.
|
| Modifier and Type | Field and Description |
|---|---|
AvroPrimitive |
common
Deprecated.
|
List<Long> |
nodes
Deprecated.
|
static org.apache.avro.Schema |
SCHEMA$ |
| Constructor and Description |
|---|
AvroWay()
Default constructor.
|
AvroWay(AvroPrimitive common,
List<Long> nodes)
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<Long> |
getNodes()
Gets the value of the 'nodes' field.
|
org.apache.avro.Schema |
getSchema() |
static AvroWay.Builder |
newBuilder()
Creates a new AvroWay RecordBuilder
|
static AvroWay.Builder |
newBuilder(AvroWay.Builder other)
Creates a new AvroWay RecordBuilder by copying an existing Builder
|
static AvroWay.Builder |
newBuilder(AvroWay other)
Creates a new AvroWay RecordBuilder by copying an existing AvroWay instance
|
void |
put(int field$,
Object value$) |
void |
setCommon(AvroPrimitive value)
Sets the value of the 'common' field.
|
void |
setNodes(List<Long> value)
Sets the value of the 'nodes' field.
|
public static final org.apache.avro.Schema SCHEMA$
@Deprecated public AvroPrimitive common
@Deprecated public List<Long> nodes
public AvroWay()
newBuilder().public AvroWay(AvroPrimitive common, List<Long> nodes)
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 void setNodes(List<Long> value)
value - the value to set.public static AvroWay.Builder newBuilder()
public static AvroWay.Builder newBuilder(AvroWay.Builder other)
public static AvroWay.Builder newBuilder(AvroWay other)
Copyright © 2013–2019. All rights reserved.