protected static class StructDefaults.ArrayDefaults extends ArrayReader
Modifier and Type | Field and Description |
---|---|
protected AvroFieldReader[] |
_valueReaders |
_count, _currentName, _elementTypeId, _parser, _state, STATE_DONE, STATE_ELEMENTS, STATE_END, STATE_START
_currToken
_currentValue, _parent, _typeId
Constructor and Description |
---|
ArrayDefaults(AvroReadContext parent,
AvroParserImpl parser,
AvroFieldReader[] valueReaders) |
Modifier and Type | Method and Description |
---|---|
ArrayReader |
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, getRemainingElements, getTypeId, nextFieldName
_throwUnsupported, consumesNoContent, getCurrentToken, throwIllegalState
_reportError, getCurrentValue, getParent, setCurrentValue, toString
protected final AvroFieldReader[] _valueReaders
public ArrayDefaults(AvroReadContext parent, AvroParserImpl parser, AvroFieldReader[] valueReaders)
public ArrayReader newReader(AvroReadContext parent, AvroParserImpl parser)
AvroStructureReader
newReader
in class AvroStructureReader
public com.fasterxml.jackson.core.JsonToken nextToken() throws IOException
nextToken
in class AvroStructureReader
IOException
public void skipValue(AvroParserImpl parser) throws IOException
AvroStructureReader
AvroStructureReader.nextToken()
which will simply skip the full
value.skipValue
in class AvroStructureReader
IOException
Copyright © 2022 FasterXML. All rights reserved.