Class PersistenceTypeDictionary.Default
- java.lang.Object
-
- one.microstream.persistence.types.PersistenceTypeDictionary.Default
-
- All Implemented Interfaces:
PersistenceTypeDictionary
- Enclosing interface:
- PersistenceTypeDictionary
public static final class PersistenceTypeDictionary.Default extends Object implements PersistenceTypeDictionary
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface one.microstream.persistence.types.PersistenceTypeDictionary
PersistenceTypeDictionary.Default, PersistenceTypeDictionary.Symbols
-
-
Constructor Summary
Constructors Constructor Description Default()
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface one.microstream.persistence.types.PersistenceTypeDictionary
iterateAllTypeDefinitions, iterateLatestTypes, iterateRuntimeDefinitions, iterateTypeLineages, iterateTypeLineageViews, resolveTypeIds
-
-
-
-
Method Detail
-
typeLineages
public final XGettingTable<String,PersistenceTypeLineage> typeLineages()
- Specified by:
typeLineages
in interfacePersistenceTypeDictionary
-
lookupTypeLineage
public PersistenceTypeLineage lookupTypeLineage(Class<?> type)
- Specified by:
lookupTypeLineage
in interfacePersistenceTypeDictionary
-
lookupTypeLineage
public PersistenceTypeLineage lookupTypeLineage(String typeName)
- Specified by:
lookupTypeLineage
in interfacePersistenceTypeDictionary
-
ensureTypeLineage
public PersistenceTypeLineage ensureTypeLineage(Class<?> type)
- Specified by:
ensureTypeLineage
in interfacePersistenceTypeDictionary
-
ensureTypeLineage
public PersistenceTypeLineage ensureTypeLineage(PersistenceTypeDefinition typeDefinition)
-
setTypeDescriptionRegistrationObserver
public final PersistenceTypeDictionary setTypeDescriptionRegistrationObserver(PersistenceTypeDefinitionRegistrationObserver registrationObserver)
- Specified by:
setTypeDescriptionRegistrationObserver
in interfacePersistenceTypeDictionary
-
getTypeDescriptionRegistrationObserver
public final PersistenceTypeDefinitionRegistrationObserver getTypeDescriptionRegistrationObserver()
- Specified by:
getTypeDescriptionRegistrationObserver
in interfacePersistenceTypeDictionary
-
allTypeDefinitions
public final XGettingTable<Long,PersistenceTypeDefinition> allTypeDefinitions()
- Specified by:
allTypeDefinitions
in interfacePersistenceTypeDictionary
-
isEmpty
public final boolean isEmpty()
- Specified by:
isEmpty
in interfacePersistenceTypeDictionary
-
registerTypeDefinition
public final boolean registerTypeDefinition(PersistenceTypeDefinition typeDefinition)
- Specified by:
registerTypeDefinition
in interfacePersistenceTypeDictionary
-
registerTypeDefinitions
public final boolean registerTypeDefinitions(Iterable<? extends PersistenceTypeDefinition> typeDefinitions)
- Specified by:
registerTypeDefinitions
in interfacePersistenceTypeDictionary
-
registerRuntimeTypeDefinition
public final boolean registerRuntimeTypeDefinition(PersistenceTypeDefinition typeDefinition)
- Specified by:
registerRuntimeTypeDefinition
in interfacePersistenceTypeDictionary
-
registerRuntimeTypeDefinitions
public final boolean registerRuntimeTypeDefinitions(Iterable<? extends PersistenceTypeDefinition> typeDefinitions)
- Specified by:
registerRuntimeTypeDefinitions
in interfacePersistenceTypeDictionary
-
lookupTypeByName
public final PersistenceTypeDefinition lookupTypeByName(String typeName)
- Specified by:
lookupTypeByName
in interfacePersistenceTypeDictionary
-
lookupTypeById
public final PersistenceTypeDefinition lookupTypeById(long typeId)
- Specified by:
lookupTypeById
in interfacePersistenceTypeDictionary
-
determineHighestTypeId
public final long determineHighestTypeId()
- Specified by:
determineHighestTypeId
in interfacePersistenceTypeDictionary
-
view
public PersistenceTypeDictionaryView view()
- Specified by:
view
in interfacePersistenceTypeDictionary
-
-