LazySegmentedIterable<CLIENT_TYPE,PARENT_TYPE,ENTITY_TYPE> Class

  • java.lang.Object
    • Iterable<ENTITY_TYPE>
      • com.microsoft.azure.storage.core.LazySegmentedIterable<CLIENT_TYPE,PARENT_TYPE,ENTITY_TYPE>

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 LazySegmentedIterable<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
LazySegmentedIterable(final StorageRequest<CLIENT_TYPE, PARENT_TYPE, ResultSegment<ENTITY_TYPE>> segmentGenerator, final CLIENT_TYPE client, final PARENT_TYPE parent, final RetryPolicyFactory policyFactory, final OperationContext opContext)

Method Summary

Modifier and Type Method and Description
Iterator<ENTITY_TYPE> iterator()

Constructor Details

LazySegmentedIterable

public LazySegmentedIterable(final StorageRequest> segmentGenerator, final CLIENT_TYPE client, final PARENT_TYPE parent, final RetryPolicyFactory policyFactory, final OperationContext opContext)

Parameters:

segmentGenerator
client
parent
policyFactory
opContext

Method Details

iterator

public Iterator iterator()

Applies to