public class AvroReaderFactory extends Object
| Modifier and Type | Field and Description | 
|---|---|
| protected TreeMap<String,AvroStructureReader> | _knownReadersTo resolve cyclic types, need to keep track of resolved named
 types. | 
| protected static AvroScalarReader | DECODER_BOOLEAN | 
| protected static AvroScalarReader | DECODER_BYTES | 
| protected static AvroScalarReader | DECODER_DOUBLE | 
| protected static AvroScalarReader | DECODER_FLOAT | 
| protected static AvroScalarReader | DECODER_INT | 
| protected static AvroScalarReader | DECODER_LONG | 
| protected static AvroScalarReader | DECODER_NULL | 
| protected static AvroScalarReader | DECODER_STRING | 
| Constructor and Description | 
|---|
| AvroReaderFactory() | 
| Modifier and Type | Method and Description | 
|---|---|
| AvroScalarReader | createDecoder(org.apache.avro.Schema type) | 
| AvroStructureReader | createReader(org.apache.avro.Schema schema)Method for creating a reader instance for specified type. | 
protected static final AvroScalarReader DECODER_BOOLEAN
protected static final AvroScalarReader DECODER_BYTES
protected static final AvroScalarReader DECODER_DOUBLE
protected static final AvroScalarReader DECODER_FLOAT
protected static final AvroScalarReader DECODER_INT
protected static final AvroScalarReader DECODER_LONG
protected static final AvroScalarReader DECODER_NULL
protected static final AvroScalarReader DECODER_STRING
protected final TreeMap<String,AvroStructureReader> _knownReaders
public AvroStructureReader createReader(org.apache.avro.Schema schema)
public AvroScalarReader createDecoder(org.apache.avro.Schema type)
Copyright © 2016 FasterXML. All rights reserved.