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.ipc.generic | |
org.apache.avro.ipc.reflect | |
org.apache.avro.ipc.specific | |
org.apache.avro.mapreduce | |
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.Reader
DatumReader for arbitrary Json data. |
Modifier and Type | Method and Description |
---|---|
static <D> FileReader<D> |
DataFileReader.openReader(File file,
DatumReader<D> reader)
Open a reader for a file.
|
static <D> FileReader<D> |
DataFileReader.openReader(SeekableInput in,
DatumReader<D> reader)
Open a reader for a file.
|
static <D> DataFileReader<D> |
DataFileReader.openReader(SeekableInput in,
DatumReader<D> reader,
DataFileStream.Header header,
boolean sync)
Construct a reader for a file at the current position of the input,
without reading the header.
|
Constructor and Description |
---|
DataFileReader(File file,
DatumReader<D> reader)
Construct a reader for a file.
|
DataFileReader(SeekableInput sin,
DatumReader<D> reader)
Construct a reader for a file.
|
DataFileReader(SeekableInput sin,
DatumReader<D> reader,
DataFileStream.Header header)
Construct using a
DataFileStream.Header . |
DataFileReader12(SeekableInput sin,
DatumReader<D> reader)
Construct a reader for a file.
|
DataFileStream(DatumReader<D> reader)
create an unitialized DataFileStream
|
DataFileStream(InputStream in,
DatumReader<D> reader)
Construct a reader for an input stream.
|
Modifier and Type | Class and Description |
---|---|
class |
GenericDatumReader<D>
DatumReader for generic Java objects. |
Modifier and Type | Method and Description |
---|---|
DatumReader |
GenericData.createDatumReader(Schema schema)
Returns a
DatumReader for this kind of data. |
Modifier and Type | Method and Description |
---|---|
protected DatumReader<Object> |
GenericResponder.getDatumReader(Schema actual,
Schema expected) |
Modifier and Type | Method and Description |
---|---|
protected DatumReader<Object> |
ReflectRequestor.getDatumReader(Schema writer,
Schema reader) |
protected DatumReader<Object> |
ReflectResponder.getDatumReader(Schema actual,
Schema expected) |
Modifier and Type | Method and Description |
---|---|
protected DatumReader<Object> |
SpecificRequestor.getDatumReader(Schema schema)
Deprecated.
|
protected DatumReader<Object> |
SpecificRequestor.getDatumReader(Schema writer,
Schema reader) |
protected DatumReader<Object> |
SpecificResponder.getDatumReader(Schema actual,
Schema expected) |
Modifier and Type | Method and Description |
---|---|
protected DataFileReader<T> |
AvroRecordReaderBase.createAvroFileReader(SeekableInput input,
DatumReader<T> datumReader)
Creates an Avro container file reader from a seekable input stream.
|
Modifier and Type | Class and Description |
---|---|
class |
ProtobufDatumReader<T>
DatumReader for generated Protobuf
classes. |
Modifier and Type | Method and Description |
---|---|
DatumReader |
ProtobufData.createDatumReader(Schema schema) |
Modifier and Type | Class and Description |
---|---|
class |
ReflectDatumReader<T>
DatumReader for existing classes via
Java reflection. |
Modifier and Type | Method and Description |
---|---|
DatumReader |
ReflectData.createDatumReader(Schema schema) |
Modifier and Type | Class and Description |
---|---|
class |
SpecificDatumReader<T>
DatumReader for generated Java classes. |
Modifier and Type | Method and Description |
---|---|
DatumReader |
SpecificData.createDatumReader(Schema schema) |
Modifier and Type | Class and Description |
---|---|
class |
ThriftDatumReader<T>
DatumReader for generated Thrift
classes. |
Modifier and Type | Method and Description |
---|---|
DatumReader |
ThriftData.createDatumReader(Schema schema) |
Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.