Class BucketToResourceList
- java.lang.Object
-
- org.jclouds.s3.blobstore.functions.BucketToResourceList
-
- All Implemented Interfaces:
com.google.common.base.Function<ListBucketResponse,PageSet<? extends StorageMetadata>>
,Function<ListBucketResponse,PageSet<? extends StorageMetadata>>
@Singleton public class BucketToResourceList extends Object implements com.google.common.base.Function<ListBucketResponse,PageSet<? extends StorageMetadata>>
-
-
Field Summary
Fields Modifier and Type Field Description protected com.google.common.base.Function<StorageMetadata,String>
indexer
-
Constructor Summary
Constructors Constructor Description BucketToResourceList(ObjectToBlobMetadata object2blobMd, CommonPrefixesToResourceMetadata prefix2ResourceMd)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PageSet<? extends StorageMetadata>
apply(ListBucketResponse from)
-
-
-
Field Detail
-
indexer
protected final com.google.common.base.Function<StorageMetadata,String> indexer
-
-
Constructor Detail
-
BucketToResourceList
@Inject public BucketToResourceList(ObjectToBlobMetadata object2blobMd, CommonPrefixesToResourceMetadata prefix2ResourceMd)
-
-
Method Detail
-
apply
public PageSet<? extends StorageMetadata> apply(ListBucketResponse from)
- Specified by:
apply
in interfacecom.google.common.base.Function<ListBucketResponse,PageSet<? extends StorageMetadata>>
- Specified by:
apply
in interfaceFunction<ListBucketResponse,PageSet<? extends StorageMetadata>>
-
-