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 |
|---|
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 ScalarUnionDecoder(ScalarDecoder[] readers)
protected com.fasterxml.jackson.core.JsonToken decodeValue(AvroParserImpl parser) throws IOException
decodeValue in class ScalarDecoderIOExceptionprotected void skipValue(AvroParserImpl parser) throws IOException
skipValue in class ScalarDecoderIOExceptionpublic String getTypeId()
getTypeId in class ScalarDecoderpublic AvroFieldReader asFieldReader(String name, boolean skipper)
asFieldReader in class ScalarDecoderCopyright © 2020 FasterXML. All rights reserved.