Package org.apache.iceberg.data.avro
Class DecoderResolver
java.lang.Object
org.apache.iceberg.data.avro.DecoderResolver
Resolver to resolve 
Decoder to a ResolvingDecoder. This class uses a ThreadLocal for caching ResolvingDecoder.- 
Method SummaryModifier and TypeMethodDescriptionstatic voidstatic <T> TresolveAndRead(org.apache.avro.io.Decoder decoder, org.apache.avro.Schema readSchema, org.apache.avro.Schema fileSchema, ValueReader<T> reader, T reuse) 
- 
Method Details- 
resolveAndReadpublic 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 IOException - Throws:
- IOException
 
- 
clearCachepublic static void clearCache()
 
-