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(File objectIdFile, File typeIdFile)
static PersistenceIdStrategy
NewFromFiles(File directory, String objectIdFilename, String typeIdFilename)
static PersistenceIdStrategy
NewInDirectory(File directory)
PersistenceObjectIdStrategy
objectIdStragegy()
default String
strategyTypeNameObjectId()
PersistenceTypeIdStrategy
typeIdStragegy()
-
Methods inherited from interface one.microstream.persistence.types.PersistenceTypeIdStrategy
strategyTypeNameTypeId
-
-
-
-
Method Detail
-
objectIdStragegy
PersistenceObjectIdStrategy objectIdStragegy()
-
typeIdStragegy
PersistenceTypeIdStrategy typeIdStragegy()
-
strategyTypeNameObjectId
default String strategyTypeNameObjectId()
- Specified by:
strategyTypeNameObjectId
in interfacePersistenceObjectIdStrategy
-
createObjectIdProvider
default PersistenceObjectIdProvider createObjectIdProvider()
- Specified by:
createObjectIdProvider
in interfacePersistenceObjectIdStrategy
-
createTypeIdProvider
default PersistenceTypeIdProvider createTypeIdProvider()
- Specified by:
createTypeIdProvider
in interfacePersistenceTypeIdStrategy
-
NewInDirectory
static PersistenceIdStrategy NewInDirectory(File directory)
-
NewFromFiles
static PersistenceIdStrategy NewFromFiles(File directory, String objectIdFilename, String typeIdFilename)
-
NewFromFiles
static PersistenceIdStrategy NewFromFiles(File objectIdFile, File typeIdFile)
-
New
static PersistenceIdStrategy New(PersistenceObjectIdStrategy objectIdStrategy, PersistenceTypeIdStrategy typeIdStrategy)
-
-