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
public class S3BlobScroll extends AbstractBlobScroll<S3BlobProvider>
Scroll objects of the s3 blob store of a #S3BlobProvider
, the scroll query is the provider id.- Since:
- 2023
-
-
Field Summary
Fields Modifier and Type Field Description protected com.amazonaws.services.s3.AmazonS3
amazonS3
protected S3BlobStoreConfiguration
config
protected com.amazonaws.services.s3.model.ObjectListing
list
protected com.amazonaws.services.s3.model.ListObjectsRequest
listObjectsRequest
protected com.amazonaws.services.s3.model.ListVersionsRequest
listVersionsRequest
protected S3BlobStore
store
protected boolean
useVersion
protected com.amazonaws.services.s3.model.VersionListing
versionsList
-
Fields inherited from class org.nuxeo.ecm.core.blob.scroll.AbstractBlobScroll
isKeyPrefixed, keyStrategy, providerId, size, SIZE_DELIMITER, totalBlobCount, totalBlobSizeCount
-
-
Constructor Summary
Constructors Constructor Description S3BlobScroll()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
protected boolean
hasNextObject()
protected boolean
hasNextVersions()
void
init(S3BlobProvider s3BlobProvider)
List<String>
next()
protected List<String>
nextObjects()
protected List<String>
nextVersions()
-
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 Detail
-
amazonS3
protected com.amazonaws.services.s3.AmazonS3 amazonS3
-
config
protected S3BlobStoreConfiguration 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
protected S3BlobStore store
-
useVersion
protected boolean useVersion
-
-
Method Detail
-
init
public void init(S3BlobProvider s3BlobProvider)
- Specified by:
init
in classAbstractBlobScroll<S3BlobProvider>
-
hasNext
public boolean hasNext()
-
hasNextObject
protected boolean hasNextObject()
-
hasNextVersions
protected boolean hasNextVersions()
-
-