public static interface IPartitionedTridentSpout.Coordinator<PartitionsT>
Modifier and Type | Method and Description |
---|---|
void |
close() |
PartitionsT |
getPartitionsForBatch()
Return the partitions currently in the source of data.
|
boolean |
isReady(long txid) |
PartitionsT getPartitionsForBatch()
Return the partitions currently in the source of data. The idea is is that if a new partition is added and a prior transaction is replayed, it doesn’t emit tuples for the new partition because it knows what partitions were in that transaction.
boolean isReady(long txid)
void close()
Copyright © 2020 The Apache Software Foundation. All rights reserved.