public abstract class AvroReadContext
extends com.fasterxml.jackson.core.JsonStreamContext
| Modifier and Type | Field and Description |
|---|---|
protected Object |
_currentValue |
protected AvroReadContext |
_parent |
protected String |
_typeId |
| Constructor and Description |
|---|
AvroReadContext(AvroReadContext parent,
String typeId) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
_reportError() |
protected abstract void |
appendDesc(StringBuilder sb) |
String |
getCurrentName() |
abstract com.fasterxml.jackson.core.JsonToken |
getCurrentToken() |
Object |
getCurrentValue() |
AvroReadContext |
getParent() |
long |
getRemainingElements() |
String |
getTypeId() |
abstract String |
nextFieldName() |
abstract com.fasterxml.jackson.core.JsonToken |
nextToken() |
void |
setCurrentValue(Object v) |
abstract void |
skipValue(AvroParserImpl parser) |
String |
toString()
Overridden to provide developer writeable "JsonPath" representation
of the context.
|
protected final AvroReadContext _parent
protected final String _typeId
protected Object _currentValue
public AvroReadContext(AvroReadContext parent, String typeId)
public abstract com.fasterxml.jackson.core.JsonToken nextToken()
throws IOException
IOExceptionpublic abstract String nextFieldName() throws IOException
IOExceptionpublic abstract void skipValue(AvroParserImpl parser) throws IOException
IOExceptionpublic long getRemainingElements()
public Object getCurrentValue()
getCurrentValue in class com.fasterxml.jackson.core.JsonStreamContextpublic void setCurrentValue(Object v)
setCurrentValue in class com.fasterxml.jackson.core.JsonStreamContextpublic String getCurrentName()
getCurrentName in class com.fasterxml.jackson.core.JsonStreamContextpublic abstract com.fasterxml.jackson.core.JsonToken getCurrentToken()
public final AvroReadContext getParent()
getParent in class com.fasterxml.jackson.core.JsonStreamContextprotected abstract void appendDesc(StringBuilder sb)
public String getTypeId()
protected void _reportError()
public final String toString()
toString in class com.fasterxml.jackson.core.JsonStreamContextCopyright © 2019 FasterXML. All rights reserved.