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(Path directory, String objectIdFilename, String typeIdFilename)
static PersistenceIdStrategy
NewFromFiles(Path objectIdFile, Path typeIdFile)
static PersistenceIdStrategy
NewInDirectory(Path 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(Path directory)
-
NewFromFiles
static PersistenceIdStrategy NewFromFiles(Path directory, String objectIdFilename, String typeIdFilename)
-
NewFromFiles
static PersistenceIdStrategy NewFromFiles(Path objectIdFile, Path typeIdFile)
-
New
static PersistenceIdStrategy New(PersistenceObjectIdStrategy objectIdStrategy, PersistenceTypeIdStrategy typeIdStrategy)
-
-