public class PackReader extends Object
Constructor and Description |
---|
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) |
Modifier and Type | Method and Description |
---|---|
ReadPackResult |
read() |
ReadPackResult |
read(String packId,
PackType.ReadMode mode) |
Map<String,String> |
readMeta() |
ReadPackResult |
readPackMeta() |
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
OdpsException
IOException
public ReadPackResult read() throws OdpsException, IOException
OdpsException
IOException
public ReadPackResult readPackMeta() throws OdpsException, IOException
OdpsException
IOException
public Map<String,String> readMeta() throws OdpsException, IOException
OdpsException
IOException
public ReadPackResult read(String packId, PackType.ReadMode mode) throws OdpsException, IOException
OdpsException
IOException
Copyright © 2020 Alibaba Cloud Computing. All rights reserved.