Interface DataEngineApi
- All Known Implementing Classes:
DataEngine
public interface DataEngineApi
Abstract trait for
DataEngine.
This type can be used by applications that want to mock DataEngine in unit tests by passing
parameters of type DataEngineApi instead of accessing the
DataEngine singleton directly everywhere.
-
Method Summary
Modifier and TypeMethodDescriptionDefault setting which will be used if no overrides is providedreadEngine(HRN hrn) Read engine supporting read operations from underlying storagereadEngine(HRN hrn, Settings settings) Read engine supporting read operations from underlying storagewriteEngine(HRN hrn) Write engine supporting write operations to the underlying storagewriteEngine(HRN hrn, BlobIdGenerator blobIdGenerator) Write engine supporting write operations to the underlying storagewriteEngine(HRN hrn, BlobIdGenerator blobIdGenerator, Settings settings) Write engine supporting write operations to the underlying storagewriteEngine(HRN hrn, Settings settings) Write engine supporting write operations to the underlying storage
-
Method Details
-
defaultSettings
Settings defaultSettings()Default setting which will be used if no overrides is provided -
readEngine
Read engine supporting read operations from underlying storage- Parameters:
hrn- catalog identifier
-
readEngine
Read engine supporting read operations from underlying storage- Parameters:
hrn- catalog identifiersettings- DataClient settings
-
writeEngine
Write engine supporting write operations to the underlying storage- Parameters:
hrn- catalog identifierblobIdGenerator- blobId generatorsettings- DataClient settings
-
writeEngine
Write engine supporting write operations to the underlying storage- Parameters:
hrn- catalog identifiersettings- DataClient settings
-
writeEngine
Write engine supporting write operations to the underlying storage- Parameters:
blobIdGenerator- blobId generatorhrn- catalog identifier
-
writeEngine
Write engine supporting write operations to the underlying storage- Parameters:
hrn- catalog identifier
-