@InterfaceAudience.Internal public class AvroCarbonWriter extends CarbonWriter
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Flush and close the writer
|
static Schema |
getCarbonSchemaFromAvroSchema(org.apache.avro.Schema avroSchema)
converts avro schema to carbon schema required by carbonWriter
|
void |
write(Object object)
Write single row data, input row is Avro Record
|
builderpublic static Schema getCarbonSchemaFromAvroSchema(org.apache.avro.Schema avroSchema)
avroSchema - avro schemapublic void write(Object object) throws IOException
write in class CarbonWriterIOExceptionpublic void close()
throws IOException
close in class CarbonWriterIOExceptionCopyright © 2016–2019 The Apache Software Foundation. All rights reserved.