Package org.nuxeo.ecm.blob.s3
Class S3BlobScroll
java.lang.Object
org.nuxeo.ecm.core.blob.scroll.AbstractBlobScroll<S3BlobProvider>
org.nuxeo.ecm.blob.s3.S3BlobScroll
- All Implemented Interfaces:
AutoCloseable,Iterator<List<String>>,Scroll
Scroll objects of the s3 blob store of a #
S3BlobProvider, the scroll query is the provider id.- Since:
- 2023
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.amazonaws.services.s3.AmazonS3protected S3BlobStoreConfigurationprotected com.amazonaws.services.s3.model.ObjectListingprotected com.amazonaws.services.s3.model.ListObjectsRequestprotected com.amazonaws.services.s3.model.ListVersionsRequestprotected S3BlobStoreprotected booleanprotected com.amazonaws.services.s3.model.VersionListingFields inherited from class org.nuxeo.ecm.core.blob.scroll.AbstractBlobScroll
isKeyPrefixed, keyStrategy, providerId, size, SIZE_DELIMITER, totalBlobCount, totalBlobSizeCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanhasNext()protected booleanprotected booleanvoidinit(S3BlobProvider s3BlobProvider) next()Methods inherited from class org.nuxeo.ecm.core.blob.scroll.AbstractBlobScroll
addTo, close, getBlobKey, getBlobSize, initMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining, remove
-
Field Details
-
amazonS3
protected com.amazonaws.services.s3.AmazonS3 amazonS3 -
config
-
list
protected com.amazonaws.services.s3.model.ObjectListing list -
versionsList
protected com.amazonaws.services.s3.model.VersionListing versionsList -
listVersionsRequest
protected com.amazonaws.services.s3.model.ListVersionsRequest listVersionsRequest -
listObjectsRequest
protected com.amazonaws.services.s3.model.ListObjectsRequest listObjectsRequest -
store
-
useVersion
protected boolean useVersion
-
-
Constructor Details
-
S3BlobScroll
public S3BlobScroll()
-
-
Method Details
-
init
- Specified by:
initin classAbstractBlobScroll<S3BlobProvider>
-
hasNext
public boolean hasNext() -
hasNextObject
protected boolean hasNextObject() -
hasNextVersions
protected boolean hasNextVersions() -
next
-
nextObjects
-
nextVersions
-