protected static class StructDefaults.ObjectDefaults extends MapReader
| Modifier and Type | Field and Description |
|---|---|
protected AvroFieldReader[] |
_fieldReaders |
_currentName, _keyTypeId, _parser, _state, _valueTypeId, STATE_DONE, STATE_END, STATE_NAME, STATE_START, STATE_VALUE_currToken_currentValue, _parent, _typeId| Constructor and Description |
|---|
ObjectDefaults(AvroReadContext parent,
AvroParserImpl parser,
AvroFieldReader[] fieldReaders) |
| Modifier and Type | Method and Description |
|---|---|
long |
getRemainingElements() |
MapReader |
newReader(AvroReadContext parent,
AvroParserImpl parser)
Method for creating actual instance to use for reading (initial
instance constructed is so-called blue print).
|
com.fasterxml.jackson.core.JsonToken |
nextToken() |
void |
skipValue(AvroParserImpl parser)
Alternative to
AvroStructureReader.nextToken() which will simply skip the full
value. |
appendDesc, construct, construct, getCurrentName, getTypeId, nextFieldName_throwUnsupported, consumesNoContent, getCurrentToken, throwIllegalState_reportError, getCurrentValue, getParent, setCurrentValue, toStringprotected final AvroFieldReader[] _fieldReaders
public ObjectDefaults(AvroReadContext parent, AvroParserImpl parser, AvroFieldReader[] fieldReaders)
public long getRemainingElements()
getRemainingElements in class MapReaderpublic MapReader newReader(AvroReadContext parent, AvroParserImpl parser)
AvroStructureReaderpublic com.fasterxml.jackson.core.JsonToken nextToken()
throws IOException
nextToken in class MapReaderIOExceptionpublic void skipValue(AvroParserImpl parser) throws IOException
AvroStructureReaderAvroStructureReader.nextToken() which will simply skip the full
value.skipValue in class MapReaderIOExceptionCopyright © 2019 FasterXML. All rights reserved.