Class StructDefaults.ObjectDefaults
java.lang.Object
tools.jackson.core.TokenStreamContext
tools.jackson.dataformat.avro.deser.AvroReadContext
tools.jackson.dataformat.avro.deser.AvroStructureReader
tools.jackson.dataformat.avro.deser.MapReader
tools.jackson.dataformat.avro.deser.StructDefaults.ObjectDefaults
- Enclosing class:
- StructDefaults
-
Field Summary
FieldsFields inherited from class tools.jackson.dataformat.avro.deser.MapReader
_currentName, _keyTypeId, _parser, _state, _valueTypeId, STATE_DONE, STATE_END, STATE_NAME, STATE_START, STATE_VALUEFields 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
ConstructorsConstructorDescriptionObjectDefaults(AvroReadContext parent, AvroParserImpl parser, AvroFieldReader[] fieldReaders) -
Method Summary
Modifier and TypeMethodDescriptionlongnewReader(AvroReadContext parent, AvroParserImpl parser) Method for creating actual instance to use for reading (initial instance constructed is so-called blueprint).tools.jackson.core.JsonTokenvoidskipValue(AvroParserImpl parser) Alternative toAvroStructureReader.nextToken()which will simply skip the full value.Methods inherited from class tools.jackson.dataformat.avro.deser.MapReader
appendDesc, construct, construct, currentName, getTypeId, nextName, nextNameMatchMethods inherited from class tools.jackson.dataformat.avro.deser.AvroStructureReader
_throwUnsupported, consumesNoContent, 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
-
_fieldReaders
-
-
Constructor Details
-
ObjectDefaults
public ObjectDefaults(AvroReadContext parent, AvroParserImpl parser, AvroFieldReader[] fieldReaders)
-
-
Method Details
-
getRemainingElements
public long getRemainingElements()- Specified by:
getRemainingElementsin classMapReader
-
newReader
Description copied from class:AvroStructureReaderMethod for creating actual instance to use for reading (initial instance constructed is so-called blueprint). -
nextToken
- Specified by:
nextTokenin classMapReader- Throws:
IOException
-
skipValue
Description copied from class:AvroStructureReaderAlternative toAvroStructureReader.nextToken()which will simply skip the full value.- Specified by:
skipValuein classMapReader- Throws:
IOException
-