public class ArrowTunnelRecordReader extends Object implements ArrowRecordReader
| Constructor and Description |
|---|
ArrowTunnelRecordReader(long start,
long count,
List<Column> columns,
com.aliyun.odps.rest.RestClient tunnelRestClient,
TableTunnel.DownloadSession session,
org.apache.arrow.memory.BufferAllocator allocator,
CompressOption compress) |
public ArrowTunnelRecordReader(long start,
long count,
List<Column> columns,
com.aliyun.odps.rest.RestClient tunnelRestClient,
TableTunnel.DownloadSession session,
org.apache.arrow.memory.BufferAllocator allocator,
CompressOption compress)
throws TunnelException,
IOException
TunnelExceptionIOExceptionpublic org.apache.arrow.vector.VectorSchemaRoot read()
throws IOException
ArrowRecordReaderread in interface ArrowRecordReaderVectorSchemaRoot对象, 读取完成返回nullIOException - 读取过程发生异常, 发生异常后不可重试public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2022 Alibaba Cloud Computing. All rights reserved.