@InterfaceStability.Evolving public interface ContinuousInputPartition<T> extends InputPartition<T>
InputPartition
. Continuous input partitions can
implement this interface to provide creating InputPartitionReader
with particular offset.Modifier and Type | Method and Description |
---|---|
InputPartitionReader<T> |
createContinuousReader(PartitionOffset offset)
Create an input partition reader with particular offset as its startOffset.
|
createPartitionReader, preferredLocations
InputPartitionReader<T> createContinuousReader(PartitionOffset offset)
offset
- offset want to set as the input partition reader's startOffset.