public abstract class AvroStructureReader extends AvroReadContext
| Modifier and Type | Field and Description |
|---|---|
protected com.fasterxml.jackson.core.JsonToken |
_currToken |
_currentValue, _parent, _typeId| Modifier | Constructor and Description |
|---|---|
protected |
AvroStructureReader(AvroReadContext parent,
int type,
String typeId) |
| Modifier and Type | Method and Description |
|---|---|
protected <T> T |
_throwUnsupported() |
com.fasterxml.jackson.core.JsonToken |
getCurrentToken() |
abstract AvroStructureReader |
newReader(AvroReadContext parent,
AvroParserImpl parser)
Method for creating actual instance to use for reading (initial
instance constructed is so-called blue print).
|
abstract com.fasterxml.jackson.core.JsonToken |
nextToken() |
abstract void |
skipValue(AvroParserImpl parser)
Alternative to
nextToken() which will simply skip the full
value. |
protected void |
throwIllegalState(int state) |
_reportError, appendDesc, getCurrentName, getCurrentValue, getParent, getRemainingElements, getTypeId, nextFieldName, setCurrentValue, toStringprotected AvroStructureReader(AvroReadContext parent, int type, String typeId)
public abstract AvroStructureReader newReader(AvroReadContext parent, AvroParserImpl parser)
public abstract com.fasterxml.jackson.core.JsonToken nextToken()
throws IOException
nextToken in class AvroReadContextIOExceptionpublic abstract void skipValue(AvroParserImpl parser) throws IOException
nextToken() which will simply skip the full
value.skipValue in class AvroReadContextIOExceptionpublic final com.fasterxml.jackson.core.JsonToken getCurrentToken()
getCurrentToken in class AvroReadContextprotected void throwIllegalState(int state)
protected <T> T _throwUnsupported()
Copyright © 2017 FasterXML. All rights reserved.