public class PulsarSourceEnumState extends Object
SplitsAssignmentState.| Constructor and Description |
|---|
PulsarSourceEnumState(Set<TopicPartition> appendedPartitions,
Set<PulsarPartitionSplit> pendingPartitionSplits,
Map<Integer,Set<PulsarPartitionSplit>> pendingSharedPartitionSplits,
Map<Integer,Set<String>> readerAssignedSplits,
boolean initialized) |
| Modifier and Type | Method and Description |
|---|---|
Set<TopicPartition> |
getAppendedPartitions() |
Set<PulsarPartitionSplit> |
getPendingPartitionSplits() |
Map<Integer,Set<String>> |
getReaderAssignedSplits() |
Map<Integer,Set<PulsarPartitionSplit>> |
getSharedPendingPartitionSplits() |
boolean |
isInitialized() |
public PulsarSourceEnumState(Set<TopicPartition> appendedPartitions, Set<PulsarPartitionSplit> pendingPartitionSplits, Map<Integer,Set<PulsarPartitionSplit>> pendingSharedPartitionSplits, Map<Integer,Set<String>> readerAssignedSplits, boolean initialized)
public Set<TopicPartition> getAppendedPartitions()
public Set<PulsarPartitionSplit> getPendingPartitionSplits()
public Map<Integer,Set<PulsarPartitionSplit>> getSharedPendingPartitionSplits()
public boolean isInitialized()
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.