ObjectWriteContext that needs to be used with
Avro Map datatype.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected final void | |
| public final AvroWriteContext | createChildArrayContext(Object currValue)
Implements abstract tools.
|
| public final AvroWriteContext | createChildObjectContext(Object currValue)
Implements abstract tools.
|
| public Object | rawValue()
Implements abstract tools. Accessor called to link data being built with resulting object. |
| public final boolean | writeName(String name)
Overrides tools. Method that writer is to call before it writes an Object property name. |
| public void | |
| public void | writeString(String value)
Implements abstract tools.
|
| public void | writeValue(Object value)
Implements abstract tools.
|
| _data | back to summary |
|---|---|
| protected final Map<String, Object> _data | |
| MapWriteContext | back to summary |
|---|---|
| public MapWriteContext(AvroWriteContext parent, AvroGenerator generator, Schema schema, Object currValue) | |
| _verifyValueWrite | back to summary |
|---|---|
| protected final void _verifyValueWrite() | |
| createChildArrayContext | back to summary |
|---|---|
| public final AvroWriteContext createChildArrayContext(Object currValue) Implements abstract tools.
| |
| createChildObjectContext | back to summary |
|---|---|
| public final AvroWriteContext createChildObjectContext(Object currValue) Implements abstract tools.
| |
| rawValue | back to summary |
|---|---|
| public Object rawValue() Implements abstract tools. Doc from tools. Accessor called to link data being built with resulting object.
| |
| writeName | back to summary |
|---|---|
| public final boolean writeName(String name) Overrides tools. Doc from tools. Method that writer is to call before it writes an Object property name.
| |
| writeNull | back to summary |
|---|---|
| public void writeNull() Implements abstract tools.
| |
| writeString | back to summary |
|---|---|
| public void writeString(String value) Implements abstract tools.
| |
| writeValue | back to summary |
|---|---|
| public void writeValue(Object value) Implements abstract tools.
| |