public abstract class AvroStructureReader extends AvroReadContext
Modifier and Type | Field and Description |
---|---|
protected com.fasterxml.jackson.core.JsonToken |
_currToken |
_parent
Modifier | Constructor and Description |
---|---|
protected |
AvroStructureReader(AvroReadContext parent,
int type) |
Modifier and Type | Method and Description |
---|---|
protected <T> T |
_throwUnsupported() |
com.fasterxml.jackson.core.JsonToken |
getCurrentToken() |
abstract AvroStructureReader |
newReader(AvroReadContext parent,
AvroParserImpl parser,
org.apache.avro.io.BinaryDecoder decoder)
Method for creating actual instance to use for reading (initial
instance constructed is so-called blue print).
|
abstract com.fasterxml.jackson.core.JsonToken |
nextToken() |
protected void |
throwIllegalState(int state) |
_reportError, appendDesc, getCurrentName, getParent, nextFieldName, toString
protected AvroStructureReader(AvroReadContext parent, int type)
public abstract AvroStructureReader newReader(AvroReadContext parent, AvroParserImpl parser, org.apache.avro.io.BinaryDecoder decoder)
public abstract com.fasterxml.jackson.core.JsonToken nextToken() throws IOException
nextToken
in class AvroReadContext
IOException
public final com.fasterxml.jackson.core.JsonToken getCurrentToken()
getCurrentToken
in class AvroReadContext
protected void throwIllegalState(int state)
protected <T> T _throwUnsupported()
Copyright © 2016 FasterXML. All rights reserved.