public class OrcBulkWriter extends Object implements org.apache.paimon.format.FormatWriter
FormatWriter implementation that writes data in ORC format.| 构造器和说明 |
|---|
OrcBulkWriter(Vectorizer<org.apache.paimon.data.InternalRow> vectorizer,
org.apache.orc.Writer writer,
org.apache.paimon.fs.PositionOutputStream underlyingStream,
int batchSize) |
public OrcBulkWriter(Vectorizer<org.apache.paimon.data.InternalRow> vectorizer, org.apache.orc.Writer writer, org.apache.paimon.fs.PositionOutputStream underlyingStream, int batchSize)
public void addElement(org.apache.paimon.data.InternalRow element)
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.