public class ArrowTunnelRecordWriter extends Object implements ArrowRecordWriter
| Constructor and Description |
|---|
ArrowTunnelRecordWriter(TableTunnel.UploadSession tableSession,
com.aliyun.odps.commons.transport.Connection connection,
CompressOption option) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
write(org.apache.arrow.vector.VectorSchemaRoot root)
写入一个batch的记录
|
public ArrowTunnelRecordWriter(TableTunnel.UploadSession tableSession, com.aliyun.odps.commons.transport.Connection connection, CompressOption option)
public void write(org.apache.arrow.vector.VectorSchemaRoot root)
throws IOException
ArrowRecordWriterwrite in interface ArrowRecordWriterroot - VectorSchemaRoot对象IOException - 写入过程发生异常,不可重试public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2022 Alibaba Cloud Computing. All rights reserved.