Package | Description |
---|---|
org.apache.avro.ipc |
Support for inter-process calls.
|
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 |
HandshakeResponse.getSpecificData() |
SpecificData |
HandshakeRequest.getSpecificData() |
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 transceiver,
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.
|
static <T> SpecificData |
SpecificData.getForClass(Class<T> c)
If the given class is assignable to
SpecificRecordBase , this method
returns the SpecificData instance from the field MODEL$ , in order to
get the correct Conversion instances for the class. |
static SpecificData |
SpecificData.getForSchema(Schema reader)
For RECORD type schemas, this method returns the SpecificData instance of the
class associated with the schema, in order to get the right conversions for
any logical types used.
|
SpecificData |
SpecificRecordBase.getSpecificData() |
SpecificData |
SpecificExceptionBase.getSpecificData() |
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) |
SpecificErrorBuilderBase(Schema schema,
SpecificData model)
Creates a SpecificErrorBuilderBase for building errors of the given type.
|
SpecificRecordBuilderBase(Schema schema,
SpecificData model)
Creates a SpecificRecordBuilderBase for building records of the given type.
|
Copyright © 2009–2022 The Apache Software Foundation. All rights reserved.