protected static final class ScalarDecoder.EnumDecoder 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 |
|---|---|
protected String |
_name |
protected String[] |
_values |
| Constructor and Description |
|---|
EnumDecoder(String name,
List<String> enumNames) |
| Modifier and Type | Method and Description |
|---|---|
AvroFieldReader |
asFieldReader(String name,
boolean skipper) |
com.fasterxml.jackson.core.JsonToken |
decodeValue(AvroParserImpl parser) |
String |
getTypeId() |
protected void |
skipValue(AvroParserImpl parser) |
public 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 © 2021 FasterXML. All rights reserved.