@InterfaceAudience.User @InterfaceStability.Unstable public abstract class CarbonWriter extends Object
builder() to get
a build to create instance of writer.| Constructor and Description |
|---|
CarbonWriter() |
| Modifier and Type | Method and Description |
|---|---|
static CarbonWriterBuilder |
builder()
Create a
CarbonWriterBuilder to build a CarbonWriter |
abstract void |
close()
Flush and close the writer
|
abstract void |
write(Object object)
Write an object to the file, the format of the object depends on the
implementation.
|
public abstract void write(Object object) throws IOException
IOExceptionpublic abstract void close()
throws IOException
IOExceptionpublic static CarbonWriterBuilder builder()
CarbonWriterBuilder to build a CarbonWriterCopyright © 2016–2019 The Apache Software Foundation. All rights reserved.