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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
getComparator()
Get the comparator.P
getPartitionValue()
Get the partition value.
-