public class NopWriteContext extends AvroWriteContext
AvroWriteContext
used when ignoring structured output._generator, _parent, _schema
Constructor and Description |
---|
NopWriteContext(int type,
AvroWriteContext parent,
AvroGenerator generator) |
Modifier and Type | Method and Description |
---|---|
void |
appendDesc(StringBuilder sb) |
AvroWriteContext |
createChildArrayContext() |
AvroWriteContext |
createChildObjectContext() |
Object |
rawValue()
Accessor called to link data being built with resulting object.
|
void |
writeString(String value) |
void |
writeValue(Object value) |
_createArray, _createObjectContext, _createRecord, _recordOrMapFromUnion, canClose, complete, createNullContext, createRootContext, getCurrentName, getParent, toString, writeFieldName
public NopWriteContext(int type, AvroWriteContext parent, AvroGenerator generator)
public Object rawValue()
AvroWriteContext
rawValue
in class AvroWriteContext
public final AvroWriteContext createChildArrayContext() throws com.fasterxml.jackson.databind.JsonMappingException
createChildArrayContext
in class AvroWriteContext
com.fasterxml.jackson.databind.JsonMappingException
public final AvroWriteContext createChildObjectContext() throws com.fasterxml.jackson.databind.JsonMappingException
createChildObjectContext
in class AvroWriteContext
com.fasterxml.jackson.databind.JsonMappingException
public void writeValue(Object value)
writeValue
in class AvroWriteContext
public void writeString(String value)
writeString
in class AvroWriteContext
public void appendDesc(StringBuilder sb)
appendDesc
in class AvroWriteContext
Copyright © 2016 FasterXML. All rights reserved.