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.ipc |
Support for inter-process calls.
|
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.
|
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 record,
Schema.Field field,
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.
|
protected Object |
GenericDatumReader.readWithConversion(Object old,
Schema expected,
LogicalType logicalType,
Conversion<?> conversion,
ResolvingDecoder in) |
protected Object |
GenericDatumReader.readWithoutConversion(Object old,
Schema expected,
ResolvingDecoder in) |
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 |
---|---|
void |
HandshakeResponse.customDecode(ResolvingDecoder in) |
void |
HandshakeRequest.customDecode(ResolvingDecoder in) |
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 field,
Object oldDatum,
ResolvingDecoder in,
Object state) |
Modifier and Type | Method and Description |
---|---|
void |
SpecificRecordBase.customDecode(ResolvingDecoder in) |
protected void |
SpecificDatumReader.readField(Object record,
Schema.Field field,
Object oldDatum,
ResolvingDecoder in,
Object state) |
protected Object |
SpecificDatumReader.readRecord(Object old,
Schema expected,
ResolvingDecoder in) |
Copyright © 2009–2020 The Apache Software Foundation. All rights reserved.