| 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 |
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| private final NonBSGenericDatumWriter | |
| public void | appendDesc(StringBuilder sb)
Implements abstract tools.
|
| public 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 void | |
| public void | writeString(String value)
Implements abstract tools.
|
| public void | writeValue(Object value)
Implements abstract tools.
|
| _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 tools.
| |
| complete | back to summary |
|---|---|
| public void complete() throws IOException Overrides tools.
| |
| 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.
| |
| writeNull | back to summary |
|---|---|
| public void writeNull() throws IOException Implements abstract tools.
| |
| writeString | back to summary |
|---|---|
| public void writeString(String value) throws IOException Implements abstract tools.
| |
| writeValue | back to summary |
|---|---|
| public void writeValue(Object value) throws IOException Implements abstract tools.
| |