Class PersistenceSchemaStorageDelegate
java.lang.Object
cloud.quinimbus.persistence.common.storage.PersistenceSchemaStorageDelegate
- All Implemented Interfaces:
PersistenceSchemaStorage
public abstract class PersistenceSchemaStorageDelegate
extends Object
implements PersistenceSchemaStorage
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfind(EntityType type, K id) <K> name.falgout.jeffrey.throwing.stream.ThrowingStream<Entity<K>, PersistenceException> findAll(EntityType type) <K> name.falgout.jeffrey.throwing.stream.ThrowingStream<K, PersistenceException> findAllIDs(EntityType type) <K> name.falgout.jeffrey.throwing.stream.ThrowingStream<Entity<K>, PersistenceException> findFiltered(EntityType type, Set<? extends PropertyFilter> propertyFilters) <K> name.falgout.jeffrey.throwing.stream.ThrowingStream<K, PersistenceException> findIDsFiltered(EntityType type, Set<? extends PropertyFilter> propertyFilters) voidincreaseSchemaVersion(Long version) voidlogMigrationRun(String identifier, String entityType, Long schemaVersion, Instant runAt) <K> voidremove(EntityType type, K id) <K> void
-
Constructor Details
-
PersistenceSchemaStorageDelegate
-
-
Method Details
-
getSchemaMetadata
- Specified by:
getSchemaMetadatain interfacePersistenceSchemaStorage- Throws:
PersistenceException
-
increaseSchemaVersion
- Specified by:
increaseSchemaVersionin interfacePersistenceSchemaStorage- Throws:
PersistenceException
-
getMigrator
- Specified by:
getMigratorin interfacePersistenceSchemaStorage
-
logMigrationRun
public void logMigrationRun(String identifier, String entityType, Long schemaVersion, Instant runAt) - Specified by:
logMigrationRunin interfacePersistenceSchemaStorage
-
save
- Specified by:
savein interfacePersistenceSchemaStorage- Throws:
PersistenceException
-
find
- Specified by:
findin interfacePersistenceSchemaStorage- Throws:
PersistenceException
-
findFiltered
public <K> name.falgout.jeffrey.throwing.stream.ThrowingStream<Entity<K>, PersistenceException> findFiltered(EntityType type, Set<? extends PropertyFilter> propertyFilters) - Specified by:
findFilteredin interfacePersistenceSchemaStorage
-
findIDsFiltered
public <K> name.falgout.jeffrey.throwing.stream.ThrowingStream<K, PersistenceException> findIDsFiltered(EntityType type, Set<? extends PropertyFilter> propertyFilters) - Specified by:
findIDsFilteredin interfacePersistenceSchemaStorage
-
remove
- Specified by:
removein interfacePersistenceSchemaStorage- Throws:
PersistenceException
-
findAll
public <K> name.falgout.jeffrey.throwing.stream.ThrowingStream<Entity<K>, PersistenceException> findAll(EntityType type) throws PersistenceException - Specified by:
findAllin interfacePersistenceSchemaStorage- Throws:
PersistenceException
-
findAllIDs
public <K> name.falgout.jeffrey.throwing.stream.ThrowingStream<K, PersistenceException> findAllIDs(EntityType type) throws PersistenceException - Specified by:
findAllIDsin interfacePersistenceSchemaStorage- Throws:
PersistenceException
-