LazySegmentedIterator<CLIENT_TYPE,PARENT_TYPE,ENTITY_TYPE> Class
- java.
lang. Object - java.
util. Iterator<ENTITY_TYPE> - com.
microsoft. azure. storage. core. LazySegmentedIterator<CLIENT_TYPE,PARENT_TYPE,ENTITY_TYPE>
- com.
- java.
Type Parameters
- CLIENT_TYPE
The service client type
- PARENT_TYPE
The type of the parent object, i.e. CloudBlobClient for ListContainers etc.
- ENTITY_TYPE
The type of the objects the resulting iterable objects
public class LazySegmentedIterator<CLIENT_TYPE,PARENT_TYPE,ENTITY_TYPE>
RESERVED FOR INTERNAL USE. Provides a lazy iterator which will retrieve the next segment of a result as the iterator is consumed
Constructor Summary
Constructor | Description |
---|---|
LazySegmentedIterator(final StorageRequest<CLIENT_TYPE, PARENT_TYPE, ResultSegment<ENTITY_TYPE>> segmentGenerator, final CLIENT_TYPE client, final PARENT_TYPE parent, final RetryPolicyFactory policyFactory, final OperationContext opContext) |
Initializes the LazySegmentedIterator. |
Method Summary
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext()
Indicates if the iterator has another element. |
ENTITY_TYPE |
next()
Returns the next element. |
void |
remove()
Removes an element, not supported |
Constructor Details
LazySegmentedIterator
public LazySegmentedIterator(final StorageRequest
Initializes the LazySegmentedIterator.
Parameters:
Method Details
hasNext
public boolean hasNext()
Indicates if the iterator has another element.
next
public ENTITY_TYPE next()
Returns the next element.
remove
public void remove()
Removes an element, not supported