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 class
EmbeddedStorageBinarySource.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 Detail
-
read
XGettingCollection<? extends Binary> read() throws PersistenceExceptionTransfer
Description copied from interface:PersistenceSource
A 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
null
being returned.
- Specified by:
read
in 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:
readByObjectIds
in interfacePersistenceSource<Binary>
- Throws:
PersistenceExceptionTransfer
-
-