Uses of Class
org.apache.avro.specific.SpecificData
Package
Description
Support for inter-process calls.
Use Java reflection to generate schemas and protocols for existing
classes.
Generate specific Java classes for schemas and protocols.
-
Uses of SpecificData in org.apache.avro.ipc
Modifier and TypeMethodDescriptionHandshakeRequest.getSpecificData()
HandshakeResponse.getSpecificData()
-
Uses of SpecificData in org.apache.avro.ipc.specific
Modifier and TypeMethodDescriptionSpecificRequestor.getSpecificData()
SpecificResponder.getSpecificData()
Modifier and TypeMethodDescriptionstatic <T> T
SpecificRequestor.getClient
(Class<T> iface, Transceiver transceiver, SpecificData data) Create a proxy instance whose methods invoke RPCs.ModifierConstructorDescriptionSpecificRequestor
(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) -
Uses of SpecificData in org.apache.avro.reflect
Modifier and TypeClassDescriptionclass
Utilities to use existing Java classes and interfaces via reflection.static class
ReflectData
implementation that permits null field values. -
Uses of SpecificData in org.apache.avro.specific
Modifier and TypeMethodDescriptionstatic SpecificData
SpecificData.get()
Return the singleton instance.static <T> SpecificData
SpecificData.getForClass
(Class<T> c) If the given class is assignable toSpecificRecordBase
, this method returns the SpecificData instance from the fieldMODEL$
, in order to get the correctConversion
instances for the class.static SpecificData
SpecificData.getForSchema
(Schema reader) For RECORD and UNION 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.SpecificDatumReader.getSpecificData()
Return the containedSpecificData
.SpecificDatumWriter.getSpecificData()
Returns theSpecificData
implementation used by this writer.SpecificExceptionBase.getSpecificData()
SpecificRecordBase.getSpecificData()
ModifierConstructorDescriptionSpecificDatumReader
(Schema writer, Schema reader, SpecificData data) Construct given writer's schema, reader's schema, and aSpecificData
.Construct given aSpecificData
.SpecificDatumWriter
(Schema root, SpecificData specificData) protected
SpecificDatumWriter
(SpecificData specificData) protected
SpecificErrorBuilderBase
(Schema schema, SpecificData model) Creates a SpecificErrorBuilderBase for building errors of the given type.protected
SpecificRecordBuilderBase
(Schema schema, SpecificData model) Creates a SpecificRecordBuilderBase for building records of the given type.