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

public final Class ObjectWriteContext

extends KeyValueContext
Class Inheritance
Imports
org.apache.avro.Schema, org.apache.avro.generic.GenericRecord, tools.jackson.core.StreamWriteFeature, tools.jackson.dataformat.avro.AvroGenerator

Field Summary

Modifier and TypeField and Description
protected Schema.Field
_nextField

Definition of property that is to be written next, if any; null if property is to be skipped.

protected final GenericRecord
Inherited from tools.jackson.dataformat.avro.ser.KeyValueContext:
_currentName_expectValue

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected Schema.Field
protected void
protected final void
public final AvroWriteContext
public AvroWriteContext
public Object
rawValue()

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

Accessor called to link data being built with resulting object.

public final boolean
writeName(String name)

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

Method that writer is to call before it writes an Object property name.

public void
public void
public void
Inherited from tools.jackson.dataformat.avro.ser.KeyValueContext:
appendDesccanClosecurrentName

Field Detail

_nextFieldback to summary
protected Schema.Field _nextField

Definition of property that is to be written next, if any; null if property is to be skipped.

_recordback to summary
protected final GenericRecord _record

Constructor Detail

ObjectWriteContextback to summary
public ObjectWriteContext(AvroWriteContext parent, AvroGenerator generator, GenericRecord record, Object currValue)

Method Detail

_findFieldback to summary
protected Schema.Field _findField()
_reportUnknownFieldback to summary
protected void _reportUnknownField(String name)
_verifyValueWriteback to summary
protected final void _verifyValueWrite()
createChildArrayContextback to summary
public final AvroWriteContext createChildArrayContext(Object currValue)

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

Annotations
@Override
createChildObjectContextback to summary
public AvroWriteContext createChildObjectContext(Object currValue)

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

Annotations
@Override
rawValueback to summary
public Object rawValue()

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

Doc from tools.jackson.dataformat.avro.ser.AvroWriteContext.rawValue.

Accessor called to link data being built with resulting object.

Annotations
@Override
writeNameback to summary
public final boolean writeName(String name)

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

Doc from tools.jackson.dataformat.avro.ser.AvroWriteContext.writeName.

Method that writer is to call before it writes an Object property name.

Annotations
@Override
writeNullback to summary
public void writeNull()

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

Annotations
@Override
writeStringback to summary
public void writeString(String value)

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

Annotations
@Override
writeValueback to summary
public void writeValue(Object value)

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

Annotations
@Override