Uses of Class
org.apache.avro.reflect.ReflectData
Package
Description
Use Java reflection to generate schemas and protocols for existing
classes.
-
Uses of ReflectData in org.apache.avro.ipc.reflect
Modifier and TypeMethodDescriptionReflectRequestor.getReflectData()
ReflectResponder.getReflectData()
Modifier and TypeMethodDescriptionstatic <T> T
ReflectRequestor.getClient
(Class<T> iface, Transceiver transceiver, ReflectData reflectData) Create a proxy instance whose methods invoke RPCs.ModifierConstructorDescriptionReflectRequestor
(Class<?> iface, Transceiver transceiver, ReflectData data) ReflectRequestor
(Protocol protocol, Transceiver transceiver, ReflectData data) ReflectResponder
(Class iface, Object impl, ReflectData data) ReflectResponder
(Protocol protocol, Object impl, ReflectData data) -
Uses of ReflectData in org.apache.avro.reflect
Modifier and TypeClassDescriptionstatic class
ReflectData
implementation that permits null field values.Modifier and TypeMethodDescriptionReflectData.addStringable
(Class c) Cause a class to be treated as though it had anStringable
* annotation.static ReflectData
ReflectData.get()
Return the singleton instance.ReflectData.setDefaultGeneratedValue
(Type type, Object value) Set the default value for a type.ReflectData.setDefaultsGenerated
(boolean enabled) Enable or disable `default reflection`ModifierConstructorDescriptionConstruct given aReflectData
.ReflectDatumReader
(Schema writer, Schema reader, ReflectData data) Construct given writer's and reader's schema and the data model.ReflectDatumWriter
(Class<T> c, ReflectData data) protected
ReflectDatumWriter
(ReflectData reflectData) ReflectDatumWriter
(Schema root, ReflectData reflectData)