Class BinaryFileSource
java.lang.Object
one.microstream.persistence.binary.internal.BinaryFileSource
- All Implemented Interfaces:
- MessageWaiter,- PersistenceSource<Binary>
public class BinaryFileSource extends Object implements PersistenceSource<Binary>, MessageWaiter
- 
Constructor SummaryConstructors Constructor Description BinaryFileSource()
- 
Method SummaryModifier and Type Method Description static BinaryFileSourceNew(AFile file, boolean switchByteOrder)XGettingCollection<? extends Binary>read()A general, unspecific read, e.g.XGettingCollection<? extends Binary>readByObjectIds(PersistenceIdSet[] oids)voidwaitForBytes(int readCount)Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface one.microstream.persistence.types.PersistenceSourcecloseSource, prepareSource
- 
Constructor Details- 
BinaryFileSourcepublic BinaryFileSource()
 
- 
- 
Method Details- 
New
- 
readDescription copied from interface:PersistenceSourceA general, unspecific read, e.g. to initially read data in general from the attached data source.Examples: - simply ALL data from a plain file.
- only root nodes (and all recursively referenced nodes) of a graph-based database.
- nothing at all if not applicable, resulting in  nullbeing returned.
 - Specified by:
- readin interface- PersistenceSource<Binary>
- Returns:
- data segments containing general data if applicable, otherwise null.
- Throws:
- PersistenceExceptionTransfer
 
- 
readByObjectIdspublic XGettingCollection<? extends Binary> readByObjectIds(PersistenceIdSet[] oids) throws PersistenceExceptionTransfer- Specified by:
- readByObjectIdsin interface- PersistenceSource<Binary>
- Throws:
- PersistenceExceptionTransfer
 
- 
waitForBytespublic void waitForBytes(int readCount)- Specified by:
- waitForBytesin interface- MessageWaiter
 
 
-