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
IOException
public abstract String nextFieldName() throws IOException
IOException
public abstract void skipValue(AvroParserImpl parser) throws IOException
IOException
public long getRemainingElements()
public Object getCurrentValue()
getCurrentValue
in class com.fasterxml.jackson.core.JsonStreamContext
public void setCurrentValue(Object v)
setCurrentValue
in class com.fasterxml.jackson.core.JsonStreamContext
public String getCurrentName()
getCurrentName
in class com.fasterxml.jackson.core.JsonStreamContext
public abstract com.fasterxml.jackson.core.JsonToken getCurrentToken()
public final AvroReadContext getParent()
getParent
in class com.fasterxml.jackson.core.JsonStreamContext
protected abstract void appendDesc(StringBuilder sb)
public String getTypeId()
protected void _reportError()
public final String toString()
toString
in class com.fasterxml.jackson.core.JsonStreamContext
Copyright © 2017 FasterXML. All rights reserved.