Top Description Fields Constructors Methods
tools.jackson.dataformat.avro.ser

pack-priv abstract Class KeyValueContext

extends AvroWriteContext
Class Inheritance
Known Direct Subclasses
tools.jackson.dataformat.avro.ser.MapWriteContext, tools.jackson.dataformat.avro.ser.ObjectWriteContext
Imports
org.apache.avro.Schema, tools.jackson.dataformat.avro.AvroGenerator

Shared base class for both Record- and Map-backed types.

Field Summary

Modifier and TypeField and Description
protected String
protected boolean
Inherited from tools.jackson.dataformat.avro.ser.AvroWriteContext:
_currentValue_generator_parent_schema

Constructor Summary

AccessConstructor and Description
protected
KeyValueContext(AvroWriteContext parent, AvroGenerator generator, Schema schema, Object currValue)

Method Summary

Modifier and TypeMethod and Description
public final void
public boolean
public final String
currentName()

Overrides tools.jackson.dataformat.avro.ser.AvroWriteContext.currentName.

Method for accessing name associated with the current location.

Inherited from tools.jackson.dataformat.avro.ser.AvroWriteContext:
_createArray_createObjectContext_createRecord_createRecord_recordOrMapFromUnionassignCurrentValuecompletecreateChildArrayContextcreateChildObjectContextcreateRootContextcurrentValuegetParentnullContextrawValueresolveUnionIndexresolveUnionSchemaresolveUnionTypetoStringwriteBinarywriteNamewriteNullwriteStringwriteValue

Field Detail

_currentNameback to summary
protected String _currentName
_expectValueback to summary
protected boolean _expectValue

Constructor Detail

KeyValueContextback to summary
protected KeyValueContext(AvroWriteContext parent, AvroGenerator generator, Schema schema, Object currValue)

Method Detail

appendDescback to summary
public final void appendDesc(StringBuilder sb)

Implements abstract tools.jackson.dataformat.avro.ser.AvroWriteContext.appendDesc.

Annotations
@Override
canCloseback to summary
public boolean canClose()

Overrides tools.jackson.dataformat.avro.ser.AvroWriteContext.canClose.

Annotations
@Override
currentNameback to summary
public final String currentName()

Overrides tools.jackson.dataformat.avro.ser.AvroWriteContext.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