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, toStringpublic 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 AvroReadContextIOExceptionpublic com.fasterxml.jackson.core.JsonToken getCurrentToken()
getCurrentToken in class AvroReadContextpublic void appendDesc(StringBuilder sb)
appendDesc in class AvroReadContextpublic String nextFieldName() throws IOException
nextFieldName in class AvroReadContextIOExceptionpublic void skipValue(AvroParserImpl parser) throws IOException
skipValue in class AvroReadContextIOExceptionprotected void _checkSchemaSet()
throws IOException
IOExceptionCopyright © 2021 FasterXML. All rights reserved.