Package io.pravega.client.batch
Interface StreamSegmentsIterator
-
@Beta public interface StreamSegmentsIterator
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description io.pravega.client.batch.impl.StreamSegmentsInfoImpl
asImpl()
For internal use.StreamCut
getEndStreamCut()
This returns the endStreamCut
specified inBatchClientFactory.getSegments(Stream, StreamCut, StreamCut)
.java.util.Iterator<SegmentRange>
getIterator()
This returns an iterator forSegmentRange
specified inBatchClientFactory.getSegments(Stream, StreamCut, StreamCut)
.StreamCut
getStartStreamCut()
This returns the startStreamCut
specified inBatchClientFactory.getSegments(Stream, StreamCut, StreamCut)
.
-
-
-
Method Detail
-
getIterator
java.util.Iterator<SegmentRange> getIterator()
This returns an iterator forSegmentRange
specified inBatchClientFactory.getSegments(Stream, StreamCut, StreamCut)
.- Returns:
- Iterator for
SegmentRange
-
getStartStreamCut
StreamCut getStartStreamCut()
This returns the startStreamCut
specified inBatchClientFactory.getSegments(Stream, StreamCut, StreamCut)
.- Returns:
- Start
StreamCut
-
getEndStreamCut
StreamCut getEndStreamCut()
This returns the endStreamCut
specified inBatchClientFactory.getSegments(Stream, StreamCut, StreamCut)
.- Returns:
- End
StreamCut
-
asImpl
io.pravega.client.batch.impl.StreamSegmentsInfoImpl asImpl()
For internal use. Do not call.- Returns:
- Implementation of StreamSegmentsInfo interface.
-
-