Package io.deephaven.kafka.ingest
Class KafkaIngester.PartitionRange
java.lang.Object
io.deephaven.kafka.ingest.KafkaIngester.PartitionRange
- All Implemented Interfaces:
IntPredicate
- Direct Known Subclasses:
KafkaIngester.SinglePartition
- Enclosing class:
- KafkaIngester
public static class KafkaIngester.PartitionRange extends Object implements IntPredicate
A predicate for handling a range of partitions.
-
Constructor Details
-
PartitionRange
public PartitionRange(int startInclusive, int endInclusive)Create a predicate for a range of partitions.- Parameters:
startInclusive
- the first partition for an ingesterendInclusive
- the last partition for an ingester
-
-
Method Details