public final class AvroFieldWrapper extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
_name |
protected AvroScalarReader |
_scalarReader |
protected AvroStructureReader |
_structureReader |
Constructor and Description |
---|
AvroFieldWrapper(String name,
AvroScalarReader scalarReader) |
AvroFieldWrapper(String name,
AvroStructureReader structureReader) |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
com.fasterxml.jackson.core.JsonToken |
readValue(AvroReadContext parent,
AvroParserImpl parser,
org.apache.avro.io.BinaryDecoder decoder) |
protected final String _name
protected final AvroScalarReader _scalarReader
protected final AvroStructureReader _structureReader
public AvroFieldWrapper(String name, AvroScalarReader scalarReader)
public AvroFieldWrapper(String name, AvroStructureReader structureReader)
public String getName()
public com.fasterxml.jackson.core.JsonToken readValue(AvroReadContext parent, AvroParserImpl parser, org.apache.avro.io.BinaryDecoder decoder) throws IOException
IOException
Copyright © 2016 FasterXML. All rights reserved.