public class PackReader extends Object
| 构造器和说明 |
|---|
PackReader(com.aliyun.odps.rest.RestClient datahubServiceClient,
TableSchema tableSchema,
String path,
Map<String,String> params,
Map<String,String> headers) |
PackReader(com.aliyun.odps.rest.RestClient datahubServiceClient,
TableSchema tableSchema,
String path,
Map<String,String> params,
Map<String,String> headers,
String packId) |
| 限定符和类型 | 方法和说明 |
|---|---|
ReadPackResult |
read() |
ReadPackResult |
read(String packId,
PackType.ReadMode mode) |
SeekPackResult |
seek(long timeStamp) |
public PackReader(com.aliyun.odps.rest.RestClient datahubServiceClient, TableSchema tableSchema, String path, Map<String,String> params, Map<String,String> headers)
public PackReader(com.aliyun.odps.rest.RestClient datahubServiceClient, TableSchema tableSchema, String path, Map<String,String> params, Map<String,String> headers, String packId)
public SeekPackResult seek(long timeStamp) throws OdpsException, IOException
public ReadPackResult read() throws OdpsException, IOException
public ReadPackResult read(String packId, PackType.ReadMode mode) throws OdpsException, IOException
Copyright © 2015 Alibaba Cloud Computing. All rights reserved.