Class GridFSBlobScroll
- java.lang.Object
-
- org.nuxeo.ecm.core.blob.scroll.AbstractBlobScroll<GridFSBlobProvider>
-
- org.nuxeo.ecm.core.storage.mongodb.blob.GridFSBlobScroll
-
- All Implemented Interfaces:
AutoCloseable
,Iterator<List<String>>
,Scroll
public class GridFSBlobScroll extends AbstractBlobScroll<GridFSBlobProvider>
Scroll files of the GridFS blob store of aGridFSBlobProvider
, the scroll query is the provider id.- Since:
- 2023.5
-
-
Field Summary
Fields Modifier and Type Field Description protected com.mongodb.client.MongoCursor<org.bson.Document>
it
-
Fields inherited from class org.nuxeo.ecm.core.blob.scroll.AbstractBlobScroll
isKeyPrefixed, keyStrategy, providerId, size, SIZE_DELIMITER, totalBlobCount, totalBlobSizeCount
-
-
Constructor Summary
Constructors Constructor Description GridFSBlobScroll()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
boolean
hasNext()
protected void
init(GridFSBlobProvider provider)
List<String>
next()
-
Methods inherited from class org.nuxeo.ecm.core.blob.scroll.AbstractBlobScroll
addTo, 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
-
-
-
-
Method Detail
-
hasNext
public boolean hasNext()
-
init
protected void init(GridFSBlobProvider provider)
- Specified by:
init
in classAbstractBlobScroll<GridFSBlobProvider>
-
close
public void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceScroll
- Overrides:
close
in classAbstractBlobScroll<GridFSBlobProvider>
-
-