Class KafkaTopicPartition.Comparator
- java.lang.Object
-
- org.apache.flink.streaming.connectors.kafka.internals.KafkaTopicPartition.Comparator
-
- All Implemented Interfaces:
Comparator<KafkaTopicPartition>
- Enclosing class:
- KafkaTopicPartition
public static class KafkaTopicPartition.Comparator extends Object implements Comparator<KafkaTopicPartition>
AComparatorforKafkaTopicPartitions.
-
-
Constructor Summary
Constructors Constructor Description Comparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompare(KafkaTopicPartition p1, KafkaTopicPartition p2)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
-
-
Method Detail
-
compare
public int compare(KafkaTopicPartition p1, KafkaTopicPartition p2)
- Specified by:
comparein interfaceComparator<KafkaTopicPartition>
-
-