org.apache.avro.reflect
Class ReflectResponder
java.lang.Object
org.apache.avro.ipc.Responder
org.apache.avro.specific.SpecificResponder
org.apache.avro.reflect.ReflectResponder
public class ReflectResponder
- extends SpecificResponder
Responder
for existing interfaces.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReflectResponder
public ReflectResponder(Class iface,
Object impl)
ReflectResponder
public ReflectResponder(Protocol protocol,
Object impl)
getDatumWriter
protected DatumWriter<Object> getDatumWriter(Schema schema)
- Overrides:
getDatumWriter
in class SpecificResponder
getDatumReader
protected DatumReader<Object> getDatumReader(Schema schema)
- Overrides:
getDatumReader
in class SpecificResponder
Copyright © 2010 The Apache Software Foundation