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, toString
protected final AvroFieldReader[] _fieldReaders
public ObjectDefaults(AvroReadContext parent, AvroParserImpl parser, AvroFieldReader[] fieldReaders)
public long getRemainingElements()
getRemainingElements
in class MapReader
public MapReader newReader(AvroReadContext parent, AvroParserImpl parser)
AvroStructureReader
public com.fasterxml.jackson.core.JsonToken nextToken() throws IOException
nextToken
in class MapReader
IOException
public void skipValue(AvroParserImpl parser) throws IOException
AvroStructureReader
AvroStructureReader.nextToken()
which will simply skip the full
value.skipValue
in class MapReader
IOException
Copyright © 2021 FasterXML. All rights reserved.