public class DecoderResolver
extends java.lang.Object
Decoder
to a ResolvingDecoder
. This class uses a ThreadLocal
for caching ResolvingDecoder
.Modifier and Type | Method and Description |
---|---|
static <T> T |
resolveAndRead(org.apache.avro.io.Decoder decoder,
org.apache.avro.Schema readSchema,
org.apache.avro.Schema fileSchema,
ValueReader<T> reader,
T reuse) |
public static <T> T resolveAndRead(org.apache.avro.io.Decoder decoder, org.apache.avro.Schema readSchema, org.apache.avro.Schema fileSchema, ValueReader<T> reader, T reuse) throws java.io.IOException
java.io.IOException