Package org.nuxeo.ecm.core.storage.gcp
Class GoogleStorageBlobScroll
- java.lang.Object
-
- org.nuxeo.ecm.core.blob.scroll.AbstractBlobScroll<GoogleStorageBlobProvider>
-
- org.nuxeo.ecm.core.storage.gcp.GoogleStorageBlobScroll
-
- All Implemented Interfaces:
AutoCloseable
,Iterator<List<String>>
,Scroll
public class GoogleStorageBlobScroll extends AbstractBlobScroll<GoogleStorageBlobProvider>
Scroll files of the Google Storage blob store of aGoogleStorageBlobProvider
, the scroll query is the provider id.- Since:
- 2023.5
-
-
Field Summary
Fields Modifier and Type Field Description protected com.google.api.gax.paging.Page<com.google.cloud.storage.Blob>
blobs
protected int
prefixLength
protected GoogleStorageBlobStore
store
-
Fields inherited from class org.nuxeo.ecm.core.blob.scroll.AbstractBlobScroll
isKeyPrefixed, keyStrategy, providerId, size, SIZE_DELIMITER, totalBlobCount, totalBlobSizeCount
-
-
Constructor Summary
Constructors Constructor Description GoogleStorageBlobScroll()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
protected void
init(GoogleStorageBlobProvider provider)
List<String>
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 Detail
-
store
protected GoogleStorageBlobStore store
-
prefixLength
protected int prefixLength
-
blobs
protected com.google.api.gax.paging.Page<com.google.cloud.storage.Blob> blobs
-
-
Method Detail
-
init
protected void init(GoogleStorageBlobProvider provider)
- Specified by:
init
in classAbstractBlobScroll<GoogleStorageBlobProvider>
-
hasNext
public boolean hasNext()
-
-