public final class MapReader extends AvroStructureReader
| Modifier and Type | Field and Description |
|---|---|
protected long |
_count |
protected org.apache.avro.io.BinaryDecoder |
_decoder |
protected AvroParserImpl |
_parser |
protected int |
_state |
protected static int |
STATE_DONE |
protected static int |
STATE_END |
protected static int |
STATE_NAME |
protected static int |
STATE_START |
protected static int |
STATE_VALUE |
_currToken_parent| Constructor and Description |
|---|
MapReader(AvroScalarReader reader) |
MapReader(AvroStructureReader reader) |
| Modifier and Type | Method and Description |
|---|---|
void |
appendDesc(StringBuilder sb) |
String |
getCurrentName() |
MapReader |
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).
|
String |
nextFieldName() |
com.fasterxml.jackson.core.JsonToken |
nextToken() |
_throwUnsupported, getCurrentToken, throwIllegalState_reportError, getParent, toStringprotected static final int STATE_START
protected static final int STATE_NAME
protected static final int STATE_VALUE
protected static final int STATE_END
protected static final int STATE_DONE
protected final org.apache.avro.io.BinaryDecoder _decoder
protected final AvroParserImpl _parser
protected int _state
protected long _count
public MapReader(AvroScalarReader reader)
public MapReader(AvroStructureReader reader)
public MapReader newReader(AvroReadContext parent, AvroParserImpl parser, org.apache.avro.io.BinaryDecoder decoder)
AvroStructureReadernewReader in class AvroStructureReaderpublic String getCurrentName()
getCurrentName in class AvroReadContextpublic com.fasterxml.jackson.core.JsonToken nextToken()
throws IOException
nextToken in class AvroStructureReaderIOExceptionpublic String nextFieldName() throws IOException
nextFieldName in class AvroReadContextIOExceptionpublic void appendDesc(StringBuilder sb)
appendDesc in class AvroReadContextCopyright © 2016 FasterXML. All rights reserved.