public class OdpsInputSplitReader extends Object implements Closeable
Constructor and Description |
---|
OdpsInputSplitReader(OdpsInputSplit split,
String[] selectedColumns,
OdpsTableSchema tableSchema,
com.aliyun.odps.tunnel.TableTunnel tableTunnel,
String project,
String table) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
boolean |
hasNext() |
org.apache.flink.api.java.tuple.Tuple2<com.aliyun.odps.data.Record,com.aliyun.odps.PartitionSpec> |
next() |
public OdpsInputSplitReader(OdpsInputSplit split, String[] selectedColumns, OdpsTableSchema tableSchema, com.aliyun.odps.tunnel.TableTunnel tableTunnel, String project, String table)
public boolean hasNext()
public org.apache.flink.api.java.tuple.Tuple2<com.aliyun.odps.data.Record,com.aliyun.odps.PartitionSpec> next() throws IOException, InterruptedException
IOException
InterruptedException
public void close()
close
in interface Closeable
close
in interface AutoCloseable
Copyright © 2021 Alibaba Group. All rights reserved.