public abstract class ArrayReader extends AvroStructureReader
| Modifier and Type | Field and Description |
|---|---|
protected long |
_count |
protected String |
_currentName |
protected String |
_elementTypeId |
protected AvroParserImpl |
_parser |
protected int |
_state |
protected static int |
STATE_DONE |
protected static int |
STATE_ELEMENTS |
protected static int |
STATE_END |
protected static int |
STATE_START |
_currToken_currentValue, _parent, _typeId| Modifier | Constructor and Description |
|---|---|
protected |
ArrayReader(AvroReadContext parent,
AvroParserImpl parser,
String typeId,
String elementTypeId) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
appendDesc(StringBuilder sb) |
static ArrayReader |
construct(AvroStructureReader reader,
String typeId,
String elementTypeId) |
static ArrayReader |
construct(ScalarDecoder reader,
String typeId,
String elementTypeId) |
String |
getCurrentName() |
long |
getRemainingElements() |
String |
getTypeId() |
String |
nextFieldName() |
_throwUnsupported, consumesNoContent, getCurrentToken, newReader, nextToken, skipValue, throwIllegalState_reportError, getCurrentValue, getParent, setCurrentValue, toStringprotected static final int STATE_START
protected static final int STATE_ELEMENTS
protected static final int STATE_END
protected static final int STATE_DONE
protected final AvroParserImpl _parser
protected final String _elementTypeId
protected int _state
protected long _count
protected String _currentName
protected ArrayReader(AvroReadContext parent, AvroParserImpl parser, String typeId, String elementTypeId)
public static ArrayReader construct(ScalarDecoder reader, String typeId, String elementTypeId)
public static ArrayReader construct(AvroStructureReader reader, String typeId, String elementTypeId)
public String nextFieldName() throws IOException
nextFieldName in class AvroReadContextIOExceptionpublic String getCurrentName()
getCurrentName in class AvroReadContextprotected void appendDesc(StringBuilder sb)
appendDesc in class AvroReadContextpublic long getRemainingElements()
getRemainingElements in class AvroReadContextpublic String getTypeId()
getTypeId in class AvroReadContextCopyright © 2022 FasterXML. All rights reserved.