Package | Description |
---|---|
org.apache.avro.generic |
A generic representation for Avro data.
|
org.apache.avro.io |
Utilities for Encoding and Decoding Avro data.
|
org.apache.avro.protobuf |
Protocol Buffer
compatibility.
|
org.apache.avro.reflect |
Use Java reflection to generate schemas and protocols for existing
classes.
|
Modifier and Type | Method and Description |
---|---|
protected ResolvingDecoder |
GenericDatumReader.getResolver(Schema actual,
Schema expected)
Gets a resolving decoder for use by this GenericDatumReader.
|
Modifier and Type | Method and Description |
---|---|
protected Object |
GenericDatumReader.read(Object old,
Schema expected,
ResolvingDecoder in)
Called to read data.
|
protected Object |
GenericDatumReader.readArray(Object old,
Schema expected,
ResolvingDecoder in)
Called to read an array instance.
|
protected void |
GenericDatumReader.readField(Object r,
Schema.Field f,
Object oldDatum,
ResolvingDecoder in,
Object state)
Called to read a single field of a record.
|
protected Object |
GenericDatumReader.readMap(Object old,
Schema expected,
ResolvingDecoder in)
Called to read a map instance.
|
protected Object |
GenericDatumReader.readRecord(Object old,
Schema expected,
ResolvingDecoder in)
Called to read a record instance.
|
Modifier and Type | Method and Description |
---|---|
ResolvingDecoder |
DecoderFactory.resolvingDecoder(Schema writer,
Schema reader,
Decoder wrapped)
Creates a
ResolvingDecoder wrapping the Decoder provided. |
Modifier and Type | Method and Description |
---|---|
protected Object |
ProtobufDatumReader.readRecord(Object old,
Schema expected,
ResolvingDecoder in) |
Modifier and Type | Method and Description |
---|---|
protected Object |
ReflectDatumReader.readArray(Object old,
Schema expected,
ResolvingDecoder in) |
protected void |
ReflectDatumReader.readField(Object record,
Schema.Field f,
Object oldDatum,
ResolvingDecoder in,
Object state) |
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.