Package | Description |
---|---|
org.apache.avro.data |
Interfaces and base classes shared by generic, specific and reflect.
|
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.ipc.generic | |
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.thrift |
Thrift compatibility.
|
Modifier and Type | Method and Description |
---|---|
static JsonNode |
Json.read(Decoder in)
Read Json data from Avro data.
|
JsonNode |
Json.Reader.read(JsonNode reuse,
Decoder in) |
Modifier and Type | Method and Description |
---|---|
D |
GenericDatumReader.read(D reuse,
Decoder in) |
protected Object |
GenericDatumReader.readBytes(Object old,
Decoder in)
Called to read byte arrays.
|
protected Object |
GenericDatumReader.readEnum(Schema expected,
Decoder in)
Called to read an enum value.
|
protected Object |
GenericDatumReader.readFixed(Object old,
Schema expected,
Decoder in)
Called to read a fixed value.
|
protected Object |
GenericDatumReader.readInt(Object old,
Schema expected,
Decoder in)
Called to read integers.
|
protected Object |
GenericDatumReader.readString(Object old,
Decoder in)
Called to read strings.
|
protected Object |
GenericDatumReader.readString(Object old,
Schema expected,
Decoder in)
Called to read strings.
|
static void |
GenericDatumReader.skip(Schema schema,
Decoder in)
Skip an instance of a schema.
|
Modifier and Type | Class and Description |
---|---|
class |
BinaryDecoder
An
Decoder for binary-format data. |
class |
JsonDecoder
A
Decoder for Avro's JSON data encoding. |
class |
ParsingDecoder
|
class |
ResolvingDecoder
Decoder that performs type-resolution between the reader's and
writer's schemas. |
class |
ValidatingDecoder
An implementation of
Decoder that ensures that the sequence
of operations conforms to a schema. |
Modifier and Type | Field and Description |
---|---|
protected Decoder |
ValidatingDecoder.in |
Modifier and Type | Method and Description |
---|---|
ValidatingDecoder |
ValidatingDecoder.configure(Decoder in)
Re-initialize, reading from a new underlying Decoder.
|
D |
DatumReader.read(D reuse,
Decoder in)
Read a datum.
|
ResolvingDecoder |
DecoderFactory.resolvingDecoder(Schema writer,
Schema reader,
Decoder wrapped)
Creates a
ResolvingDecoder wrapping the Decoder provided. |
ValidatingDecoder |
DecoderFactory.validatingDecoder(Schema schema,
Decoder wrapped)
Creates a
ValidatingDecoder wrapping the Decoder provided. |
Modifier and Type | Method and Description |
---|---|
Object |
Requestor.readError(Schema schema,
Decoder in)
Deprecated.
|
abstract Exception |
Requestor.readError(Schema writer,
Schema reader,
Decoder in)
Reads an error message.
|
abstract Object |
Responder.readRequest(Schema actual,
Schema expected,
Decoder in)
Reads a request message.
|
Object |
Requestor.readResponse(Schema schema,
Decoder in)
Deprecated.
|
abstract Object |
Requestor.readResponse(Schema writer,
Schema reader,
Decoder in)
Reads a response message.
|
Modifier and Type | Method and Description |
---|---|
Exception |
GenericRequestor.readError(Schema writer,
Schema reader,
Decoder in) |
Object |
GenericResponder.readRequest(Schema actual,
Schema expected,
Decoder in) |
Object |
GenericRequestor.readResponse(Schema writer,
Schema reader,
Decoder in) |
Modifier and Type | Method and Description |
---|---|
Exception |
SpecificRequestor.readError(Schema writer,
Schema reader,
Decoder in) |
Object |
SpecificRequestor.readResponse(Schema writer,
Schema reader,
Decoder in) |
Modifier and Type | Method and Description |
---|---|
protected Object |
ProtobufDatumReader.readBytes(Object old,
Decoder in) |
Modifier and Type | Method and Description |
---|---|
protected Object |
ReflectDatumReader.readBytes(Object old,
Decoder in) |
protected Object |
ReflectDatumReader.readInt(Object old,
Schema expected,
Decoder in) |
protected Object |
ReflectDatumReader.readString(Object old,
Decoder in) |
protected Object |
ReflectDatumReader.readString(Object old,
Schema s,
Decoder in) |
Modifier and Type | Method and Description |
---|---|
protected Object |
ThriftDatumReader.readInt(Object old,
Schema s,
Decoder in) |
Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.