@Internal public class HiveContinuousPartitionFetcher<T extends Comparable<T>> extends Object implements org.apache.flink.table.filesystem.ContinuousPartitionFetcher<org.apache.hadoop.hive.metastore.api.Partition,T>
ContinuousPartitionFetcher for hive table.org.apache.flink.table.filesystem.ContinuousPartitionFetcher.Context<P,T extends Comparable<T>>| Constructor and Description |
|---|
HiveContinuousPartitionFetcher() |
| Modifier and Type | Method and Description |
|---|---|
List<org.apache.hadoop.hive.metastore.api.Partition> |
fetch(org.apache.flink.table.filesystem.PartitionFetcher.Context<org.apache.hadoop.hive.metastore.api.Partition> context) |
List<org.apache.flink.api.java.tuple.Tuple2<org.apache.hadoop.hive.metastore.api.Partition,T>> |
fetchPartitions(org.apache.flink.table.filesystem.ContinuousPartitionFetcher.Context<org.apache.hadoop.hive.metastore.api.Partition,T> context,
T previousOffset) |
public List<org.apache.flink.api.java.tuple.Tuple2<org.apache.hadoop.hive.metastore.api.Partition,T>> fetchPartitions(org.apache.flink.table.filesystem.ContinuousPartitionFetcher.Context<org.apache.hadoop.hive.metastore.api.Partition,T> context, T previousOffset) throws Exception
fetchPartitions in interface org.apache.flink.table.filesystem.ContinuousPartitionFetcher<org.apache.hadoop.hive.metastore.api.Partition,T extends Comparable<T>>Exceptionpublic List<org.apache.hadoop.hive.metastore.api.Partition> fetch(org.apache.flink.table.filesystem.PartitionFetcher.Context<org.apache.hadoop.hive.metastore.api.Partition> context) throws Exception
fetch in interface org.apache.flink.table.filesystem.PartitionFetcher<org.apache.hadoop.hive.metastore.api.Partition>ExceptionCopyright © 2014–2021 The Apache Software Foundation. All rights reserved.