public class DatahubReader extends Object
| 构造器和说明 |
|---|
DatahubReader(com.aliyun.odps.rest.RestClient datahubServiceClient,
TableSchema tableSchema,
String path,
Map<String,String> params,
Map<String,String> headers) |
DatahubReader(com.aliyun.odps.rest.RestClient datahubServiceClient,
TableSchema tableSchema,
String path,
Map<String,String> params,
Map<String,String> headers,
String packId) |
public DatahubReader(com.aliyun.odps.rest.RestClient datahubServiceClient, TableSchema tableSchema, String path, Map<String,String> params, Map<String,String> headers)
public DatahubReader(com.aliyun.odps.rest.RestClient datahubServiceClient, TableSchema tableSchema, String path, Map<String,String> params, Map<String,String> headers, String packId)
public Record read() throws OdpsException, IOException
RecordOdpsException, - IOExceptionOdpsExceptionIOExceptionpublic void skipPack()
public String getLastPackId()
public SeekPackResult seek(long timeStamp) throws OdpsException, IOException
public byte[] readMeta()
throws OdpsException,
IOException
Copyright © 2015 Alibaba Cloud Computing. All rights reserved.