public class ParquetBulkWriter extends Object implements org.apache.paimon.format.FormatWriter
FormatWriter implementation that wraps a ParquetWriter.| 构造器和说明 |
|---|
ParquetBulkWriter(ParquetWriter<org.apache.paimon.data.InternalRow> parquetWriter)
Creates a new ParquetBulkWriter wrapping the given ParquetWriter.
|
public ParquetBulkWriter(ParquetWriter<org.apache.paimon.data.InternalRow> parquetWriter)
parquetWriter - The ParquetWriter to write to.public void addElement(org.apache.paimon.data.InternalRow datum)
throws IOException
addElement 在接口中 org.apache.paimon.format.FormatWriterIOExceptionpublic void close()
throws IOException
close 在接口中 Closeableclose 在接口中 AutoCloseableIOExceptionpublic boolean reachTargetSize(boolean suggestedCheck,
long targetSize)
throws IOException
reachTargetSize 在接口中 org.apache.paimon.format.FormatWriterIOExceptionCopyright © 2023–2024 The Apache Software Foundation. All rights reserved.