Modifier and Type | Field and Description |
---|---|
protected final BinaryEncoder | |
protected Object | _rootValue
We need to keep reference to the root value here; either
|
private NonBSGenericDatumWriter | _writer
Lazily created instance for encoding: reused in case of root value sequences. |
Access | Constructor and Description |
---|---|
public |
_encoder | back to summary |
---|---|
protected final BinaryEncoder _encoder |
_rootValue | back to summary |
---|---|
protected Object _rootValue We need to keep reference to the root value here; either
|
_writer | back to summary |
---|---|
private NonBSGenericDatumWriter<Object> _writer Lazily created instance for encoding: reused in case of root value sequences. |
RootContext | back to summary |
---|---|
public RootContext(AvroGenerator generator, Schema schema, BinaryEncoder encoder) |
_reportError | back to summary |
---|---|
protected void _reportError() |
_writer | back to summary |
---|---|
private final NonBSGenericDatumWriter |
appendDesc | back to summary |
---|---|
public void appendDesc(StringBuilder sb) Implements abstract com.
|
complete | back to summary |
---|---|
public void complete() throws IOException Overrides com.
|
createChildArrayContext | back to summary |
---|---|
public final AvroWriteContext createChildArrayContext(Object currValue) throws JsonMappingException Implements abstract com.
|
createChildObjectContext | back to summary |
---|---|
public final AvroWriteContext createChildObjectContext(Object currValue) throws JsonMappingException Implements abstract com.
|
rawValue | back to summary |
---|---|
public Object rawValue() Implements abstract com. Doc from com. Accessor called to link data being built with resulting object.
|
writeNull | back to summary |
---|---|
public void writeNull() throws IOException Implements abstract com.
|
writeString | back to summary |
---|---|
public void writeString(String value) throws IOException Implements abstract com.
|
writeValue | back to summary |
---|---|
public void writeValue(Object value) throws IOException Implements abstract com.
|