Package one.microstream.storage.types
Interface EmbeddedStorageBinarySource
- All Superinterfaces:
PersistenceSource<Binary>
- All Known Implementing Classes:
EmbeddedStorageBinarySource.Default
public interface EmbeddedStorageBinarySource extends PersistenceSource<Binary>
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classEmbeddedStorageBinarySource.Default -
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 interface one.microstream.persistence.types.PersistenceSource
closeSource, prepareSource
-
Method Details
-
read
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 interfacePersistenceSource<Binary>- Returns:
- data segments containing general data if applicable, otherwise
null. - Throws:
PersistenceExceptionTransfer
-
readByObjectIds
XGettingCollection<? extends Binary> readByObjectIds(PersistenceIdSet[] oids) throws PersistenceExceptionTransfer- Specified by:
readByObjectIdsin interfacePersistenceSource<Binary>- Throws:
PersistenceExceptionTransfer
-