Top Description Inners Fields Constructors Methods
com.fasterxml.jackson.dataformat.avro.deser

public abstract Class AvroFieldReader

extends Object
Class Inheritance
Known Direct Subclasses
com.fasterxml.jackson.dataformat.avro.deser.AvroFieldReader.Structured, com.fasterxml.jackson.dataformat.avro.deser.ScalarDecoder.BooleanDecoder.FR, com.fasterxml.jackson.dataformat.avro.deser.ScalarDecoder.DoubleReader.FR, com.fasterxml.jackson.dataformat.avro.deser.ScalarDecoder.FloatReader.FR, com.fasterxml.jackson.dataformat.avro.deser.ScalarDecoder.IntReader.FR, com.fasterxml.jackson.dataformat.avro.deser.ScalarDecoder.LongReader.FR, com.fasterxml.jackson.dataformat.avro.deser.ScalarDecoder.NullReader.FR, com.fasterxml.jackson.dataformat.avro.deser.ScalarDecoder.StringReader.FR, com.fasterxml.jackson.dataformat.avro.deser.ScalarDecoder.BytesDecoder.FR, com.fasterxml.jackson.dataformat.avro.deser.ScalarDecoder.ScalarUnionDecoder.FR, com.fasterxml.jackson.dataformat.avro.deser.ScalarDecoder.EnumDecoder.FR, com.fasterxml.jackson.dataformat.avro.deser.ScalarDecoder.FixedDecoder.FR, com.fasterxml.jackson.dataformat.avro.deser.ScalarDefaults.DefaultsBase
Imports
java.io.IOException, com.fasterxml.jackson.core.JsonToken

Entity that encapsulates details of accessing value of a single field of a "Record" (Avro term, corresponding roughly to JSON Object).

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class
AvroFieldReader.Structured

Implementation used for non-scalar-valued (structured) fields

Field Summary

Modifier and TypeField and Description
protected final boolean
protected final String
protected final String

Constructor Summary

AccessConstructor and Description
protected
AvroFieldReader(String name, boolean isSkipper, String typeId)

Method Summary

Modifier and TypeMethod and Description
public static AvroFieldReader
construct(String name, AvroStructureReader structureReader)

public static AvroFieldReader
public final String
public String
public final boolean
public abstract JsonToken
public abstract void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

_isSkipperback to summary
protected final boolean _isSkipper
_nameback to summary
protected final String _name
_typeIdback to summary
protected final String _typeId

Constructor Detail

AvroFieldReaderback to summary
protected AvroFieldReader(String name, boolean isSkipper, String typeId)

Method Detail

constructback to summary
public static AvroFieldReader construct(String name, AvroStructureReader structureReader)
constructSkipperback to summary
public static AvroFieldReader constructSkipper(String name, AvroStructureReader structureReader)
getNameback to summary
public final String getName()
getTypeIdback to summary
public String getTypeId()
isSkipperback to summary
public final boolean isSkipper()
readValueback to summary
public abstract JsonToken readValue(AvroReadContext parent, AvroParserImpl parser) throws IOException
skipValueback to summary
public abstract void skipValue(AvroParserImpl parser) throws IOException
com.fasterxml.jackson.dataformat.avro.deser back to summary

private final Class AvroFieldReader.Structured

extends AvroFieldReader
Class Inheritance

Implementation used for non-scalar-valued (structured) fields

Field Summary

Modifier and TypeField and Description
protected final AvroStructureReader
Inherited from com.fasterxml.jackson.dataformat.avro.deser.AvroFieldReader:
_isSkipper_name_typeId

Constructor Summary

AccessConstructor and Description
public
Structured(String name, boolean skipper, AvroStructureReader r)

Method Summary

Modifier and TypeMethod and Description
public String
public JsonToken
public void
Inherited from com.fasterxml.jackson.dataformat.avro.deser.AvroFieldReader:
constructconstructSkippergetNameisSkipper

Field Detail

_readerback to summary
protected final AvroStructureReader _reader

Constructor Detail

Structuredback to summary
public Structured(String name, boolean skipper, AvroStructureReader r)

Method Detail

getTypeIdback to summary
public String getTypeId()

Overrides com.fasterxml.jackson.dataformat.avro.deser.AvroFieldReader.getTypeId.

Annotations
@Override
readValueback to summary
public JsonToken readValue(AvroReadContext parent, AvroParserImpl parser) throws IOException

Implements abstract com.fasterxml.jackson.dataformat.avro.deser.AvroFieldReader.readValue.

Annotations
@Override
skipValueback to summary
public void skipValue(AvroParserImpl parser) throws IOException

Implements abstract com.fasterxml.jackson.dataformat.avro.deser.AvroFieldReader.skipValue.

Annotations
@Override