Package | Description |
---|---|
org.apache.avro.ipc.specific | |
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 |
---|---|
SpecificData |
SpecificResponder.getSpecificData() |
SpecificData |
SpecificRequestor.getSpecificData() |
Modifier and Type | Method and Description |
---|---|
static <T> T |
SpecificRequestor.getClient(Class<T> iface,
Transceiver transciever,
SpecificData data)
Create a proxy instance whose methods invoke RPCs.
|
Constructor and Description |
---|
SpecificRequestor(Class<?> iface,
Transceiver transceiver,
SpecificData data) |
SpecificRequestor(Protocol protocol,
Transceiver transceiver,
SpecificData data) |
SpecificResponder(Class iface,
Object impl,
SpecificData data) |
SpecificResponder(Protocol protocol,
Object impl,
SpecificData data) |
Modifier and Type | Class and Description |
---|---|
class |
ReflectData
Utilities to use existing Java classes and interfaces via reflection.
|
static class |
ReflectData.AllowNull
ReflectData implementation that permits null field values. |
Modifier and Type | Method and Description |
---|---|
static SpecificData |
SpecificData.get()
Return the singleton instance.
|
SpecificData |
SpecificDatumWriter.getSpecificData()
Returns the
SpecificData implementation used by this writer. |
SpecificData |
SpecificDatumReader.getSpecificData()
Return the contained
SpecificData . |
Constructor and Description |
---|
SpecificDatumReader(Schema writer,
Schema reader,
SpecificData data)
Construct given writer's schema, reader's schema, and a
SpecificData . |
SpecificDatumReader(SpecificData data)
Construct given a
SpecificData . |
SpecificDatumWriter(Schema root,
SpecificData specificData) |
SpecificDatumWriter(SpecificData specificData) |
Copyright © 2009–2017 The Apache Software Foundation. All rights reserved.