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 software.amazon.awssdk.services.s3.S3Client
protected S3BlobStoreConfiguration
protected Iterator
<software.amazon.awssdk.services.s3.model.ListObjectsV2Response> protected software.amazon.awssdk.services.s3.model.ListObjectsV2Request
protected S3BlobStore
protected boolean
protected software.amazon.awssdk.services.s3.model.ListObjectVersionsResponse
protected software.amazon.awssdk.services.s3.model.ListObjectVersionsRequest.Builder
Fields 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 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 software.amazon.awssdk.services.s3.S3Client amazonS3 -
config
-
it
-
request
protected software.amazon.awssdk.services.s3.model.ListObjectsV2Request request -
versionsRequestBuilder
protected software.amazon.awssdk.services.s3.model.ListObjectVersionsRequest.Builder versionsRequestBuilder -
versionsList
protected software.amazon.awssdk.services.s3.model.ListObjectVersionsResponse versionsList -
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
-