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>
it
protected PathStrategy
pathStrategy
protected 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 void
close()
protected long
getSize(Path path)
boolean
hasNext()
void
init(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:
init
in classAbstractBlobScroll<LocalBlobProvider>
-
close
public void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceScroll
- Overrides:
close
in classAbstractBlobScroll<LocalBlobProvider>
-
getSize
protected long getSize(Path path)
-
hasNext
public boolean hasNext()
-
-