Package one.microstream.storage.types
Class StorageFileEntityDataIterator.Default
java.lang.Object
one.microstream.storage.types.StorageFileEntityDataIterator.Default
- All Implemented Interfaces:
StorageFileEntityDataIterator
,StorageFileEntityDataIterator.Internal
- Enclosing interface:
- StorageFileEntityDataIterator
public static final class StorageFileEntityDataIterator.Default extends Object implements StorageFileEntityDataIterator.Internal
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.storage.types.StorageFileEntityDataIterator
StorageFileEntityDataIterator.Default, StorageFileEntityDataIterator.Internal
-
Constructor Summary
Constructors Constructor Description Default()
-
Method Summary
Modifier and Type Method Description long
bufferCapacity()
StorageFileEntityDataIterator
ensureBufferCapacity(long requiredBufferCapacity)
void
fillBuffer(StorageFileEntityDataIterator.Internal self, StorageDataFile file, long fileOffset, long iterationLength)
long
iterateFilledBuffer(StorageFileEntityDataIterator.Internal self, BinaryEntityRawDataIterator dataIterator, BinaryEntityRawDataAcceptor dataAcceptor)
void
removeBuffer()
void
validateIterationRange(StorageFileEntityDataIterator.Internal self, StorageDataFile file, long actualFileLength, long fileOffset, long iterationLength)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface one.microstream.storage.types.StorageFileEntityDataIterator.Internal
iterateEntityData, prepareFile, wrapUpFile
-
Constructor Details
-
Default
public Default()
-
-
Method Details
-
bufferCapacity
public final long bufferCapacity()- Specified by:
bufferCapacity
in interfaceStorageFileEntityDataIterator
-
ensureBufferCapacity
- Specified by:
ensureBufferCapacity
in interfaceStorageFileEntityDataIterator
-
removeBuffer
public void removeBuffer()- Specified by:
removeBuffer
in interfaceStorageFileEntityDataIterator
-
fillBuffer
public void fillBuffer(StorageFileEntityDataIterator.Internal self, StorageDataFile file, long fileOffset, long iterationLength)- Specified by:
fillBuffer
in interfaceStorageFileEntityDataIterator.Internal
-
validateIterationRange
public void validateIterationRange(StorageFileEntityDataIterator.Internal self, StorageDataFile file, long actualFileLength, long fileOffset, long iterationLength)- Specified by:
validateIterationRange
in interfaceStorageFileEntityDataIterator.Internal
-
iterateFilledBuffer
public long iterateFilledBuffer(StorageFileEntityDataIterator.Internal self, BinaryEntityRawDataIterator dataIterator, BinaryEntityRawDataAcceptor dataAcceptor)- Specified by:
iterateFilledBuffer
in interfaceStorageFileEntityDataIterator.Internal
-