Interface PersistenceIdStrategy
- All Superinterfaces:
PersistenceObjectIdStrategy
,PersistenceTypeIdStrategy
- All Known Implementing Classes:
ComDefaultIdStrategy
,PersistenceIdStrategy.Default
public interface PersistenceIdStrategy extends PersistenceObjectIdStrategy, PersistenceTypeIdStrategy
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
PersistenceIdStrategy.Default
Nested classes/interfaces inherited from interface one.microstream.persistence.types.PersistenceObjectIdStrategy
PersistenceObjectIdStrategy.Assembler<S extends PersistenceObjectIdStrategy>, PersistenceObjectIdStrategy.None, PersistenceObjectIdStrategy.Parser<S extends PersistenceObjectIdStrategy>, PersistenceObjectIdStrategy.Transient
Nested classes/interfaces inherited from interface one.microstream.persistence.types.PersistenceTypeIdStrategy
PersistenceTypeIdStrategy.Assembler<S extends PersistenceTypeIdStrategy>, PersistenceTypeIdStrategy.None, PersistenceTypeIdStrategy.Parser<S extends PersistenceTypeIdStrategy>, PersistenceTypeIdStrategy.Transient
-
Method Summary
Modifier and Type Method Description default PersistenceObjectIdProvider
createObjectIdProvider()
default PersistenceTypeIdProvider
createTypeIdProvider()
static PersistenceIdStrategy
New(PersistenceObjectIdStrategy objectIdStrategy, PersistenceTypeIdStrategy typeIdStrategy)
static PersistenceIdStrategy
NewFromFiles(ADirectory directory, String objectIdFilename, String typeIdFilename)
static PersistenceIdStrategy
NewFromFiles(AFile objectIdFile, AFile typeIdFile)
static PersistenceIdStrategy
NewInDirectory(ADirectory directory)
PersistenceObjectIdStrategy
objectIdStragegy()
default String
strategyTypeNameObjectId()
PersistenceTypeIdStrategy
typeIdStragegy()
Methods inherited from interface one.microstream.persistence.types.PersistenceTypeIdStrategy
strategyTypeNameTypeId
-
Method Details
-
objectIdStragegy
PersistenceObjectIdStrategy objectIdStragegy() -
typeIdStragegy
PersistenceTypeIdStrategy typeIdStragegy() -
strategyTypeNameObjectId
- Specified by:
strategyTypeNameObjectId
in interfacePersistenceObjectIdStrategy
-
createObjectIdProvider
- Specified by:
createObjectIdProvider
in interfacePersistenceObjectIdStrategy
-
createTypeIdProvider
- Specified by:
createTypeIdProvider
in interfacePersistenceTypeIdStrategy
-
NewInDirectory
-
NewFromFiles
static PersistenceIdStrategy NewFromFiles(ADirectory directory, String objectIdFilename, String typeIdFilename) -
NewFromFiles
-
New
static PersistenceIdStrategy New(PersistenceObjectIdStrategy objectIdStrategy, PersistenceTypeIdStrategy typeIdStrategy)
-