Package org.nuxeo.ecm.core.blob.scroll
Class LocalBlobScroll
- java.lang.Object
-
- org.nuxeo.ecm.core.blob.scroll.AbstractBlobScroll<LocalBlobProvider>
-
- org.nuxeo.ecm.core.blob.scroll.LocalBlobScroll
-
- All Implemented Interfaces:
AutoCloseable,Iterator<List<String>>,Scroll
public class LocalBlobScroll extends AbstractBlobScroll<LocalBlobProvider>
Scroll blobs of the Local blob store of a #LocalBlobProvider, the scroll query is the provider id.- Since:
- 2023
-
-
Field Summary
Fields Modifier and Type Field Description protected Iterator<Path>itprotected PathStrategypathStrategyprotected Stream<Path>stream-
Fields inherited from class org.nuxeo.ecm.core.blob.scroll.AbstractBlobScroll
isKeyPrefixed, keyStrategy, providerId, size, SIZE_DELIMITER, totalBlobCount, totalBlobSizeCount
-
-
Constructor Summary
Constructors Constructor Description LocalBlobScroll()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()protected longgetSize(Path path)booleanhasNext()voidinit(LocalBlobProvider localBlobProvider)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
-
-
-
-
Field Detail
-
pathStrategy
protected PathStrategy pathStrategy
-
-
Method Detail
-
init
public void init(LocalBlobProvider localBlobProvider)
- Specified by:
initin classAbstractBlobScroll<LocalBlobProvider>
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceScroll- Overrides:
closein classAbstractBlobScroll<LocalBlobProvider>
-
getSize
protected long getSize(Path path)
-
hasNext
public boolean hasNext()
-
-