public final class DeviceAvro extends SpecificRecordBase
| Modifier and Type | Class and Description |
|---|---|
static class |
DeviceAvro.Builder
RecordBuilder for Avro instances.
|
| Constructor and Description |
|---|
DeviceAvro()
Default constructor, does not initialize fields to their default values from the schema.
|
| Modifier and Type | Method and Description |
|---|---|
DeviceAvro |
decode(Decoder _decoder)
Reads record from Avro Decoder.
|
void |
encode(Encoder _encoder)
Writes record to Avro Encoder.
|
DeviceAvro |
freeze() |
Object |
get(int field$) |
static Schema |
getClassSchema()
Returns Avro record schema.
|
Schema |
getSchema() |
static DeviceAvro.Builder |
newBuilder()
Creates a new DeviceAvro RecordBuilder.
|
static DeviceAvro.Builder |
newBuilder(DeviceAvro.Builder other)
Creates a new DeviceAvro RecordBuilder by copying an existing DeviceAvro.Builder instance.
|
static DeviceAvro.Builder |
newBuilder(DeviceAvro other)
Creates a new DeviceAvro RecordBuilder by copying an existing DeviceAvro instance.
|
void |
put(int field$,
Object value$) |
public static final Schema SCHEMA$
public DeviceAvro()
public DeviceAvro freeze()
public Schema getSchema()
getSchema in interface GenericContainergetSchema in class SpecificRecordBasepublic Object get(int field$)
get in interface IndexedRecordget in class SpecificRecordBasepublic void encode(Encoder _encoder) throws IOException
IOExceptionpublic void put(int field$,
Object value$)
put in interface IndexedRecordput in class SpecificRecordBasepublic DeviceAvro decode(Decoder _decoder) throws IOException
IOExceptionpublic static DeviceAvro.Builder newBuilder()
public static DeviceAvro.Builder newBuilder(DeviceAvro.Builder other)
public static DeviceAvro.Builder newBuilder(DeviceAvro other)
public static Schema getClassSchema()
Copyright © 2013–2016 AdGear Technologies Inc.. All rights reserved.