Top Inners Fields Constructors Methods
tools.jackson.dataformat.avro.deser

public abstract Class ArrayReader

extends AvroStructureReader
Class Inheritance
Known Direct Subclasses
tools.jackson.dataformat.avro.deser.ArrayReader.Scalar, tools.jackson.dataformat.avro.deser.ArrayReader.NonScalar, tools.jackson.dataformat.avro.deser.StructDefaults.ArrayDefaults
Imports
java.io.IOException, tools.jackson.core.JsonToken, tools.jackson.core.sym.PropertyNameMatcher

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class
private static class

Field Summary

Modifier and TypeField and Description
protected long
protected String
protected final String
protected final AvroParserImpl
protected int
protected static final int
protected static final int
protected static final int
protected static final int

Constructor Summary

AccessConstructor and Description
protected
ArrayReader(AvroReadContext parent, AvroParserImpl parser, String typeId, String elementTypeId)

Method Summary

Modifier and TypeMethod and Description
protected void
public static ArrayReader
construct(ScalarDecoder reader, String typeId, String elementTypeId)

public static ArrayReader
construct(AvroStructureReader reader, String typeId, String elementTypeId)

public String
currentName()

Overrides tools.jackson.dataformat.avro.deser.AvroReadContext.currentName.

Method for accessing name associated with the current location.

public long
public String
public String
public int
Inherited from tools.jackson.dataformat.avro.deser.AvroStructureReader:
_throwUnsupportedconsumesNoContentnewReadernextTokenskipValuethrowIllegalState

Field Detail

_countback to summary
protected long _count
_currentNameback to summary
protected String _currentName
_elementTypeIdback to summary
protected final String _elementTypeId
_parserback to summary
protected final AvroParserImpl _parser
_stateback to summary
protected int _state
STATE_DONEback to summary
protected static final int STATE_DONE
STATE_ELEMENTSback to summary
protected static final int STATE_ELEMENTS
STATE_ENDback to summary
protected static final int STATE_END
STATE_STARTback to summary
protected static final int STATE_START

Constructor Detail

ArrayReaderback to summary
protected ArrayReader(AvroReadContext parent, AvroParserImpl parser, String typeId, String elementTypeId)

Method Detail

appendDescback to summary
protected void appendDesc(StringBuilder sb)

Implements abstract tools.jackson.dataformat.avro.deser.AvroReadContext.appendDesc.

Annotations
@Override
constructback to summary
public static ArrayReader construct(ScalarDecoder reader, String typeId, String elementTypeId)
constructback to summary
public static ArrayReader construct(AvroStructureReader reader, String typeId, String elementTypeId)
currentNameback to summary
public String currentName()

Overrides tools.jackson.dataformat.avro.deser.AvroReadContext.currentName.

Doc from tools.jackson.core.TokenStreamContext.currentName.

Method for accessing name associated with the current location. Non-null for PROPERTY_NAME and value events that directly follow Property names; null for root level and array values.

Annotations
@Override
getRemainingElementsback to summary
public long getRemainingElements()

Overrides tools.jackson.dataformat.avro.deser.AvroReadContext.getRemainingElements.

Annotations
@Override
getTypeIdback to summary
public String getTypeId()

Overrides tools.jackson.dataformat.avro.deser.AvroReadContext.getTypeId.

Annotations
@Override
nextNameback to summary
public String nextName() throws IOException

Implements abstract tools.jackson.dataformat.avro.deser.AvroReadContext.nextName.

Annotations
@Override
nextNameMatchback to summary
public int nextNameMatch(PropertyNameMatcher matcher) throws IOException

Implements abstract tools.jackson.dataformat.avro.deser.AvroReadContext.nextNameMatch.

Annotations
@Override
tools.jackson.dataformat.avro.deser back to summary

private final Class ArrayReader.NonScalar

extends ArrayReader
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final AvroStructureReader
Inherited from tools.jackson.dataformat.avro.deser.ArrayReader:
_count_currentName_elementTypeId_parser_stateSTATE_DONESTATE_ELEMENTSSTATE_ENDSTATE_START

Constructor Summary

AccessConstructor and Description
public
NonScalar(AvroStructureReader reader, String typeId, String elementTypeId)

private
NonScalar(AvroReadContext parent, AvroStructureReader reader, AvroParserImpl parser, String typeId, String elementTypeId)

Method Summary

Modifier and TypeMethod and Description
public ArrayReader.NonScalar
newReader(AvroReadContext parent, AvroParserImpl parser)

