public class NopWriteContext extends AvroWriteContext
AvroWriteContext used when ignoring structured output._currentValue, _generator, _parent, _schema| Constructor and Description |
|---|
NopWriteContext(int type,
AvroWriteContext parent,
AvroGenerator generator,
Object currValue) |
| Modifier and Type | Method and Description |
|---|---|
void |
appendDesc(StringBuilder sb) |
AvroWriteContext |
createChildArrayContext(Object currValue) |
AvroWriteContext |
createChildObjectContext(Object currValue) |
Object |
rawValue()
Accessor called to link data being built with resulting object.
|
void |
writeNull() |
void |
writeString(String value) |
void |
writeValue(Object value) |
_createArray, _createObjectContext, _createRecord, _createRecord, _recordOrMapFromUnion, canClose, complete, createRootContext, getCurrentName, getCurrentValue, getParent, nullContext, resolveUnionIndex, resolveUnionSchema, resolveUnionType, setCurrentValue, toString, writeBinary, writeFieldNamepublic NopWriteContext(int type,
AvroWriteContext parent,
AvroGenerator generator,
Object currValue)
public Object rawValue()
AvroWriteContextrawValue in class AvroWriteContextpublic final AvroWriteContext createChildArrayContext(Object currValue) throws com.fasterxml.jackson.databind.JsonMappingException
createChildArrayContext in class AvroWriteContextcom.fasterxml.jackson.databind.JsonMappingExceptionpublic final AvroWriteContext createChildObjectContext(Object currValue) throws com.fasterxml.jackson.databind.JsonMappingException
createChildObjectContext in class AvroWriteContextcom.fasterxml.jackson.databind.JsonMappingExceptionpublic void writeValue(Object value)
writeValue in class AvroWriteContextpublic void writeString(String value)
writeString in class AvroWriteContextpublic void writeNull()
writeNull in class AvroWriteContextpublic void appendDesc(StringBuilder sb)
appendDesc in class AvroWriteContextCopyright © 2020 FasterXML. All rights reserved.