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