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.
    • Method Detail

      • getTablePath

        ObjectPath getTablePath()
        The table full path.
      • getTypeSerializer

        TypeSerializer<T> getTypeSerializer()
        Get the Serializer of partition order.
      • getConsumeStartOffset

        T getConsumeStartOffset()
        Get the partition consume start offset.