java.lang.Object
tools.jackson.core.TokenStreamContext
tools.jackson.dataformat.avro.deser.AvroReadContext
tools.jackson.dataformat.avro.deser.AvroStructureReader
tools.jackson.dataformat.avro.deser.ArrayReader
- Direct Known Subclasses:
StructDefaults.ArrayDefaults
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected longprotected Stringprotected final Stringprotected final AvroParserImplprotected intprotected static final intprotected static final intprotected static final intprotected static final intFields inherited from class tools.jackson.dataformat.avro.deser.AvroReadContext
_currentValue, _currToken, _parent, _typeIdFields inherited from class tools.jackson.core.TokenStreamContext
_index, _nestingDepth, _type, TYPE_ARRAY, TYPE_OBJECT, TYPE_ROOT -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedArrayReader(AvroReadContext parent, AvroParserImpl parser, String typeId, String elementTypeId) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidstatic ArrayReaderconstruct(AvroStructureReader reader, String typeId, String elementTypeId) static ArrayReaderconstruct(ScalarDecoder reader, String typeId, String elementTypeId) longnextName()intnextNameMatch(tools.jackson.core.sym.PropertyNameMatcher matcher) Methods inherited from class tools.jackson.dataformat.avro.deser.AvroStructureReader
_throwUnsupported, consumesNoContent, newReader, nextToken, skipValue, throwIllegalStateMethods inherited from class tools.jackson.dataformat.avro.deser.AvroReadContext
_reportError, assignCurrentValue, currentToken, currentValue, getParent, toStringMethods inherited from class tools.jackson.core.TokenStreamContext
getCurrentIndex, getEntryCount, getNestingDepth, hasCurrentIndex, hasCurrentName, hasPathSegment, inArray, inObject, inRoot, pathAsPointer, pathAsPointer, startLocation, typeDesc
-
Field Details
-
STATE_START
protected static final int STATE_START- See Also:
-
STATE_ELEMENTS
protected static final int STATE_ELEMENTS- See Also:
-
STATE_END
protected static final int STATE_END- See Also:
-
STATE_DONE
protected static final int STATE_DONE- See Also:
-
_parser
-
_elementTypeId
-
_state
protected int _state -
_count
protected long _count -
_currentName
-
-
Constructor Details
-
ArrayReader
protected ArrayReader(AvroReadContext parent, AvroParserImpl parser, String typeId, String elementTypeId)
-
-
Method Details
-
construct
-
construct
public static ArrayReader construct(AvroStructureReader reader, String typeId, String elementTypeId) -
nextName
- Specified by:
nextNamein classAvroReadContext- Throws:
IOException
-
nextNameMatch
- Specified by:
nextNameMatchin classAvroReadContext- Throws:
IOException
-
currentName
- Overrides:
currentNamein classAvroReadContext
-
appendDesc
- Specified by:
appendDescin classAvroReadContext
-
getRemainingElements
public long getRemainingElements()- Overrides:
getRemainingElementsin classAvroReadContext
-
getTypeId
- Overrides:
getTypeIdin classAvroReadContext
-