Implements abstract tools.jackson.dataformat.avro.deser.AvroStructureReader.newReader.

Method for creating actual instance to use for reading (initial instance constructed is so-called blueprint).

public JsonToken
public void
skipValue(AvroParserImpl parser)

Implements abstract tools.jackson.dataformat.avro.deser.AvroStructureReader.skipValue.

Alternative to nextToken which will simply skip the full value.

Inherited from tools.jackson.dataformat.avro.deser.ArrayReader:
appendDescconstructconstructcurrentNamegetRemainingElementsgetTypeIdnextNamenextNameMatch

Field Detail

_elementReaderback to summary
private final AvroStructureReader _elementReader

Constructor Detail

NonScalarback to summary
public NonScalar(AvroStructureReader reader, String typeId, String elementTypeId)
NonScalarback to summary
private NonScalar(AvroReadContext parent, AvroStructureReader reader, AvroParserImpl parser, String typeId, String elementTypeId)

Method Detail

newReaderback to summary
public ArrayReader.NonScalar newReader(AvroReadContext parent, AvroParserImpl parser)

Implements abstract tools.jackson.dataformat.avro.deser.AvroStructureReader.newReader.

Doc from tools.jackson.dataformat.avro.deser.AvroStructureReader.newReader.

Method for creating actual instance to use for reading (initial instance constructed is so-called blueprint).

Annotations
@Override
nextTokenback to summary
public JsonToken nextToken() throws IOException

Implements abstract tools.jackson.dataformat.avro.deser.AvroStructureReader.nextToken.

Annotations
@Override
skipValueback to summary
public void skipValue(AvroParserImpl parser) throws IOException

Implements abstract tools.jackson.dataformat.avro.deser.AvroStructureReader.skipValue.

Doc from tools.jackson.dataformat.avro.deser.AvroStructureReader.skipValue.

Alternative to nextToken which will simply skip the full value.

Annotations
@Override
tools.jackson.dataformat.avro.deser back to summary

private final Class ArrayReader.Scalar

extends ArrayReader
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final ScalarDecoder
Inherited from tools.jackson.dataformat.avro.deser.ArrayReader:
_count_currentName_elementTypeId_parser_stateSTATE_DONESTATE_ELEMENTSSTATE_ENDSTATE_START

Constructor Summary

AccessConstructor and Description
public
Scalar(ScalarDecoder reader, String typeId, String elementTypeId)

private
Scalar(AvroReadContext parent, ScalarDecoder reader, AvroParserImpl parser, String typeId, String elementTypeId)

Method Summary

Modifier and TypeMethod and Description
public ArrayReader.Scalar
newReader(AvroReadContext parent, AvroParserImpl parser)

Implements abstract tools.jackson.dataformat.avro.deser.AvroStructureReader.newReader.

Method for creating actual instance to use for reading (initial instance constructed is so-called blueprint).

public JsonToken
public void
skipValue(AvroParserImpl parser)

Implements abstract tools.jackson.dataformat.avro.deser.AvroStructureReader.skipValue.

Alternative to nextToken which will simply skip the full value.

Inherited from tools.jackson.dataformat.avro.deser.ArrayReader:
appendDescconstructconstructcurrentNamegetRemainingElementsgetTypeIdnextNamenextNameMatch

Field Detail

_elementReaderback to summary
private final ScalarDecoder _elementReader

Constructor Detail

Scalarback to summary
public Scalar(ScalarDecoder reader, String typeId, String elementTypeId)
Scalarback to summary
private Scalar(AvroReadContext parent, ScalarDecoder reader, AvroParserImpl parser, String typeId, String elementTypeId)

Method Detail

newReaderback to summary
public ArrayReader.Scalar newReader(AvroReadContext parent, AvroParserImpl parser)

Implements abstract tools.jackson.dataformat.avro.deser.AvroStructureReader.newReader.

Doc from tools.jackson.dataformat.avro.deser.AvroStructureReader.newReader.

Method for creating actual instance to use for reading (initial instance constructed is so-called blueprint).

Annotations
@Override
nextTokenback to summary
public JsonToken nextToken() throws IOException

Implements abstract tools.jackson.dataformat.avro.deser.AvroStructureReader.nextToken.

Annotations
@Override
skipValueback to summary
public void skipValue(AvroParserImpl parser) throws IOException

Implements abstract tools.jackson.dataformat.avro.deser.AvroStructureReader.skipValue.

Doc from tools.jackson.dataformat.avro.deser.AvroStructureReader.skipValue.

Alternative to nextToken which will simply skip the full value.

Annotations
@Override