public class HoodieParquetStreamWriter<R extends org.apache.avro.generic.IndexedRecord> extends Object implements AutoCloseable
| Constructor and Description |
|---|
HoodieParquetStreamWriter(org.apache.hadoop.fs.FSDataOutputStream outputStream,
HoodieParquetConfig<HoodieAvroWriteSupport> parquetConfig) |
public HoodieParquetStreamWriter(org.apache.hadoop.fs.FSDataOutputStream outputStream,
HoodieParquetConfig<HoodieAvroWriteSupport> parquetConfig)
throws IOException
IOExceptionpublic void writeAvro(String key, R object) throws IOException
IOExceptionpublic void close()
throws IOException
close in interface AutoCloseableIOExceptionCopyright © 2022 The Apache Software Foundation. All rights reserved.