protected static final class ScalarDecoder.ScalarUnionDecoder extends ScalarDecoder
ScalarDecoder.BooleanDecoder, ScalarDecoder.BytesDecoder, ScalarDecoder.DoubleReader, ScalarDecoder.EnumDecoder, ScalarDecoder.FixedDecoder, ScalarDecoder.FloatReader, ScalarDecoder.IntReader, ScalarDecoder.LongReader, ScalarDecoder.NullReader, ScalarDecoder.ScalarUnionDecoder, ScalarDecoder.StringReader
Modifier and Type | Field and Description |
---|---|
ScalarDecoder[] |
_readers |
Constructor and Description |
---|
ScalarDecoder.ScalarUnionDecoder(ScalarDecoder[] readers) |
Modifier and Type | Method and Description |
---|---|
AvroFieldReader |
asFieldReader(String name,
boolean skipper) |
protected com.fasterxml.jackson.core.JsonToken |
decodeValue(AvroParserImpl parser) |
String |
getTypeId() |
protected void |
skipValue(AvroParserImpl parser) |
public final ScalarDecoder[] _readers
public ScalarDecoder.ScalarUnionDecoder(ScalarDecoder[] readers)
protected com.fasterxml.jackson.core.JsonToken decodeValue(AvroParserImpl parser) throws IOException
decodeValue
in class ScalarDecoder
IOException
protected void skipValue(AvroParserImpl parser) throws IOException
skipValue
in class ScalarDecoder
IOException
public String getTypeId()
getTypeId
in class ScalarDecoder
public AvroFieldReader asFieldReader(String name, boolean skipper)
asFieldReader
in class ScalarDecoder
Copyright © 2017 FasterXML. All rights reserved.