public static class AbstractScalarWriterImpl.ScalarObjectWriter extends AbstractObjectWriter
The client sees only the scalar writer API. But, internals need visibility into a rather complex set of events to orchestrate vector events: mostly sent to the writer, but some times sent from the writer, such as vector overflow. Separating the two concepts makes it easier to add type-conversion shims on top of the actual vector writer.
Constructor and Description |
---|
ScalarObjectWriter(AbstractScalarWriterImpl baseWriter) |
Modifier and Type | Method and Description |
---|---|
void |
dump(HierarchicalFormatter format) |
WriterEvents |
events()
The internal state behind this writer.
|
ScalarWriter |
scalar() |
ColumnWriter |
writer()
Generic version of the above, for dynamic handling of
writers.
|
public ScalarObjectWriter(AbstractScalarWriterImpl baseWriter)
public ScalarWriter scalar()
scalar
in interface ObjectWriter
scalar
in class AbstractObjectWriter
public ColumnWriter writer()
ObjectWriter
public WriterEvents events()
ObjectWriter
events
in interface ObjectWriter
events
in class AbstractObjectWriter
public void dump(HierarchicalFormatter format)
dump
in class AbstractObjectWriter
Copyright © 1970 The Apache Software Foundation. All rights reserved.