CLIENT_TYPE - The service client typePARENT_TYPE - The type of the parent object, i.e. CloudBlobClient for ListContainers etc.ENTITY_TYPE - The type of the objects the resulting iterable objectspublic final class LazySegmentedIterable<CLIENT_TYPE,PARENT_TYPE,ENTITY_TYPE> extends Object implements Iterable<ENTITY_TYPE>
| Constructor and Description |
|---|
LazySegmentedIterable(StorageRequest<CLIENT_TYPE,PARENT_TYPE,ResultSegment<ENTITY_TYPE>> segmentGenerator,
CLIENT_TYPE client,
PARENT_TYPE parent,
RetryPolicyFactory policyFactory,
OperationContext opContext) |
public LazySegmentedIterable(StorageRequest<CLIENT_TYPE,PARENT_TYPE,ResultSegment<ENTITY_TYPE>> segmentGenerator, CLIENT_TYPE client, PARENT_TYPE parent, RetryPolicyFactory policyFactory, OperationContext opContext)
public Iterator<ENTITY_TYPE> iterator()
iterator in interface Iterable<ENTITY_TYPE>/**
* Copyright Microsoft Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/