Package | Description |
---|---|
org.apache.avro.data |
Interfaces and base classes shared by generic, specific and reflect.
|
org.apache.avro.file |
A container file for Avro data.
|
org.apache.avro.generic |
A generic representation for Avro data.
|
org.apache.avro.hadoop.io | |
org.apache.avro.ipc.generic | |
org.apache.avro.ipc.reflect | |
org.apache.avro.ipc.specific | |
org.apache.avro.protobuf |
Protocol Buffer
compatibility.
|
org.apache.avro.reflect |
Use Java reflection to generate schemas and protocols for existing
classes.
|
org.apache.avro.specific |
Generate specific Java classes for schemas and protocols.
|
org.apache.avro.thrift |
Thrift compatibility.
|
Modifier and Type | Class and Description |
---|---|
static class |
Json.ObjectWriter
DatumWriter for arbitrary Json data using the object model described
in JsonProperties . |
static class |
Json.Writer
Deprecated.
|
Constructor and Description |
---|
DataFileWriter(DatumWriter<D> dout)
Construct a writer, not yet open.
|
Modifier and Type | Class and Description |
---|---|
class |
GenericDatumWriter<D>
DatumWriter for generic Java objects. |
Modifier and Type | Method and Description |
---|---|
DatumWriter |
GenericData.createDatumWriter(Schema schema)
Returns a
DatumWriter for this kind of data. |
Constructor and Description |
---|
AvroSerializer(Schema writerSchema,
DatumWriter<T> datumWriter)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected DatumWriter<Object> |
GenericResponder.getDatumWriter(Schema schema) |
Modifier and Type | Method and Description |
---|---|
protected DatumWriter<Object> |
ReflectResponder.getDatumWriter(Schema schema) |
protected DatumWriter<Object> |
ReflectRequestor.getDatumWriter(Schema schema) |
Modifier and Type | Method and Description |
---|---|
protected DatumWriter<Object> |
SpecificResponder.getDatumWriter(Schema schema) |
protected DatumWriter<Object> |
SpecificRequestor.getDatumWriter(Schema schema) |
Modifier and Type | Class and Description |
---|---|
class |
ProtobufDatumWriter<T>
DatumWriter for generated protobuf
classes. |
Modifier and Type | Method and Description |
---|---|
DatumWriter |
ProtobufData.createDatumWriter(Schema schema) |
Modifier and Type | Class and Description |
---|---|
class |
ReflectDatumWriter<T>
DatumWriter for existing classes
via Java reflection. |
Modifier and Type | Method and Description |
---|---|
DatumWriter |
ReflectData.createDatumWriter(Schema schema) |
Modifier and Type | Class and Description |
---|---|
class |
SpecificDatumWriter<T>
DatumWriter for generated Java classes. |
Modifier and Type | Method and Description |
---|---|
DatumWriter |
SpecificData.createDatumWriter(Schema schema) |
Modifier and Type | Class and Description |
---|---|
class |
ThriftDatumWriter<T>
DatumWriter for generated thrift
classes. |
Modifier and Type | Method and Description |
---|---|
DatumWriter |
ThriftData.createDatumWriter(Schema schema) |
Copyright © 2009–2016 The Apache Software Foundation. All rights reserved.