Interface ContinuousPartitionFetcher.Context<P,T extends Comparable<T>>
- Type Parameters:
P- The type of partition.T- The type of partition offset, the type could be Long when fetches in partition-time or create-time order, be String when fetches in partition-name order.
- All Superinterfaces:
PartitionFetcher.Context<P>,Serializable
- Enclosing interface:
- ContinuousPartitionFetcher<P,
T extends Comparable<T>>
public static interface ContinuousPartitionFetcher.Context<P,T extends Comparable<T>>
extends PartitionFetcher.Context<P>
Context for fetch partitions, partition information is stored in hive meta store.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.flink.connector.file.table.PartitionFetcher.Context
PartitionFetcher.Context.ComparablePartitionValue<P,T extends Comparable<T>> -
Method Summary
Modifier and TypeMethodDescriptionGet the partition consume start offset.org.apache.flink.table.catalog.ObjectPathThe table full path.org.apache.flink.api.common.typeutils.TypeSerializer<T>Get the Serializer of partition order.Methods inherited from interface org.apache.flink.connector.file.table.PartitionFetcher.Context
close, getComparablePartitionValueList, getPartition, open
-
Method Details
-
getTablePath
org.apache.flink.table.catalog.ObjectPath getTablePath()The table full path. -
getTypeSerializer
org.apache.flink.api.common.typeutils.TypeSerializer<T> getTypeSerializer()Get the Serializer of partition order. -
getConsumeStartOffset
T getConsumeStartOffset()Get the partition consume start offset.
-