public class MissingReader extends AvroReadContext
AvroReadContext
implementation used in two cases:
JsonParseException
;
in latter case, results will simply indicate unavailability of content
(return `null` in most cases)Modifier and Type | Field and Description |
---|---|
protected boolean |
_schemaSet |
static MissingReader |
closedInstance |
static MissingReader |
instance |
_currentValue, _parent, _typeId
Modifier | Constructor and Description |
---|---|
|
MissingReader()
Deprecated.
|
protected |
MissingReader(boolean schemaSet) |
Modifier and Type | Method and Description |
---|---|
protected void |
_checkSchemaSet() |
void |
appendDesc(StringBuilder sb) |
com.fasterxml.jackson.core.JsonToken |
getCurrentToken() |
String |
nextFieldName() |
com.fasterxml.jackson.core.JsonToken |
nextToken() |
void |
skipValue(AvroParserImpl parser) |
_reportError, getCurrentName, getCurrentValue, getParent, getRemainingElements, getTypeId, setCurrentValue, toString
public static final MissingReader instance
public static final MissingReader closedInstance
protected final boolean _schemaSet
@Deprecated public MissingReader()
protected MissingReader(boolean schemaSet)
public com.fasterxml.jackson.core.JsonToken nextToken() throws IOException
nextToken
in class AvroReadContext
IOException
public com.fasterxml.jackson.core.JsonToken getCurrentToken()
getCurrentToken
in class AvroReadContext
public void appendDesc(StringBuilder sb)
appendDesc
in class AvroReadContext
public String nextFieldName() throws IOException
nextFieldName
in class AvroReadContext
IOException
public void skipValue(AvroParserImpl parser) throws IOException
skipValue
in class AvroReadContext
IOException
protected void _checkSchemaSet() throws IOException
IOException
Copyright © 2019 FasterXML. All rights reserved.