| Package | Description | 
|---|---|
| org.apache.avro.ipc.reflect | |
| org.apache.avro.reflect | Use Java reflection to generate schemas and protocols for existing
classes. | 
| Modifier and Type | Method and Description | 
|---|---|
| ReflectData | ReflectResponder. getReflectData() | 
| ReflectData | ReflectRequestor. getReflectData() | 
| Modifier and Type | Method and Description | 
|---|---|
| static <T> T | ReflectRequestor. getClient(Class<T> iface,
         Transceiver transceiver,
         ReflectData reflectData)Create a proxy instance whose methods invoke RPCs. | 
| Constructor and Description | 
|---|
| ReflectRequestor(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) | 
| Modifier and Type | Class and Description | 
|---|---|
| static class  | ReflectData.AllowNullReflectDataimplementation that permits null field values. | 
| Modifier and Type | Method and Description | 
|---|---|
| ReflectData | ReflectData. addStringable(Class c)Cause a class to be treated as though it had an  Stringable*
 annotation. | 
| static ReflectData | ReflectData. get()Return the singleton instance. | 
| ReflectData | ReflectData. setDefaultGeneratedValue(Type type,
                        Object value)Set the default value for a type. | 
| ReflectData | ReflectData. setDefaultsGenerated(boolean enabled)Enable or disable `default reflection` | 
| Constructor and Description | 
|---|
| ReflectDatumReader(ReflectData data)Construct given a  ReflectData. | 
| 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) | 
| ReflectDatumWriter(ReflectData reflectData) | 
| ReflectDatumWriter(Schema root,
                  ReflectData reflectData) | 
Copyright © 2009–2020 The Apache Software Foundation. All rights reserved.