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
TunnelException
IOException
public org.apache.arrow.vector.VectorSchemaRoot read() throws IOException
ArrowRecordReader
read
in interface ArrowRecordReader
VectorSchemaRoot
对象, 读取完成返回nullIOException
- 读取过程发生异常, 发生异常后不可重试public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2023 Alibaba Cloud Computing. All rights reserved.