Class ScalarDecoder
java.lang.Object
tools.jackson.dataformat.avro.deser.ScalarDecoder
- Direct Known Subclasses:
ScalarDecoder.BooleanDecoder,ScalarDecoder.BytesDecimalReader,ScalarDecoder.BytesDecoder,ScalarDecoder.DoubleReader,ScalarDecoder.EnumDecoder,ScalarDecoder.FixedDecimalReader,ScalarDecoder.FixedDecoder,ScalarDecoder.FloatReader,ScalarDecoder.IntReader,ScalarDecoder.LongReader,ScalarDecoder.NullReader,ScalarDecoder.ScalarUnionDecoder,ScalarDecoder.StringReader
Helper classes for reading non-structured values, and can thereby usually
be accessed using simpler interface (although sometimes not: if so,
instances are wrapped in
ScalarDecoderWrappers).-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static final classprotected static final classprotected static final classprotected static final classprotected static final classprotected static final classprotected static final classprotected static final classprotected static final classprotected static final classprotected static final classprotected static final classprotected static final class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract AvroFieldReaderasFieldReader(String name, boolean skipper) protected abstract tools.jackson.core.JsonTokendecodeValue(AvroParserImpl parser) abstract Stringprotected abstract voidskipValue(AvroParserImpl parser)
-
Constructor Details
-
ScalarDecoder
public ScalarDecoder()
-
-
Method Details
-
decodeValue
protected abstract tools.jackson.core.JsonToken decodeValue(AvroParserImpl parser) throws IOException - Throws:
IOException
-
skipValue
- Throws:
IOException
-
asFieldReader
-
getTypeId
-