Interface PartitionFetcher.Context.ComparablePartitionValue<P,T extends Comparable<T>>
- Type Parameters:
P- The type of partition value.T- The tye of the partition offset, the partition offset is comparable.
- All Superinterfaces:
Serializable
- Enclosing interface:
- PartitionFetcher.Context<P>
public static interface PartitionFetcher.Context.ComparablePartitionValue<P,T extends Comparable<T>>
extends Serializable
A comparable partition value that can compare order by using its comparator.
-
Method Summary
Modifier and TypeMethodDescriptionGet the comparator.Get the partition value.