R - target type of the object being written into Parquet files (for ex,
IndexedRecord, InternalRow)public abstract class HoodieBaseParquetWriter<R>
extends org.apache.parquet.hadoop.ParquetWriter<R>
ParquetWriter implementations| Constructor and Description |
|---|
HoodieBaseParquetWriter(org.apache.hadoop.fs.Path file,
HoodieBaseParquetConfig<? extends org.apache.parquet.hadoop.api.WriteSupport<R>> parquetConfig) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canWrite() |
protected long |
getWrittenRecordCount() |
void |
write(R object) |
public HoodieBaseParquetWriter(org.apache.hadoop.fs.Path file,
HoodieBaseParquetConfig<? extends org.apache.parquet.hadoop.api.WriteSupport<R>> parquetConfig)
throws IOException
IOExceptionpublic boolean canWrite()
public void write(R object) throws IOException
write in class org.apache.parquet.hadoop.ParquetWriter<R>IOExceptionprotected long getWrittenRecordCount()
Copyright © 2022 The Apache Software Foundation. All rights reserved.