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

public Class MissingReader

extends AvroReadContext
Class Inheritance
Imports
java.io.IOException, com.fasterxml.jackson.core.JsonParseException, .JsonToken

Bogus AvroReadContext implementation used in two cases:
  1. Parser has not yet been configured by an Avro Schema
  2. Parser has been closed (explicitly or implicitly)
In former case, attempts to read will result in a JsonParseException; in latter case, results will simply indicate unavailability of content (return `null` in most cases)

Field Summary

Modifier and TypeField and Description
protected final boolean
public static final MissingReader
public static final MissingReader
Inherited from com.fasterxml.jackson.dataformat.avro.deser.AvroReadContext:
_currentValue_parent_typeId

Constructor Summary

AccessConstructor and Description
public
MissingReader()
Deprecated

protected
MissingReader(boolean schemaSet)

Method Summary

Modifier and TypeMethod and Description
protected void
public void
public JsonToken
public String
public JsonToken
public void
Inherited from com.fasterxml.jackson.dataformat.avro.deser.AvroReadContext:
_reportErrorgetCurrentNamegetCurrentValuegetParentgetRemainingElementsgetTypeIdsetCurrentValuetoString

Field Detail

_schemaSetback to summary
protected final boolean _schemaSet
closedInstanceback to summary
public static final MissingReader closedInstance
instanceback to summary
public static final MissingReader instance

Constructor Detail

MissingReaderback to summary
public MissingReader()

Deprecated

Annotations
@Deprecated
MissingReaderback to summary
protected MissingReader(boolean schemaSet)

Method Detail

_checkSchemaSetback to summary
protected void _checkSchemaSet() throws IOException
appendDescback to summary
public void appendDesc(StringBuilder sb)

Implements abstract com.fasterxml.jackson.dataformat.avro.deser.AvroReadContext.appendDesc.

Annotations
@Override
getCurrentTokenback to summary
public JsonToken getCurrentToken()

Implements abstract com.fasterxml.jackson.dataformat.avro.deser.AvroReadContext.getCurrentToken.

Annotations
@Override
nextFieldNameback to summary
public String nextFieldName() throws IOException

Implements abstract com.fasterxml.jackson.dataformat.avro.deser.AvroReadContext.nextFieldName.

Annotations
@Override
nextTokenback to summary
public JsonToken nextToken() throws IOException

Implements abstract com.fasterxml.jackson.dataformat.avro.deser.AvroReadContext.nextToken.

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

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

Annotations
@Override