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
Modifier and TypeFieldDescriptionprotected com.amazonaws.services.s3.AmazonS3
protected S3BlobStoreConfiguration
protected com.amazonaws.services.s3.model.ObjectListing
protected com.amazonaws.services.s3.model.ListObjectsRequest
protected com.amazonaws.services.s3.model.ListVersionsRequest
protected S3BlobStore
protected boolean
protected com.amazonaws.services.s3.model.VersionListing
Fields inherited from class org.nuxeo.ecm.core.blob.scroll.AbstractBlobScroll
isKeyPrefixed, keyStrategy, providerId, size, SIZE_DELIMITER, totalBlobCount, totalBlobSizeCount
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
hasNext()
protected boolean
protected boolean
void
init
(S3BlobProvider s3BlobProvider) next()
Methods inherited from class org.nuxeo.ecm.core.blob.scroll.AbstractBlobScroll
addTo, close, getBlobKey, getBlobSize, init
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
init
in classAbstractBlobScroll<S3BlobProvider>
-
hasNext
public boolean hasNext() -
hasNextObject
protected boolean hasNextObject() -
hasNextVersions
protected boolean hasNextVersions() -
next
-
nextObjects
-
nextVersions
-