Package one.microstream.storage.types
Class EmbeddedStorageBinarySource.Default
- java.lang.Object
 - 
- one.microstream.storage.types.EmbeddedStorageBinarySource.Default
 
 
- 
- All Implemented Interfaces:
 PersistenceSource<Binary>,EmbeddedStorageBinarySource
- Enclosing interface:
 - EmbeddedStorageBinarySource
 
public static final class EmbeddedStorageBinarySource.Default extends Object implements EmbeddedStorageBinarySource
 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from interface one.microstream.storage.types.EmbeddedStorageBinarySource
EmbeddedStorageBinarySource.Default 
 - 
 
- 
Constructor Summary
Constructors Constructor Description Default(StorageRequestAcceptor requestAcceptor) 
- 
Method Summary
Modifier and Type Method Description XGettingCollection<? extends Binary>read()A general, unspecific read, e.g.XGettingCollection<? extends Binary>readByObjectIds(PersistenceIdSet[] oids)- 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
- 
Methods inherited from interface one.microstream.persistence.types.PersistenceSource
closeSource, prepareSource 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
Default
public Default(StorageRequestAcceptor requestAcceptor)
 
 - 
 
- 
Method Detail
- 
read
public XGettingCollection<? extends Binary> read() throws PersistenceExceptionTransfer
Description 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 interfaceEmbeddedStorageBinarySource- Specified by:
 readin interfacePersistenceSource<Binary>- Returns:
 - data segments containing general data if applicable, otherwise 
null. - Throws:
 PersistenceExceptionTransfer
 
- 
readByObjectIds
public XGettingCollection<? extends Binary> readByObjectIds(PersistenceIdSet[] oids) throws PersistenceExceptionTransfer
- Specified by:
 readByObjectIdsin interfaceEmbeddedStorageBinarySource- Specified by:
 readByObjectIdsin interfacePersistenceSource<Binary>- Throws:
 PersistenceExceptionTransfer
 
 - 
 
 -